diff --git a/generators/rust/dynamic-snippets/src/EndpointSnippetGenerator.ts b/generators/rust/dynamic-snippets/src/EndpointSnippetGenerator.ts index eb530cc8ef64..8b386899e2e5 100644 --- a/generators/rust/dynamic-snippets/src/EndpointSnippetGenerator.ts +++ b/generators/rust/dynamic-snippets/src/EndpointSnippetGenerator.ts @@ -51,7 +51,7 @@ export class EndpointSnippetGenerator { snippet: FernIr.dynamic.EndpointSnippetRequest; }): string[] { // Get use statements - const useStatements = this.getUseStatements({ endpoint, snippet }); + const useStatements = this.getUseStatements(); // Create the main function body const mainBody = rust.CodeBlock.fromStatements([ @@ -99,52 +99,9 @@ export class EndpointSnippetGenerator { return components; } - private getUseStatements({ - endpoint, - snippet - }: { - endpoint: FernIr.dynamic.Endpoint; - snippet: FernIr.dynamic.EndpointSnippetRequest; - }): rust.UseStatement[] { - const stdImports = new Set(); - const chronoImports = new Set(); - const uuidImports = new Set(); - - // Collect types used in snippet values that require std/chrono/uuid imports - this.collectSnippetTypeImports(snippet, new Set(), stdImports, chronoImports, uuidImports); - + private getUseStatements(): rust.UseStatement[] { const useStatements: rust.UseStatement[] = []; - // Add standard library imports if needed - if (stdImports.size > 0) { - useStatements.push( - new rust.UseStatement({ - path: "std::collections", - items: Array.from(stdImports) - }) - ); - } - - // Add chrono imports if needed - if (chronoImports.size > 0) { - useStatements.push( - new rust.UseStatement({ - path: "chrono", - items: Array.from(chronoImports) - }) - ); - } - - // Add UUID imports if needed - if (uuidImports.size > 0) { - useStatements.push( - new rust.UseStatement({ - path: "uuid", - items: Array.from(uuidImports) - }) - ); - } - // Use prelude import for all crate types useStatements.push( new rust.UseStatement({ @@ -156,34 +113,6 @@ export class EndpointSnippetGenerator { return useStatements; } - // New method to collect types from snippet values - private collectSnippetTypeImports( - snippet: FernIr.dynamic.EndpointSnippetRequest, - imports: Set, - stdImports: Set, - chronoImports: Set, - uuidImports: Set - ): void { - // Collect types from request body if present - if (snippet.requestBody != null) { - this.collectTypesFromValue(snippet.requestBody, imports, stdImports, chronoImports, uuidImports); - } - - // Collect types from query parameters - if (snippet.queryParameters != null) { - Object.values(snippet.queryParameters).forEach((value) => { - this.collectTypesFromValue(value, imports, stdImports, chronoImports, uuidImports); - }); - } - - // Collect types from headers - if (snippet.headers != null) { - Object.values(snippet.headers).forEach((value) => { - this.collectTypesFromValue(value, imports, stdImports, chronoImports, uuidImports); - }); - } - } - // Helper to collect type imports from a value by analyzing its structure private collectTypesFromValue( value: unknown, diff --git a/generators/rust/model/src/alias/AliasGenerator.ts b/generators/rust/model/src/alias/AliasGenerator.ts index 90b0b134bb20..0c53f5291468 100644 --- a/generators/rust/model/src/alias/AliasGenerator.ts +++ b/generators/rust/model/src/alias/AliasGenerator.ts @@ -1,10 +1,10 @@ import { RelativeFilePath } from "@fern-api/fs-utils"; import { RustFile } from "@fern-api/rust-base"; import { Attribute, PUBLIC, rust } from "@fern-api/rust-codegen"; -import { AliasTypeDeclaration, TypeDeclaration, TypeReference } from "@fern-fern/ir-sdk/api"; +import { AliasTypeDeclaration, TypeDeclaration } from "@fern-fern/ir-sdk/api"; import { generateRustTypeForTypeReference } from "../converters"; import { ModelGeneratorContext } from "../ModelGeneratorContext"; -import { isChronoType, isCollectionType, isUuidType, typeSupportsHashAndEq } from "../utils/primitiveTypeUtils"; +import { typeSupportsHashAndEq } from "../utils/primitiveTypeUtils"; export class AliasGenerator { private readonly typeDeclaration: TypeDeclaration; @@ -52,45 +52,6 @@ export class AliasGenerator { return writer.toString(); } - private writeUseStatements(writer: rust.Writer): void { - writer.writeLine("use serde::{Deserialize, Serialize};"); - - // Add additional use statements based on the inner type - this.writeAdditionalUseStatements(writer); - } - - private writeAdditionalUseStatements(writer: rust.Writer): void { - const innerType = this.aliasTypeDeclaration.aliasOf; - - // Add imports for custom named types FIRST - const customTypes = this.getCustomTypesUsedInAlias(); - customTypes.forEach((typeName) => { - const modulePath = this.context.getModulePathForType(typeName.snakeCase.unsafeName); - const moduleNameEscaped = this.context.escapeRustKeyword(modulePath); - writer.writeLine(`use crate::${moduleNameEscaped}::${typeName.pascalCase.unsafeName};`); - }); - - // Add chrono if aliasing a datetime - if (isChronoType(innerType)) { - writer.writeLine("use chrono::{DateTime, Utc};"); - } - - // Add uuid if aliasing a UUID - if (isUuidType(innerType)) { - writer.writeLine("use uuid::Uuid;"); - } - - // Add collections if aliasing a map or set - if (isCollectionType(innerType)) { - writer.writeLine("use std::collections::HashMap;"); - } - - // TODO: @iamnamananand996 build to use serde_json::Value ---> Value directly - // if (hasJsonValueFields(properties)) { - // writer.writeLine("use serde_json::Value;"); - // } - } - private generateNewtypeForTypeDeclaration(): rust.NewtypeStruct { return rust.newtypeStruct({ name: this.context.getUniqueTypeNameForDeclaration(this.typeDeclaration), @@ -124,50 +85,4 @@ export class AliasGenerator { // Check if the aliased type can support Hash and Eq derives return typeSupportsHashAndEq(this.aliasTypeDeclaration.aliasOf, this.context); } - - private getCustomTypesUsedInAlias(): { - snakeCase: { unsafeName: string }; - pascalCase: { unsafeName: string }; - }[] { - const customTypeNames: { - snakeCase: { unsafeName: string }; - pascalCase: { unsafeName: string }; - }[] = []; - const visited = new Set(); - - const extractNamedTypesRecursively = (typeRef: TypeReference) => { - if (typeRef.type === "named") { - const typeName = typeRef.name.originalName; - if (!visited.has(typeName)) { - visited.add(typeName); - customTypeNames.push({ - snakeCase: { unsafeName: typeRef.name.snakeCase.unsafeName }, - pascalCase: { unsafeName: typeRef.name.pascalCase.unsafeName } - }); - } - } else if (typeRef.type === "container") { - typeRef.container._visit({ - list: (listType: TypeReference) => extractNamedTypesRecursively(listType), - set: (setType: TypeReference) => extractNamedTypesRecursively(setType), - optional: (optionalType: TypeReference) => extractNamedTypesRecursively(optionalType), - nullable: (nullableType: TypeReference) => extractNamedTypesRecursively(nullableType), - map: (mapType) => { - extractNamedTypesRecursively(mapType.keyType); - extractNamedTypesRecursively(mapType.valueType); - }, - literal: () => { - // No named types in literals - }, - _other: () => { - // Unknown container type - } - }); - } - }; - - // Analyze the aliased type - extractNamedTypesRecursively(this.aliasTypeDeclaration.aliasOf); - - return customTypeNames; - } } diff --git a/generators/rust/model/src/enum/EnumGenerator.ts b/generators/rust/model/src/enum/EnumGenerator.ts index e72d8d10ad4b..a9f814411723 100644 --- a/generators/rust/model/src/enum/EnumGenerator.ts +++ b/generators/rust/model/src/enum/EnumGenerator.ts @@ -54,11 +54,6 @@ export class EnumGenerator { return writer.toString(); } - private writeUseStatements(writer: rust.Writer): void { - writer.writeLine("use serde::{Deserialize, Serialize};"); - writer.writeLine("use std::fmt;"); - } - private generateEnumForTypeDeclaration(): rust.Enum { return rust.enum_({ name: this.context.getUniqueTypeNameForDeclaration(this.typeDeclaration), diff --git a/generators/rust/model/src/object/StructGenerator.ts b/generators/rust/model/src/object/StructGenerator.ts index e18a7b5cb4d5..4cb7f673d6b2 100644 --- a/generators/rust/model/src/object/StructGenerator.ts +++ b/generators/rust/model/src/object/StructGenerator.ts @@ -1,9 +1,7 @@ import { RelativeFilePath } from "@fern-api/fs-utils"; import { RustFile } from "@fern-api/rust-base"; import { Attribute, PUBLIC, rust } from "@fern-api/rust-codegen"; - import { ObjectProperty, ObjectTypeDeclaration, TypeDeclaration } from "@fern-fern/ir-sdk/api"; - import { ModelGeneratorContext } from "../ModelGeneratorContext"; import { namedTypeSupportsHashAndEq, namedTypeSupportsPartialEq } from "../utils/primitiveTypeUtils"; import { isFieldRecursive } from "../utils/recursiveTypeUtils"; @@ -11,15 +9,7 @@ import { canDeriveHashAndEq, canDerivePartialEq, generateFieldAttributes, - generateFieldType, - getCustomTypesUsedInFields, - hasBigIntFields, - hasDateFields, - hasDateTimeOnlyFields, - hasFloatingPointSets, - hasHashMapFields, - hasHashSetFields, - hasUuidFields + generateFieldType } from "../utils/structUtils"; export class StructGenerator { @@ -68,81 +58,6 @@ export class StructGenerator { return writer.toString(); } - private writeUseStatements(writer: rust.Writer): void { - // Add imports for custom named types referenced in fields FIRST - const customTypes = getCustomTypesUsedInFields( - this.objectTypeDeclaration.properties, - this.typeDeclaration.name.name.pascalCase.unsafeName - ); - customTypes.forEach((typeName) => { - const modulePath = this.context.getModulePathForType(typeName.snakeCase.unsafeName); - const moduleNameEscaped = this.context.escapeRustKeyword(modulePath); - writer.writeLine(`use crate::${moduleNameEscaped}::${typeName.pascalCase.unsafeName};`); - }); - - // Add imports for parent types - if (this.objectTypeDeclaration.extends.length > 0) { - this.objectTypeDeclaration.extends.forEach((parentType) => { - // Use getUniqueTypeNameForReference to get the correct type name with fernFilepath prefix - const parentTypeName = this.context.getUniqueTypeNameForReference(parentType); - const modulePath = this.context.getModulePathForType(parentType.name.snakeCase.unsafeName); - const moduleNameEscaped = this.context.escapeRustKeyword(modulePath); - writer.writeLine(`use crate::${moduleNameEscaped}::${parentTypeName};`); - }); - } - - // Add chrono imports based on specific types needed - const hasDateOnly = hasDateFields(this.objectTypeDeclaration.properties); - const hasDateTimeOnly = hasDateTimeOnlyFields(this.objectTypeDeclaration.properties); - - // TODO: @iamnamananand996 - use AST mechanism for all imports - if (hasDateOnly && hasDateTimeOnly) { - // Both date and datetime types present - writer.writeLine("use chrono::{DateTime, NaiveDate, Utc};"); - } else if (hasDateOnly) { - // Only date type present, import NaiveDate only - writer.writeLine("use chrono::NaiveDate;"); - } else if (hasDateTimeOnly) { - // Only datetime type present, import DateTime and Utc only - writer.writeLine("use chrono::{DateTime, Utc};"); - } - - // Add std::collections imports based on specific collection types used - const needsHashMap = hasHashMapFields(this.objectTypeDeclaration.properties); - const needsHashSet = hasHashSetFields(this.objectTypeDeclaration.properties); - - if (needsHashMap && needsHashSet) { - writer.writeLine("use std::collections::{HashMap, HashSet};"); - } else if (needsHashMap) { - writer.writeLine("use std::collections::HashMap;"); - } else if (needsHashSet) { - writer.writeLine("use std::collections::HashSet;"); - } - - // Add ordered_float if we have floating-point sets - if (hasFloatingPointSets(this.objectTypeDeclaration.properties)) { - writer.writeLine("use ordered_float::OrderedFloat;"); - } - - // Add uuid if we have UUID fields - if (hasUuidFields(this.objectTypeDeclaration.properties)) { - writer.writeLine("use uuid::Uuid;"); - } - - // Add num_bigint if we have BigInt fields - if (hasBigIntFields(this.objectTypeDeclaration.properties)) { - writer.writeLine("use num_bigint::BigInt;"); - } - - // TODO: @iamnamananand996 build to use serde_json::Value ---> Value directly - // if (hasJsonValueFields(properties)) { - // writer.writeLine("use serde_json::Value;"); - // } - - // Add serde imports LAST - writer.writeLine("use serde::{Deserialize, Serialize};"); - } - private generateStructForTypeDeclaration(): rust.Struct { const fields: rust.Field[] = []; diff --git a/generators/rust/model/src/union/UndiscriminatedUnionGenerator.ts b/generators/rust/model/src/union/UndiscriminatedUnionGenerator.ts index c38de8585299..c5e7f86ddb3d 100644 --- a/generators/rust/model/src/union/UndiscriminatedUnionGenerator.ts +++ b/generators/rust/model/src/union/UndiscriminatedUnionGenerator.ts @@ -1,27 +1,14 @@ import { RelativeFilePath } from "@fern-api/fs-utils"; import { RustFile } from "@fern-api/rust-base"; import { Attribute, rust } from "@fern-api/rust-codegen"; - import { TypeDeclaration, - TypeReference, UndiscriminatedUnionMember, UndiscriminatedUnionTypeDeclaration } from "@fern-fern/ir-sdk/api"; - import { generateRustTypeForTypeReference } from "../converters/getRustTypeForTypeReference"; import { ModelGeneratorContext } from "../ModelGeneratorContext"; -import { - extractNamedTypesFromTypeReference, - isCollectionType, - isDateTimeOnlyType, - isDateTimeType, - isDateType, - isUnknownType, - isUuidType, - typeSupportsHashAndEq, - typeSupportsPartialEq -} from "../utils/primitiveTypeUtils"; +import { typeSupportsHashAndEq, typeSupportsPartialEq } from "../utils/primitiveTypeUtils"; export class UndiscriminatedUnionGenerator { private readonly typeDeclaration: TypeDeclaration; @@ -57,59 +44,6 @@ export class UndiscriminatedUnionGenerator { }); } - private writeUseStatements(writer: rust.Writer): void { - // Add imports for variant types FIRST - const variantTypes = this.getVariantTypesUsedInUnion(); - variantTypes.forEach((typeName) => { - const modulePath = this.context.getModulePathForType(typeName.snakeCase.unsafeName); - const moduleNameEscaped = this.context.escapeRustKeyword(modulePath); - writer.writeLine(`use crate::${moduleNameEscaped}::${typeName.pascalCase.unsafeName};`); - }); - - // Add chrono imports based on specific types needed - const hasDateOnly = this.hasDateFields(); - const hasDateTimeOnly = this.hasDateTimeOnlyFields(); - - // TODO: @iamnamananand996 - use AST mechanism for all imports - if (hasDateOnly && hasDateTimeOnly) { - // Both date and datetime types present - writer.writeLine("use chrono::{DateTime, NaiveDate, Utc};"); - } else if (hasDateOnly) { - // Only date type present, import NaiveDate only - writer.writeLine("use chrono::NaiveDate;"); - } else if (hasDateTimeOnly) { - // Only datetime type present, import DateTime and Utc only - writer.writeLine("use chrono::{DateTime, Utc};"); - } - - // Add std::collections if we have maps or sets - if (this.hasCollectionFields()) { - const hasMaps = this.hasMapFields(); - const hasSets = this.hasSetFields(); - - if (hasMaps && hasSets) { - writer.writeLine("use std::collections::{HashMap, HashSet};"); - } else if (hasMaps) { - writer.writeLine("use std::collections::HashMap;"); - } else if (hasSets) { - writer.writeLine("use std::collections::HashSet;"); - } - } - - // Add uuid if we have UUID fields - if (this.hasUuidFields()) { - writer.writeLine("use uuid::Uuid;"); - } - - // TODO: @iamnamananand996 build to use serde_json::Value ---> Value directly - // if (hasJsonValueFields(properties)) { - // writer.writeLine("use serde_json::Value;"); - // } - - // Add serde imports LAST - writer.writeLine("use serde::{Deserialize, Serialize};"); - } - private generateUndiscriminatedUnionEnum(writer: rust.Writer): void { const typeName = this.context.getUniqueTypeNameForDeclaration(this.typeDeclaration); @@ -298,72 +232,6 @@ export class UndiscriminatedUnionGenerator { }); } - // Helper methods to detect field types for imports - private hasDateTimeFields(): boolean { - return this.hasFieldsOfType(isDateTimeType); - } - - private hasDateFields(): boolean { - return this.hasFieldsOfType(isDateType); - } - - private hasDateTimeOnlyFields(): boolean { - return this.hasFieldsOfType(isDateTimeOnlyType); - } - - private hasUuidFields(): boolean { - return this.hasFieldsOfType(isUuidType); - } - - private hasCollectionFields(): boolean { - return this.hasFieldsOfType(isCollectionType); - } - - private hasMapFields(): boolean { - return this.hasFieldsOfType((typeRef: TypeReference) => { - if (typeRef.type === "container") { - return typeRef.container.type === "map"; - } - return false; - }); - } - - private hasSetFields(): boolean { - return this.hasFieldsOfType((typeRef: TypeReference) => { - if (typeRef.type === "container") { - return typeRef.container.type === "set"; - } - return false; - }); - } - - private hasJsonValueFields(): boolean { - return this.hasFieldsOfType(isUnknownType); - } - - private hasFieldsOfType(predicate: (typeRef: TypeReference) => boolean): boolean { - return this.undiscriminatedUnionTypeDeclaration.members.some((member) => predicate(member.type)); - } - - private getVariantTypesUsedInUnion(): { - snakeCase: { unsafeName: string }; - pascalCase: { unsafeName: string }; - }[] { - const variantTypeNames: { - snakeCase: { unsafeName: string }; - pascalCase: { unsafeName: string }; - }[] = []; - const visited = new Set(); - - this.undiscriminatedUnionTypeDeclaration.members.forEach((member) => { - extractNamedTypesFromTypeReference(member.type, variantTypeNames, visited); - }); - - // Filter out the current type itself to prevent self-imports - const currentTypeName = this.context.getUniqueTypeNameForDeclaration(this.typeDeclaration); - return variantTypeNames.filter((typeName) => typeName.pascalCase.unsafeName !== currentTypeName); - } - private canDerivePartialEq(): boolean { // Check if all variant types can support PartialEq derive return this.undiscriminatedUnionTypeDeclaration.members.every((member) => { diff --git a/generators/rust/sdk/versions.yml b/generators/rust/sdk/versions.yml index d9e8b01f07a2..ade2e0c58ffb 100644 --- a/generators/rust/sdk/versions.yml +++ b/generators/rust/sdk/versions.yml @@ -1,5 +1,12 @@ # yaml-language-server: $schema=../../../fern-versions-yml.schema.json +- version: 0.8.2 + createdAt: "2025-10-21" + changelogEntry: + - type: chore + summary: resolve client name collisions in recursive subpackages and clean up unused imports + irVersion: 61 + - version: 0.8.1 createdAt: "2025-10-20" changelogEntry: diff --git a/seed/rust-sdk/alias-extends/README.md b/seed/rust-sdk/alias-extends/README.md index be7c3b4f9784..18446e81d598 100644 --- a/seed/rust-sdk/alias-extends/README.md +++ b/seed/rust-sdk/alias-extends/README.md @@ -30,7 +30,6 @@ Instantiate and use the client with the following: ```rust use seed_alias_extends::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/alias-extends/dynamic-snippets/example0.rs b/seed/rust-sdk/alias-extends/dynamic-snippets/example0.rs index 11fc39b152db..1cb154a903a0 100644 --- a/seed/rust-sdk/alias-extends/dynamic-snippets/example0.rs +++ b/seed/rust-sdk/alias-extends/dynamic-snippets/example0.rs @@ -1,5 +1,4 @@ use seed_alias_extends::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/alias-extends/reference.md b/seed/rust-sdk/alias-extends/reference.md index acae338f70a0..c401cab0e1ef 100644 --- a/seed/rust-sdk/alias-extends/reference.md +++ b/seed/rust-sdk/alias-extends/reference.md @@ -13,7 +13,6 @@ ```rust use seed_alias_extends::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/any-auth/README.md b/seed/rust-sdk/any-auth/README.md index ef87b88bae88..464953c1aab4 100644 --- a/seed/rust-sdk/any-auth/README.md +++ b/seed/rust-sdk/any-auth/README.md @@ -30,7 +30,6 @@ Instantiate and use the client with the following: ```rust use seed_any_auth::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/any-auth/dynamic-snippets/example0.rs b/seed/rust-sdk/any-auth/dynamic-snippets/example0.rs index 8c5acbfe88b7..682fee0eb8fd 100644 --- a/seed/rust-sdk/any-auth/dynamic-snippets/example0.rs +++ b/seed/rust-sdk/any-auth/dynamic-snippets/example0.rs @@ -1,5 +1,4 @@ use seed_any_auth::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/any-auth/reference.md b/seed/rust-sdk/any-auth/reference.md index f6b971669444..b4d2f3d0b02e 100644 --- a/seed/rust-sdk/any-auth/reference.md +++ b/seed/rust-sdk/any-auth/reference.md @@ -14,7 +14,6 @@ ```rust use seed_any_auth::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/audiences/README.md b/seed/rust-sdk/audiences/README.md index fc526f17379b..13f5c4400f2b 100644 --- a/seed/rust-sdk/audiences/README.md +++ b/seed/rust-sdk/audiences/README.md @@ -30,7 +30,6 @@ Instantiate and use the client with the following: ```rust use seed_audiences::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/audiences/dynamic-snippets/example2.rs b/seed/rust-sdk/audiences/dynamic-snippets/example2.rs index fc586428472d..c5e78179ad2b 100644 --- a/seed/rust-sdk/audiences/dynamic-snippets/example2.rs +++ b/seed/rust-sdk/audiences/dynamic-snippets/example2.rs @@ -1,5 +1,4 @@ use seed_audiences::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/audiences/reference.md b/seed/rust-sdk/audiences/reference.md index 1d425fe04a86..984d70c5a502 100644 --- a/seed/rust-sdk/audiences/reference.md +++ b/seed/rust-sdk/audiences/reference.md @@ -84,7 +84,6 @@ async fn main() { ```rust use seed_audiences::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/basic-auth-environment-variables/README.md b/seed/rust-sdk/basic-auth-environment-variables/README.md index ca7270092693..5968c07e41fa 100644 --- a/seed/rust-sdk/basic-auth-environment-variables/README.md +++ b/seed/rust-sdk/basic-auth-environment-variables/README.md @@ -30,7 +30,6 @@ Instantiate and use the client with the following: ```rust use seed_basic_auth_environment_variables::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/basic-auth-environment-variables/dynamic-snippets/example2.rs b/seed/rust-sdk/basic-auth-environment-variables/dynamic-snippets/example2.rs index 5221fa4d3d6c..da2fc7a90d1b 100644 --- a/seed/rust-sdk/basic-auth-environment-variables/dynamic-snippets/example2.rs +++ b/seed/rust-sdk/basic-auth-environment-variables/dynamic-snippets/example2.rs @@ -1,5 +1,4 @@ use seed_basic_auth_environment_variables::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/basic-auth-environment-variables/dynamic-snippets/example3.rs b/seed/rust-sdk/basic-auth-environment-variables/dynamic-snippets/example3.rs index 5221fa4d3d6c..da2fc7a90d1b 100644 --- a/seed/rust-sdk/basic-auth-environment-variables/dynamic-snippets/example3.rs +++ b/seed/rust-sdk/basic-auth-environment-variables/dynamic-snippets/example3.rs @@ -1,5 +1,4 @@ use seed_basic_auth_environment_variables::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/basic-auth-environment-variables/dynamic-snippets/example4.rs b/seed/rust-sdk/basic-auth-environment-variables/dynamic-snippets/example4.rs index 5221fa4d3d6c..da2fc7a90d1b 100644 --- a/seed/rust-sdk/basic-auth-environment-variables/dynamic-snippets/example4.rs +++ b/seed/rust-sdk/basic-auth-environment-variables/dynamic-snippets/example4.rs @@ -1,5 +1,4 @@ use seed_basic_auth_environment_variables::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/basic-auth-environment-variables/reference.md b/seed/rust-sdk/basic-auth-environment-variables/reference.md index 9a42784d4d86..33b8ffdcb32e 100644 --- a/seed/rust-sdk/basic-auth-environment-variables/reference.md +++ b/seed/rust-sdk/basic-auth-environment-variables/reference.md @@ -78,7 +78,6 @@ POST request with basic auth scheme ```rust use seed_basic_auth_environment_variables::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/basic-auth/README.md b/seed/rust-sdk/basic-auth/README.md index a1e8357bdd98..614c4f7d1e77 100644 --- a/seed/rust-sdk/basic-auth/README.md +++ b/seed/rust-sdk/basic-auth/README.md @@ -30,7 +30,6 @@ Instantiate and use the client with the following: ```rust use seed_basic_auth::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/basic-auth/dynamic-snippets/example3.rs b/seed/rust-sdk/basic-auth/dynamic-snippets/example3.rs index facc7d699de0..c3f447d80aa9 100644 --- a/seed/rust-sdk/basic-auth/dynamic-snippets/example3.rs +++ b/seed/rust-sdk/basic-auth/dynamic-snippets/example3.rs @@ -1,5 +1,4 @@ use seed_basic_auth::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/basic-auth/dynamic-snippets/example4.rs b/seed/rust-sdk/basic-auth/dynamic-snippets/example4.rs index facc7d699de0..c3f447d80aa9 100644 --- a/seed/rust-sdk/basic-auth/dynamic-snippets/example4.rs +++ b/seed/rust-sdk/basic-auth/dynamic-snippets/example4.rs @@ -1,5 +1,4 @@ use seed_basic_auth::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/basic-auth/dynamic-snippets/example5.rs b/seed/rust-sdk/basic-auth/dynamic-snippets/example5.rs index facc7d699de0..c3f447d80aa9 100644 --- a/seed/rust-sdk/basic-auth/dynamic-snippets/example5.rs +++ b/seed/rust-sdk/basic-auth/dynamic-snippets/example5.rs @@ -1,5 +1,4 @@ use seed_basic_auth::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/basic-auth/dynamic-snippets/example6.rs b/seed/rust-sdk/basic-auth/dynamic-snippets/example6.rs index facc7d699de0..c3f447d80aa9 100644 --- a/seed/rust-sdk/basic-auth/dynamic-snippets/example6.rs +++ b/seed/rust-sdk/basic-auth/dynamic-snippets/example6.rs @@ -1,5 +1,4 @@ use seed_basic_auth::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/basic-auth/reference.md b/seed/rust-sdk/basic-auth/reference.md index 94fe3bf10e43..27cbff47ee94 100644 --- a/seed/rust-sdk/basic-auth/reference.md +++ b/seed/rust-sdk/basic-auth/reference.md @@ -78,7 +78,6 @@ POST request with basic auth scheme ```rust use seed_basic_auth::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/client-side-params/README.md b/seed/rust-sdk/client-side-params/README.md index a1d2ddab1095..0b6179f300db 100644 --- a/seed/rust-sdk/client-side-params/README.md +++ b/seed/rust-sdk/client-side-params/README.md @@ -30,7 +30,6 @@ Instantiate and use the client with the following: ```rust use seed_client_side_params::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/client-side-params/dynamic-snippets/example10.rs b/seed/rust-sdk/client-side-params/dynamic-snippets/example10.rs index 9cb8a8e9341f..5673345db5f2 100644 --- a/seed/rust-sdk/client-side-params/dynamic-snippets/example10.rs +++ b/seed/rust-sdk/client-side-params/dynamic-snippets/example10.rs @@ -1,5 +1,4 @@ use seed_client_side_params::prelude::*; -use std::collections::HashSet; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/client-side-params/dynamic-snippets/example2.rs b/seed/rust-sdk/client-side-params/dynamic-snippets/example2.rs index 47109302cdb4..297083b0212b 100644 --- a/seed/rust-sdk/client-side-params/dynamic-snippets/example2.rs +++ b/seed/rust-sdk/client-side-params/dynamic-snippets/example2.rs @@ -1,5 +1,4 @@ use seed_client_side_params::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/client-side-params/dynamic-snippets/example5.rs b/seed/rust-sdk/client-side-params/dynamic-snippets/example5.rs index c88bbd07109e..82f290613182 100644 --- a/seed/rust-sdk/client-side-params/dynamic-snippets/example5.rs +++ b/seed/rust-sdk/client-side-params/dynamic-snippets/example5.rs @@ -1,5 +1,4 @@ use seed_client_side_params::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/client-side-params/dynamic-snippets/example6.rs b/seed/rust-sdk/client-side-params/dynamic-snippets/example6.rs index 5c17f7ef38a9..caf3ef563e7f 100644 --- a/seed/rust-sdk/client-side-params/dynamic-snippets/example6.rs +++ b/seed/rust-sdk/client-side-params/dynamic-snippets/example6.rs @@ -1,5 +1,4 @@ use seed_client_side_params::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/client-side-params/reference.md b/seed/rust-sdk/client-side-params/reference.md index fcb47372d303..dfed48647474 100644 --- a/seed/rust-sdk/client-side-params/reference.md +++ b/seed/rust-sdk/client-side-params/reference.md @@ -244,7 +244,6 @@ Search resources with complex parameters ```rust use seed_client_side_params::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { @@ -572,7 +571,6 @@ Create a new user ```rust use seed_client_side_params::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { @@ -644,7 +642,6 @@ Update a user ```rust use seed_client_side_params::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { @@ -970,7 +967,6 @@ List all clients/applications ```rust use seed_client_side_params::prelude::*; -use std::collections::HashSet; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/content-type/README.md b/seed/rust-sdk/content-type/README.md index 489cdc44cdf8..5086cc46c612 100644 --- a/seed/rust-sdk/content-type/README.md +++ b/seed/rust-sdk/content-type/README.md @@ -30,7 +30,6 @@ Instantiate and use the client with the following: ```rust use seed_content_types::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/content-type/dynamic-snippets/example0.rs b/seed/rust-sdk/content-type/dynamic-snippets/example0.rs index 41ac5ddcdaec..3e0c0932949b 100644 --- a/seed/rust-sdk/content-type/dynamic-snippets/example0.rs +++ b/seed/rust-sdk/content-type/dynamic-snippets/example0.rs @@ -1,5 +1,4 @@ use seed_content_types::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/content-type/dynamic-snippets/example1.rs b/seed/rust-sdk/content-type/dynamic-snippets/example1.rs index 0776f061de91..095587286951 100644 --- a/seed/rust-sdk/content-type/dynamic-snippets/example1.rs +++ b/seed/rust-sdk/content-type/dynamic-snippets/example1.rs @@ -1,5 +1,4 @@ use seed_content_types::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/content-type/dynamic-snippets/example2.rs b/seed/rust-sdk/content-type/dynamic-snippets/example2.rs index 7cce7f6d59ef..085248df5ead 100644 --- a/seed/rust-sdk/content-type/dynamic-snippets/example2.rs +++ b/seed/rust-sdk/content-type/dynamic-snippets/example2.rs @@ -1,5 +1,4 @@ use seed_content_types::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/content-type/dynamic-snippets/example3.rs b/seed/rust-sdk/content-type/dynamic-snippets/example3.rs index 8721a19c3240..c389d111f934 100644 --- a/seed/rust-sdk/content-type/dynamic-snippets/example3.rs +++ b/seed/rust-sdk/content-type/dynamic-snippets/example3.rs @@ -1,5 +1,4 @@ use seed_content_types::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/content-type/dynamic-snippets/example4.rs b/seed/rust-sdk/content-type/dynamic-snippets/example4.rs index ed6487394640..c275654ff721 100644 --- a/seed/rust-sdk/content-type/dynamic-snippets/example4.rs +++ b/seed/rust-sdk/content-type/dynamic-snippets/example4.rs @@ -1,5 +1,4 @@ use seed_content_types::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/content-type/reference.md b/seed/rust-sdk/content-type/reference.md index ba5bb7be15dc..1a1ededab70f 100644 --- a/seed/rust-sdk/content-type/reference.md +++ b/seed/rust-sdk/content-type/reference.md @@ -14,7 +14,6 @@ ```rust use seed_content_types::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { @@ -98,7 +97,6 @@ This endpoint demonstrates the distinction between: ```rust use seed_content_types::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { @@ -267,7 +265,6 @@ This should trigger the NPE issue when optional fields aren't initialized. ```rust use seed_content_types::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { @@ -369,7 +366,6 @@ This endpoint should: ```rust use seed_content_types::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { @@ -477,7 +473,6 @@ Regular PATCH endpoint without merge-patch semantics ```rust use seed_content_types::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/cross-package-type-names/README.md b/seed/rust-sdk/cross-package-type-names/README.md index f6bdff84b4d7..5e046b4bf3ed 100644 --- a/seed/rust-sdk/cross-package-type-names/README.md +++ b/seed/rust-sdk/cross-package-type-names/README.md @@ -30,7 +30,6 @@ Instantiate and use the client with the following: ```rust use seed_cross_package_type_names::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/cross-package-type-names/dynamic-snippets/example2.rs b/seed/rust-sdk/cross-package-type-names/dynamic-snippets/example2.rs index dfae9941225e..78e49e40ba9b 100644 --- a/seed/rust-sdk/cross-package-type-names/dynamic-snippets/example2.rs +++ b/seed/rust-sdk/cross-package-type-names/dynamic-snippets/example2.rs @@ -1,5 +1,4 @@ use seed_cross_package_type_names::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/cross-package-type-names/reference.md b/seed/rust-sdk/cross-package-type-names/reference.md index e6b6ebfa8d2b..535a87b2b982 100644 --- a/seed/rust-sdk/cross-package-type-names/reference.md +++ b/seed/rust-sdk/cross-package-type-names/reference.md @@ -84,7 +84,6 @@ async fn main() { ```rust use seed_cross_package_type_names::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/custom-auth/README.md b/seed/rust-sdk/custom-auth/README.md index 0bdf2470f3da..df2440b68ac4 100644 --- a/seed/rust-sdk/custom-auth/README.md +++ b/seed/rust-sdk/custom-auth/README.md @@ -30,7 +30,6 @@ Instantiate and use the client with the following: ```rust use seed_custom_auth::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/custom-auth/dynamic-snippets/example3.rs b/seed/rust-sdk/custom-auth/dynamic-snippets/example3.rs index 18d41cf700ac..36dcfeff0b73 100644 --- a/seed/rust-sdk/custom-auth/dynamic-snippets/example3.rs +++ b/seed/rust-sdk/custom-auth/dynamic-snippets/example3.rs @@ -1,5 +1,4 @@ use seed_custom_auth::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/custom-auth/dynamic-snippets/example4.rs b/seed/rust-sdk/custom-auth/dynamic-snippets/example4.rs index 18d41cf700ac..36dcfeff0b73 100644 --- a/seed/rust-sdk/custom-auth/dynamic-snippets/example4.rs +++ b/seed/rust-sdk/custom-auth/dynamic-snippets/example4.rs @@ -1,5 +1,4 @@ use seed_custom_auth::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/custom-auth/dynamic-snippets/example5.rs b/seed/rust-sdk/custom-auth/dynamic-snippets/example5.rs index 18d41cf700ac..36dcfeff0b73 100644 --- a/seed/rust-sdk/custom-auth/dynamic-snippets/example5.rs +++ b/seed/rust-sdk/custom-auth/dynamic-snippets/example5.rs @@ -1,5 +1,4 @@ use seed_custom_auth::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/custom-auth/dynamic-snippets/example6.rs b/seed/rust-sdk/custom-auth/dynamic-snippets/example6.rs index 18d41cf700ac..36dcfeff0b73 100644 --- a/seed/rust-sdk/custom-auth/dynamic-snippets/example6.rs +++ b/seed/rust-sdk/custom-auth/dynamic-snippets/example6.rs @@ -1,5 +1,4 @@ use seed_custom_auth::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/custom-auth/reference.md b/seed/rust-sdk/custom-auth/reference.md index 93259dc0990f..c176f368cfc9 100644 --- a/seed/rust-sdk/custom-auth/reference.md +++ b/seed/rust-sdk/custom-auth/reference.md @@ -77,7 +77,6 @@ POST request with custom auth scheme ```rust use seed_custom_auth::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/enum/dynamic-snippets/example1.rs b/seed/rust-sdk/enum/dynamic-snippets/example1.rs index 52ace529c000..d35abcda7a9a 100644 --- a/seed/rust-sdk/enum/dynamic-snippets/example1.rs +++ b/seed/rust-sdk/enum/dynamic-snippets/example1.rs @@ -1,5 +1,4 @@ use seed_enum::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/enum/dynamic-snippets/example2.rs b/seed/rust-sdk/enum/dynamic-snippets/example2.rs index e8848c4fe87e..873ef3850bc4 100644 --- a/seed/rust-sdk/enum/dynamic-snippets/example2.rs +++ b/seed/rust-sdk/enum/dynamic-snippets/example2.rs @@ -1,5 +1,4 @@ use seed_enum::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/enum/reference.md b/seed/rust-sdk/enum/reference.md index 9bfe1bace28d..9a5384f434f5 100644 --- a/seed/rust-sdk/enum/reference.md +++ b/seed/rust-sdk/enum/reference.md @@ -49,7 +49,6 @@ async fn main() { ```rust use seed_enum::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/errors/README.md b/seed/rust-sdk/errors/README.md index 5c8cd1078f0e..0b72d1b81d55 100644 --- a/seed/rust-sdk/errors/README.md +++ b/seed/rust-sdk/errors/README.md @@ -30,7 +30,6 @@ Instantiate and use the client with the following: ```rust use seed_errors::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/errors/dynamic-snippets/example0.rs b/seed/rust-sdk/errors/dynamic-snippets/example0.rs index 44b671c7564a..a8bec7b1eb2d 100644 --- a/seed/rust-sdk/errors/dynamic-snippets/example0.rs +++ b/seed/rust-sdk/errors/dynamic-snippets/example0.rs @@ -1,5 +1,4 @@ use seed_errors::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/errors/dynamic-snippets/example1.rs b/seed/rust-sdk/errors/dynamic-snippets/example1.rs index 44b671c7564a..a8bec7b1eb2d 100644 --- a/seed/rust-sdk/errors/dynamic-snippets/example1.rs +++ b/seed/rust-sdk/errors/dynamic-snippets/example1.rs @@ -1,5 +1,4 @@ use seed_errors::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/errors/dynamic-snippets/example10.rs b/seed/rust-sdk/errors/dynamic-snippets/example10.rs index fb1a5fc0ceef..a64281f4a566 100644 --- a/seed/rust-sdk/errors/dynamic-snippets/example10.rs +++ b/seed/rust-sdk/errors/dynamic-snippets/example10.rs @@ -1,5 +1,4 @@ use seed_errors::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/errors/dynamic-snippets/example11.rs b/seed/rust-sdk/errors/dynamic-snippets/example11.rs index fb1a5fc0ceef..a64281f4a566 100644 --- a/seed/rust-sdk/errors/dynamic-snippets/example11.rs +++ b/seed/rust-sdk/errors/dynamic-snippets/example11.rs @@ -1,5 +1,4 @@ use seed_errors::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/errors/dynamic-snippets/example12.rs b/seed/rust-sdk/errors/dynamic-snippets/example12.rs index fb1a5fc0ceef..a64281f4a566 100644 --- a/seed/rust-sdk/errors/dynamic-snippets/example12.rs +++ b/seed/rust-sdk/errors/dynamic-snippets/example12.rs @@ -1,5 +1,4 @@ use seed_errors::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/errors/dynamic-snippets/example13.rs b/seed/rust-sdk/errors/dynamic-snippets/example13.rs index 9613af0dd2a8..46b9a948eff3 100644 --- a/seed/rust-sdk/errors/dynamic-snippets/example13.rs +++ b/seed/rust-sdk/errors/dynamic-snippets/example13.rs @@ -1,5 +1,4 @@ use seed_errors::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/errors/dynamic-snippets/example14.rs b/seed/rust-sdk/errors/dynamic-snippets/example14.rs index 9613af0dd2a8..46b9a948eff3 100644 --- a/seed/rust-sdk/errors/dynamic-snippets/example14.rs +++ b/seed/rust-sdk/errors/dynamic-snippets/example14.rs @@ -1,5 +1,4 @@ use seed_errors::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/errors/dynamic-snippets/example15.rs b/seed/rust-sdk/errors/dynamic-snippets/example15.rs index 9613af0dd2a8..46b9a948eff3 100644 --- a/seed/rust-sdk/errors/dynamic-snippets/example15.rs +++ b/seed/rust-sdk/errors/dynamic-snippets/example15.rs @@ -1,5 +1,4 @@ use seed_errors::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/errors/dynamic-snippets/example16.rs b/seed/rust-sdk/errors/dynamic-snippets/example16.rs index 9613af0dd2a8..46b9a948eff3 100644 --- a/seed/rust-sdk/errors/dynamic-snippets/example16.rs +++ b/seed/rust-sdk/errors/dynamic-snippets/example16.rs @@ -1,5 +1,4 @@ use seed_errors::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/errors/dynamic-snippets/example17.rs b/seed/rust-sdk/errors/dynamic-snippets/example17.rs index 9613af0dd2a8..46b9a948eff3 100644 --- a/seed/rust-sdk/errors/dynamic-snippets/example17.rs +++ b/seed/rust-sdk/errors/dynamic-snippets/example17.rs @@ -1,5 +1,4 @@ use seed_errors::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/errors/dynamic-snippets/example18.rs b/seed/rust-sdk/errors/dynamic-snippets/example18.rs index 9613af0dd2a8..46b9a948eff3 100644 --- a/seed/rust-sdk/errors/dynamic-snippets/example18.rs +++ b/seed/rust-sdk/errors/dynamic-snippets/example18.rs @@ -1,5 +1,4 @@ use seed_errors::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/errors/dynamic-snippets/example2.rs b/seed/rust-sdk/errors/dynamic-snippets/example2.rs index 44b671c7564a..a8bec7b1eb2d 100644 --- a/seed/rust-sdk/errors/dynamic-snippets/example2.rs +++ b/seed/rust-sdk/errors/dynamic-snippets/example2.rs @@ -1,5 +1,4 @@ use seed_errors::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/errors/dynamic-snippets/example3.rs b/seed/rust-sdk/errors/dynamic-snippets/example3.rs index 44b671c7564a..a8bec7b1eb2d 100644 --- a/seed/rust-sdk/errors/dynamic-snippets/example3.rs +++ b/seed/rust-sdk/errors/dynamic-snippets/example3.rs @@ -1,5 +1,4 @@ use seed_errors::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/errors/dynamic-snippets/example4.rs b/seed/rust-sdk/errors/dynamic-snippets/example4.rs index 582bb56fefef..368bd45fc813 100644 --- a/seed/rust-sdk/errors/dynamic-snippets/example4.rs +++ b/seed/rust-sdk/errors/dynamic-snippets/example4.rs @@ -1,5 +1,4 @@ use seed_errors::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/errors/dynamic-snippets/example5.rs b/seed/rust-sdk/errors/dynamic-snippets/example5.rs index 582bb56fefef..368bd45fc813 100644 --- a/seed/rust-sdk/errors/dynamic-snippets/example5.rs +++ b/seed/rust-sdk/errors/dynamic-snippets/example5.rs @@ -1,5 +1,4 @@ use seed_errors::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/errors/dynamic-snippets/example6.rs b/seed/rust-sdk/errors/dynamic-snippets/example6.rs index 582bb56fefef..368bd45fc813 100644 --- a/seed/rust-sdk/errors/dynamic-snippets/example6.rs +++ b/seed/rust-sdk/errors/dynamic-snippets/example6.rs @@ -1,5 +1,4 @@ use seed_errors::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/errors/dynamic-snippets/example7.rs b/seed/rust-sdk/errors/dynamic-snippets/example7.rs index 582bb56fefef..368bd45fc813 100644 --- a/seed/rust-sdk/errors/dynamic-snippets/example7.rs +++ b/seed/rust-sdk/errors/dynamic-snippets/example7.rs @@ -1,5 +1,4 @@ use seed_errors::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/errors/dynamic-snippets/example8.rs b/seed/rust-sdk/errors/dynamic-snippets/example8.rs index 582bb56fefef..368bd45fc813 100644 --- a/seed/rust-sdk/errors/dynamic-snippets/example8.rs +++ b/seed/rust-sdk/errors/dynamic-snippets/example8.rs @@ -1,5 +1,4 @@ use seed_errors::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/errors/dynamic-snippets/example9.rs b/seed/rust-sdk/errors/dynamic-snippets/example9.rs index 582bb56fefef..368bd45fc813 100644 --- a/seed/rust-sdk/errors/dynamic-snippets/example9.rs +++ b/seed/rust-sdk/errors/dynamic-snippets/example9.rs @@ -1,5 +1,4 @@ use seed_errors::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/errors/reference.md b/seed/rust-sdk/errors/reference.md index 696e02e792fe..be2aec5b489d 100644 --- a/seed/rust-sdk/errors/reference.md +++ b/seed/rust-sdk/errors/reference.md @@ -14,7 +14,6 @@ ```rust use seed_errors::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { @@ -57,7 +56,6 @@ async fn main() { ```rust use seed_errors::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { @@ -100,7 +98,6 @@ async fn main() { ```rust use seed_errors::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/examples/no-custom-config/dynamic-snippets/example15.rs b/seed/rust-sdk/examples/no-custom-config/dynamic-snippets/example15.rs index c4e02e7b8ce2..56b0ec3815c6 100644 --- a/seed/rust-sdk/examples/no-custom-config/dynamic-snippets/example15.rs +++ b/seed/rust-sdk/examples/no-custom-config/dynamic-snippets/example15.rs @@ -1,6 +1,4 @@ -use chrono::NaiveDate; use seed_examples::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/examples/no-custom-config/dynamic-snippets/example16.rs b/seed/rust-sdk/examples/no-custom-config/dynamic-snippets/example16.rs index e74bfeb51bb1..9a5ef07a1a35 100644 --- a/seed/rust-sdk/examples/no-custom-config/dynamic-snippets/example16.rs +++ b/seed/rust-sdk/examples/no-custom-config/dynamic-snippets/example16.rs @@ -1,5 +1,4 @@ use seed_examples::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/examples/no-custom-config/dynamic-snippets/example19.rs b/seed/rust-sdk/examples/no-custom-config/dynamic-snippets/example19.rs index ec02af56fa91..11f370d167a5 100644 --- a/seed/rust-sdk/examples/no-custom-config/dynamic-snippets/example19.rs +++ b/seed/rust-sdk/examples/no-custom-config/dynamic-snippets/example19.rs @@ -1,7 +1,4 @@ -use chrono::{DateTime, NaiveDate, Utc}; use seed_examples::prelude::*; -use std::collections::{HashMap, HashSet}; -use uuid::Uuid; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/examples/no-custom-config/dynamic-snippets/example21.rs b/seed/rust-sdk/examples/no-custom-config/dynamic-snippets/example21.rs index be8a82165126..499696520788 100644 --- a/seed/rust-sdk/examples/no-custom-config/dynamic-snippets/example21.rs +++ b/seed/rust-sdk/examples/no-custom-config/dynamic-snippets/example21.rs @@ -1,5 +1,4 @@ use seed_examples::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/examples/no-custom-config/dynamic-snippets/example22.rs b/seed/rust-sdk/examples/no-custom-config/dynamic-snippets/example22.rs index 86e252efdff8..5b44035f5a97 100644 --- a/seed/rust-sdk/examples/no-custom-config/dynamic-snippets/example22.rs +++ b/seed/rust-sdk/examples/no-custom-config/dynamic-snippets/example22.rs @@ -1,5 +1,4 @@ use seed_examples::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/examples/no-custom-config/reference.md b/seed/rust-sdk/examples/no-custom-config/reference.md index d18041dc60da..ca97fb52b406 100644 --- a/seed/rust-sdk/examples/no-custom-config/reference.md +++ b/seed/rust-sdk/examples/no-custom-config/reference.md @@ -381,9 +381,7 @@ async fn main() {
```rust -use chrono::NaiveDate; use seed_examples::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { @@ -516,10 +514,7 @@ async fn main() {
```rust -use chrono::{DateTime, NaiveDate, Utc}; use seed_examples::prelude::*; -use std::collections::{HashMap, HashSet}; -use uuid::Uuid; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/examples/readme-config/README.md b/seed/rust-sdk/examples/readme-config/README.md index d679b1505644..81cb9dd8bfee 100644 --- a/seed/rust-sdk/examples/readme-config/README.md +++ b/seed/rust-sdk/examples/readme-config/README.md @@ -47,9 +47,7 @@ Generator Invocation Custom Content for seed_examples:0.0.1 Instantiate and use the client with the following: ```rust -use chrono::NaiveDate; use seed_examples::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/examples/readme-config/dynamic-snippets/example15.rs b/seed/rust-sdk/examples/readme-config/dynamic-snippets/example15.rs index c4e02e7b8ce2..56b0ec3815c6 100644 --- a/seed/rust-sdk/examples/readme-config/dynamic-snippets/example15.rs +++ b/seed/rust-sdk/examples/readme-config/dynamic-snippets/example15.rs @@ -1,6 +1,4 @@ -use chrono::NaiveDate; use seed_examples::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/examples/readme-config/dynamic-snippets/example16.rs b/seed/rust-sdk/examples/readme-config/dynamic-snippets/example16.rs index e74bfeb51bb1..9a5ef07a1a35 100644 --- a/seed/rust-sdk/examples/readme-config/dynamic-snippets/example16.rs +++ b/seed/rust-sdk/examples/readme-config/dynamic-snippets/example16.rs @@ -1,5 +1,4 @@ use seed_examples::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/examples/readme-config/dynamic-snippets/example19.rs b/seed/rust-sdk/examples/readme-config/dynamic-snippets/example19.rs index ec02af56fa91..11f370d167a5 100644 --- a/seed/rust-sdk/examples/readme-config/dynamic-snippets/example19.rs +++ b/seed/rust-sdk/examples/readme-config/dynamic-snippets/example19.rs @@ -1,7 +1,4 @@ -use chrono::{DateTime, NaiveDate, Utc}; use seed_examples::prelude::*; -use std::collections::{HashMap, HashSet}; -use uuid::Uuid; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/examples/readme-config/dynamic-snippets/example21.rs b/seed/rust-sdk/examples/readme-config/dynamic-snippets/example21.rs index be8a82165126..499696520788 100644 --- a/seed/rust-sdk/examples/readme-config/dynamic-snippets/example21.rs +++ b/seed/rust-sdk/examples/readme-config/dynamic-snippets/example21.rs @@ -1,5 +1,4 @@ use seed_examples::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/examples/readme-config/dynamic-snippets/example22.rs b/seed/rust-sdk/examples/readme-config/dynamic-snippets/example22.rs index 86e252efdff8..5b44035f5a97 100644 --- a/seed/rust-sdk/examples/readme-config/dynamic-snippets/example22.rs +++ b/seed/rust-sdk/examples/readme-config/dynamic-snippets/example22.rs @@ -1,5 +1,4 @@ use seed_examples::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/examples/readme-config/reference.md b/seed/rust-sdk/examples/readme-config/reference.md index d18041dc60da..ca97fb52b406 100644 --- a/seed/rust-sdk/examples/readme-config/reference.md +++ b/seed/rust-sdk/examples/readme-config/reference.md @@ -381,9 +381,7 @@ async fn main() {
```rust -use chrono::NaiveDate; use seed_examples::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { @@ -516,10 +514,7 @@ async fn main() {
```rust -use chrono::{DateTime, NaiveDate, Utc}; use seed_examples::prelude::*; -use std::collections::{HashMap, HashSet}; -use uuid::Uuid; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/exhaustive/README.md b/seed/rust-sdk/exhaustive/README.md index c07ecc078a7b..bd0831f549af 100644 --- a/seed/rust-sdk/exhaustive/README.md +++ b/seed/rust-sdk/exhaustive/README.md @@ -30,7 +30,6 @@ Instantiate and use the client with the following: ```rust use seed_exhaustive::prelude::*; -use std::collections::HashSet; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/exhaustive/dynamic-snippets/example0.rs b/seed/rust-sdk/exhaustive/dynamic-snippets/example0.rs index 1f37b2d5e8a7..8a3d42d58a50 100644 --- a/seed/rust-sdk/exhaustive/dynamic-snippets/example0.rs +++ b/seed/rust-sdk/exhaustive/dynamic-snippets/example0.rs @@ -1,5 +1,4 @@ use seed_exhaustive::prelude::*; -use std::collections::HashSet; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/exhaustive/dynamic-snippets/example1.rs b/seed/rust-sdk/exhaustive/dynamic-snippets/example1.rs index a383e348e4f0..33105fee3606 100644 --- a/seed/rust-sdk/exhaustive/dynamic-snippets/example1.rs +++ b/seed/rust-sdk/exhaustive/dynamic-snippets/example1.rs @@ -1,5 +1,4 @@ use seed_exhaustive::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/exhaustive/dynamic-snippets/example11.rs b/seed/rust-sdk/exhaustive/dynamic-snippets/example11.rs index b56476318af8..d55857999c19 100644 --- a/seed/rust-sdk/exhaustive/dynamic-snippets/example11.rs +++ b/seed/rust-sdk/exhaustive/dynamic-snippets/example11.rs @@ -1,5 +1,4 @@ use seed_exhaustive::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/exhaustive/dynamic-snippets/example12.rs b/seed/rust-sdk/exhaustive/dynamic-snippets/example12.rs index fdc37d521135..0ce813b59590 100644 --- a/seed/rust-sdk/exhaustive/dynamic-snippets/example12.rs +++ b/seed/rust-sdk/exhaustive/dynamic-snippets/example12.rs @@ -1,5 +1,4 @@ use seed_exhaustive::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/exhaustive/dynamic-snippets/example13.rs b/seed/rust-sdk/exhaustive/dynamic-snippets/example13.rs index 294e3f82cb0d..09ad972abdbb 100644 --- a/seed/rust-sdk/exhaustive/dynamic-snippets/example13.rs +++ b/seed/rust-sdk/exhaustive/dynamic-snippets/example13.rs @@ -1,7 +1,4 @@ -use chrono::{DateTime, NaiveDate, Utc}; use seed_exhaustive::prelude::*; -use std::collections::{HashMap, HashSet}; -use uuid::Uuid; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/exhaustive/dynamic-snippets/example15.rs b/seed/rust-sdk/exhaustive/dynamic-snippets/example15.rs index 9398919b7dce..a89d3d70517d 100644 --- a/seed/rust-sdk/exhaustive/dynamic-snippets/example15.rs +++ b/seed/rust-sdk/exhaustive/dynamic-snippets/example15.rs @@ -1,7 +1,4 @@ -use chrono::{DateTime, NaiveDate, Utc}; use seed_exhaustive::prelude::*; -use std::collections::{HashMap, HashSet}; -use uuid::Uuid; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/exhaustive/dynamic-snippets/example16.rs b/seed/rust-sdk/exhaustive/dynamic-snippets/example16.rs index 4cfc20f56490..c8fb3e3fb57c 100644 --- a/seed/rust-sdk/exhaustive/dynamic-snippets/example16.rs +++ b/seed/rust-sdk/exhaustive/dynamic-snippets/example16.rs @@ -1,5 +1,4 @@ use seed_exhaustive::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/exhaustive/dynamic-snippets/example17.rs b/seed/rust-sdk/exhaustive/dynamic-snippets/example17.rs index fddc7f805e1f..387e98d891e0 100644 --- a/seed/rust-sdk/exhaustive/dynamic-snippets/example17.rs +++ b/seed/rust-sdk/exhaustive/dynamic-snippets/example17.rs @@ -1,5 +1,4 @@ use seed_exhaustive::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/exhaustive/dynamic-snippets/example18.rs b/seed/rust-sdk/exhaustive/dynamic-snippets/example18.rs index ed2942ddc184..6ac128488189 100644 --- a/seed/rust-sdk/exhaustive/dynamic-snippets/example18.rs +++ b/seed/rust-sdk/exhaustive/dynamic-snippets/example18.rs @@ -1,7 +1,4 @@ -use chrono::{DateTime, NaiveDate, Utc}; use seed_exhaustive::prelude::*; -use std::collections::{HashMap, HashSet}; -use uuid::Uuid; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/exhaustive/dynamic-snippets/example19.rs b/seed/rust-sdk/exhaustive/dynamic-snippets/example19.rs index a7ab961f5ed5..e606093ae0f5 100644 --- a/seed/rust-sdk/exhaustive/dynamic-snippets/example19.rs +++ b/seed/rust-sdk/exhaustive/dynamic-snippets/example19.rs @@ -1,7 +1,4 @@ -use chrono::{DateTime, NaiveDate, Utc}; use seed_exhaustive::prelude::*; -use std::collections::{HashMap, HashSet}; -use uuid::Uuid; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/exhaustive/dynamic-snippets/example2.rs b/seed/rust-sdk/exhaustive/dynamic-snippets/example2.rs index dde9f3e299b6..4f9fa5986e24 100644 --- a/seed/rust-sdk/exhaustive/dynamic-snippets/example2.rs +++ b/seed/rust-sdk/exhaustive/dynamic-snippets/example2.rs @@ -1,5 +1,4 @@ use seed_exhaustive::prelude::*; -use std::collections::HashSet; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/exhaustive/dynamic-snippets/example20.rs b/seed/rust-sdk/exhaustive/dynamic-snippets/example20.rs index 42b78fa4b365..65335e417887 100644 --- a/seed/rust-sdk/exhaustive/dynamic-snippets/example20.rs +++ b/seed/rust-sdk/exhaustive/dynamic-snippets/example20.rs @@ -1,7 +1,4 @@ -use chrono::{DateTime, NaiveDate, Utc}; use seed_exhaustive::prelude::*; -use std::collections::{HashMap, HashSet}; -use uuid::Uuid; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/exhaustive/dynamic-snippets/example3.rs b/seed/rust-sdk/exhaustive/dynamic-snippets/example3.rs index 5028a7a1b28b..f134f81e9779 100644 --- a/seed/rust-sdk/exhaustive/dynamic-snippets/example3.rs +++ b/seed/rust-sdk/exhaustive/dynamic-snippets/example3.rs @@ -1,5 +1,4 @@ use seed_exhaustive::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/exhaustive/dynamic-snippets/example34.rs b/seed/rust-sdk/exhaustive/dynamic-snippets/example34.rs index 5e18bceece64..d378db90c429 100644 --- a/seed/rust-sdk/exhaustive/dynamic-snippets/example34.rs +++ b/seed/rust-sdk/exhaustive/dynamic-snippets/example34.rs @@ -1,4 +1,3 @@ -use chrono::{DateTime, Utc}; use seed_exhaustive::prelude::*; #[tokio::main] diff --git a/seed/rust-sdk/exhaustive/dynamic-snippets/example35.rs b/seed/rust-sdk/exhaustive/dynamic-snippets/example35.rs index 5cae28845d69..3940486b4b95 100644 --- a/seed/rust-sdk/exhaustive/dynamic-snippets/example35.rs +++ b/seed/rust-sdk/exhaustive/dynamic-snippets/example35.rs @@ -1,4 +1,3 @@ -use chrono::NaiveDate; use seed_exhaustive::prelude::*; #[tokio::main] diff --git a/seed/rust-sdk/exhaustive/dynamic-snippets/example36.rs b/seed/rust-sdk/exhaustive/dynamic-snippets/example36.rs index 9f58f3b15a66..5973ea7373f2 100644 --- a/seed/rust-sdk/exhaustive/dynamic-snippets/example36.rs +++ b/seed/rust-sdk/exhaustive/dynamic-snippets/example36.rs @@ -1,5 +1,4 @@ use seed_exhaustive::prelude::*; -use uuid::Uuid; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/exhaustive/dynamic-snippets/example39.rs b/seed/rust-sdk/exhaustive/dynamic-snippets/example39.rs index 472d7ba40d9d..02722777858c 100644 --- a/seed/rust-sdk/exhaustive/dynamic-snippets/example39.rs +++ b/seed/rust-sdk/exhaustive/dynamic-snippets/example39.rs @@ -1,5 +1,4 @@ use seed_exhaustive::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/exhaustive/dynamic-snippets/example4.rs b/seed/rust-sdk/exhaustive/dynamic-snippets/example4.rs index de89b9a2462b..9fa4d3dca6ed 100644 --- a/seed/rust-sdk/exhaustive/dynamic-snippets/example4.rs +++ b/seed/rust-sdk/exhaustive/dynamic-snippets/example4.rs @@ -1,5 +1,4 @@ use seed_exhaustive::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/exhaustive/dynamic-snippets/example44.rs b/seed/rust-sdk/exhaustive/dynamic-snippets/example44.rs index 7a58f92c3c21..9d943539d9f0 100644 --- a/seed/rust-sdk/exhaustive/dynamic-snippets/example44.rs +++ b/seed/rust-sdk/exhaustive/dynamic-snippets/example44.rs @@ -1,7 +1,4 @@ -use chrono::{DateTime, NaiveDate, Utc}; use seed_exhaustive::prelude::*; -use std::collections::{HashMap, HashSet}; -use uuid::Uuid; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/exhaustive/dynamic-snippets/example45.rs b/seed/rust-sdk/exhaustive/dynamic-snippets/example45.rs index 7a58f92c3c21..9d943539d9f0 100644 --- a/seed/rust-sdk/exhaustive/dynamic-snippets/example45.rs +++ b/seed/rust-sdk/exhaustive/dynamic-snippets/example45.rs @@ -1,7 +1,4 @@ -use chrono::{DateTime, NaiveDate, Utc}; use seed_exhaustive::prelude::*; -use std::collections::{HashMap, HashSet}; -use uuid::Uuid; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/exhaustive/dynamic-snippets/example46.rs b/seed/rust-sdk/exhaustive/dynamic-snippets/example46.rs index d905e7b6ebd5..7271c3638f1c 100644 --- a/seed/rust-sdk/exhaustive/dynamic-snippets/example46.rs +++ b/seed/rust-sdk/exhaustive/dynamic-snippets/example46.rs @@ -1,5 +1,4 @@ use seed_exhaustive::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/exhaustive/dynamic-snippets/example47.rs b/seed/rust-sdk/exhaustive/dynamic-snippets/example47.rs index d905e7b6ebd5..7271c3638f1c 100644 --- a/seed/rust-sdk/exhaustive/dynamic-snippets/example47.rs +++ b/seed/rust-sdk/exhaustive/dynamic-snippets/example47.rs @@ -1,5 +1,4 @@ use seed_exhaustive::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/exhaustive/dynamic-snippets/example5.rs b/seed/rust-sdk/exhaustive/dynamic-snippets/example5.rs index 3381485c1803..50c40954c443 100644 --- a/seed/rust-sdk/exhaustive/dynamic-snippets/example5.rs +++ b/seed/rust-sdk/exhaustive/dynamic-snippets/example5.rs @@ -1,5 +1,4 @@ use seed_exhaustive::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/exhaustive/dynamic-snippets/example6.rs b/seed/rust-sdk/exhaustive/dynamic-snippets/example6.rs index d85efe7a7c0a..44b1c15d19ce 100644 --- a/seed/rust-sdk/exhaustive/dynamic-snippets/example6.rs +++ b/seed/rust-sdk/exhaustive/dynamic-snippets/example6.rs @@ -1,5 +1,4 @@ use seed_exhaustive::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/exhaustive/dynamic-snippets/example7.rs b/seed/rust-sdk/exhaustive/dynamic-snippets/example7.rs index f842497c278e..9d5a95d2d3f7 100644 --- a/seed/rust-sdk/exhaustive/dynamic-snippets/example7.rs +++ b/seed/rust-sdk/exhaustive/dynamic-snippets/example7.rs @@ -1,7 +1,4 @@ -use chrono::{DateTime, NaiveDate, Utc}; use seed_exhaustive::prelude::*; -use std::collections::{HashMap, HashSet}; -use uuid::Uuid; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/exhaustive/dynamic-snippets/example8.rs b/seed/rust-sdk/exhaustive/dynamic-snippets/example8.rs index df22c7f77ad2..8dcba1fef7ac 100644 --- a/seed/rust-sdk/exhaustive/dynamic-snippets/example8.rs +++ b/seed/rust-sdk/exhaustive/dynamic-snippets/example8.rs @@ -1,7 +1,4 @@ -use chrono::{DateTime, NaiveDate, Utc}; use seed_exhaustive::prelude::*; -use std::collections::{HashMap, HashSet}; -use uuid::Uuid; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/exhaustive/reference.md b/seed/rust-sdk/exhaustive/reference.md index eb88b401429c..523b2c9d0138 100644 --- a/seed/rust-sdk/exhaustive/reference.md +++ b/seed/rust-sdk/exhaustive/reference.md @@ -14,7 +14,6 @@ ```rust use seed_exhaustive::prelude::*; -use std::collections::HashSet; #[tokio::main] async fn main() { @@ -54,7 +53,6 @@ async fn main() { ```rust use seed_exhaustive::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { @@ -104,7 +102,6 @@ async fn main() { ```rust use seed_exhaustive::prelude::*; -use std::collections::HashSet; #[tokio::main] async fn main() { @@ -144,7 +141,6 @@ async fn main() { ```rust use seed_exhaustive::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { @@ -189,7 +185,6 @@ async fn main() { ```rust use seed_exhaustive::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { @@ -232,7 +227,6 @@ async fn main() { ```rust use seed_exhaustive::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { @@ -280,7 +274,6 @@ async fn main() { ```rust use seed_exhaustive::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { @@ -325,10 +318,7 @@ async fn main() {
```rust -use chrono::{DateTime, NaiveDate, Utc}; use seed_exhaustive::prelude::*; -use std::collections::{HashMap, HashSet}; -use uuid::Uuid; #[tokio::main] async fn main() { @@ -388,10 +378,7 @@ async fn main() {
```rust -use chrono::{DateTime, NaiveDate, Utc}; use seed_exhaustive::prelude::*; -use std::collections::{HashMap, HashSet}; -use uuid::Uuid; #[tokio::main] async fn main() { @@ -547,7 +534,6 @@ async fn main() { ```rust use seed_exhaustive::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { @@ -592,7 +578,6 @@ async fn main() { ```rust use seed_exhaustive::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { @@ -652,10 +637,7 @@ async fn main() {
```rust -use chrono::{DateTime, NaiveDate, Utc}; use seed_exhaustive::prelude::*; -use std::collections::{HashMap, HashSet}; -use uuid::Uuid; #[tokio::main] async fn main() { @@ -786,10 +768,7 @@ async fn main() {
```rust -use chrono::{DateTime, NaiveDate, Utc}; use seed_exhaustive::prelude::*; -use std::collections::{HashMap, HashSet}; -use uuid::Uuid; #[tokio::main] async fn main() { @@ -850,7 +829,6 @@ async fn main() { ```rust use seed_exhaustive::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { @@ -895,7 +873,6 @@ async fn main() { ```rust use seed_exhaustive::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { @@ -942,10 +919,7 @@ async fn main() {
```rust -use chrono::{DateTime, NaiveDate, Utc}; use seed_exhaustive::prelude::*; -use std::collections::{HashMap, HashSet}; -use uuid::Uuid; #[tokio::main] async fn main() { @@ -1008,10 +982,7 @@ async fn main() {
```rust -use chrono::{DateTime, NaiveDate, Utc}; use seed_exhaustive::prelude::*; -use std::collections::{HashMap, HashSet}; -use uuid::Uuid; #[tokio::main] async fn main() { @@ -1090,10 +1061,7 @@ async fn main() {
```rust -use chrono::{DateTime, NaiveDate, Utc}; use seed_exhaustive::prelude::*; -use std::collections::{HashMap, HashSet}; -use uuid::Uuid; #[tokio::main] async fn main() { @@ -1981,7 +1949,6 @@ async fn main() {
```rust -use chrono::{DateTime, Utc}; use seed_exhaustive::prelude::*; #[tokio::main] @@ -2026,7 +1993,6 @@ async fn main() {
```rust -use chrono::NaiveDate; use seed_exhaustive::prelude::*; #[tokio::main] @@ -2070,7 +2036,6 @@ async fn main() { ```rust use seed_exhaustive::prelude::*; -use uuid::Uuid; #[tokio::main] async fn main() { @@ -2204,7 +2169,6 @@ async fn main() { ```rust use seed_exhaustive::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { @@ -2407,10 +2371,7 @@ POST with custom object in request body, response is an object
```rust -use chrono::{DateTime, NaiveDate, Utc}; use seed_exhaustive::prelude::*; -use std::collections::{HashMap, HashSet}; -use uuid::Uuid; #[tokio::main] async fn main() { @@ -2520,7 +2481,6 @@ POST request with no auth ```rust use seed_exhaustive::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/extends/README.md b/seed/rust-sdk/extends/README.md index b990484f0bb7..ea90e74a717e 100644 --- a/seed/rust-sdk/extends/README.md +++ b/seed/rust-sdk/extends/README.md @@ -30,7 +30,6 @@ Instantiate and use the client with the following: ```rust use seed_extends::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/extends/dynamic-snippets/example0.rs b/seed/rust-sdk/extends/dynamic-snippets/example0.rs index 34786e347fc7..7f6a8e81ab8d 100644 --- a/seed/rust-sdk/extends/dynamic-snippets/example0.rs +++ b/seed/rust-sdk/extends/dynamic-snippets/example0.rs @@ -1,5 +1,4 @@ use seed_extends::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/extends/reference.md b/seed/rust-sdk/extends/reference.md index a0b11398db68..fcf41e2e6c7d 100644 --- a/seed/rust-sdk/extends/reference.md +++ b/seed/rust-sdk/extends/reference.md @@ -13,7 +13,6 @@ ```rust use seed_extends::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/extra-properties/README.md b/seed/rust-sdk/extra-properties/README.md index f91f6e2be269..8cc8faf2a999 100644 --- a/seed/rust-sdk/extra-properties/README.md +++ b/seed/rust-sdk/extra-properties/README.md @@ -30,7 +30,6 @@ Instantiate and use the client with the following: ```rust use seed_extra_properties::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/extra-properties/dynamic-snippets/example0.rs b/seed/rust-sdk/extra-properties/dynamic-snippets/example0.rs index 1c5cbc3dbc3e..2d76358f5ebe 100644 --- a/seed/rust-sdk/extra-properties/dynamic-snippets/example0.rs +++ b/seed/rust-sdk/extra-properties/dynamic-snippets/example0.rs @@ -1,5 +1,4 @@ use seed_extra_properties::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/extra-properties/dynamic-snippets/example1.rs b/seed/rust-sdk/extra-properties/dynamic-snippets/example1.rs index 34dcd114f774..db0239a23e23 100644 --- a/seed/rust-sdk/extra-properties/dynamic-snippets/example1.rs +++ b/seed/rust-sdk/extra-properties/dynamic-snippets/example1.rs @@ -1,5 +1,4 @@ use seed_extra_properties::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/extra-properties/reference.md b/seed/rust-sdk/extra-properties/reference.md index bd00d9280166..46d8afef31f0 100644 --- a/seed/rust-sdk/extra-properties/reference.md +++ b/seed/rust-sdk/extra-properties/reference.md @@ -14,7 +14,6 @@ ```rust use seed_extra_properties::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/folders/dynamic-snippets/example5.rs b/seed/rust-sdk/folders/dynamic-snippets/example5.rs index ac2075d2f669..33839c6efb85 100644 --- a/seed/rust-sdk/folders/dynamic-snippets/example5.rs +++ b/seed/rust-sdk/folders/dynamic-snippets/example5.rs @@ -1,5 +1,4 @@ use seed_api::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/folders/dynamic-snippets/example6.rs b/seed/rust-sdk/folders/dynamic-snippets/example6.rs index ac2075d2f669..33839c6efb85 100644 --- a/seed/rust-sdk/folders/dynamic-snippets/example6.rs +++ b/seed/rust-sdk/folders/dynamic-snippets/example6.rs @@ -1,5 +1,4 @@ use seed_api::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/folders/reference.md b/seed/rust-sdk/folders/reference.md index 930bf88826f1..fdbd71e307a0 100644 --- a/seed/rust-sdk/folders/reference.md +++ b/seed/rust-sdk/folders/reference.md @@ -187,7 +187,6 @@ async fn main() { ```rust use seed_api::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/idempotency-headers/README.md b/seed/rust-sdk/idempotency-headers/README.md index 59819710ff50..80792c900e75 100644 --- a/seed/rust-sdk/idempotency-headers/README.md +++ b/seed/rust-sdk/idempotency-headers/README.md @@ -30,7 +30,6 @@ Instantiate and use the client with the following: ```rust use seed_idempotency_headers::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/idempotency-headers/dynamic-snippets/example0.rs b/seed/rust-sdk/idempotency-headers/dynamic-snippets/example0.rs index 426e4ef10b83..763eb722cc27 100644 --- a/seed/rust-sdk/idempotency-headers/dynamic-snippets/example0.rs +++ b/seed/rust-sdk/idempotency-headers/dynamic-snippets/example0.rs @@ -1,5 +1,4 @@ use seed_idempotency_headers::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/idempotency-headers/reference.md b/seed/rust-sdk/idempotency-headers/reference.md index 1f0cf3706b54..00b694ba9ad5 100644 --- a/seed/rust-sdk/idempotency-headers/reference.md +++ b/seed/rust-sdk/idempotency-headers/reference.md @@ -14,7 +14,6 @@ ```rust use seed_idempotency_headers::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/imdb/imdb-custom-config/README.md b/seed/rust-sdk/imdb/imdb-custom-config/README.md index 771809939306..0b3c26ae13a6 100644 --- a/seed/rust-sdk/imdb/imdb-custom-config/README.md +++ b/seed/rust-sdk/imdb/imdb-custom-config/README.md @@ -30,7 +30,6 @@ Instantiate and use the client with the following: ```rust use custom_imdb_sdk::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/imdb/imdb-custom-config/dynamic-snippets/example0.rs b/seed/rust-sdk/imdb/imdb-custom-config/dynamic-snippets/example0.rs index ac084cdf75c5..17135bf1242c 100644 --- a/seed/rust-sdk/imdb/imdb-custom-config/dynamic-snippets/example0.rs +++ b/seed/rust-sdk/imdb/imdb-custom-config/dynamic-snippets/example0.rs @@ -1,5 +1,4 @@ use custom_imdb_sdk::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/imdb/imdb-custom-config/reference.md b/seed/rust-sdk/imdb/imdb-custom-config/reference.md index b74f8eeeaaa6..798c4f35a7e2 100644 --- a/seed/rust-sdk/imdb/imdb-custom-config/reference.md +++ b/seed/rust-sdk/imdb/imdb-custom-config/reference.md @@ -28,7 +28,6 @@ Add a movie to the database using the movies/* /... path. ```rust use custom_imdb_sdk::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/imdb/imdb/README.md b/seed/rust-sdk/imdb/imdb/README.md index 606c16462476..e292700bafdf 100644 --- a/seed/rust-sdk/imdb/imdb/README.md +++ b/seed/rust-sdk/imdb/imdb/README.md @@ -30,7 +30,6 @@ Instantiate and use the client with the following: ```rust use seed_api::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/imdb/imdb/dynamic-snippets/example0.rs b/seed/rust-sdk/imdb/imdb/dynamic-snippets/example0.rs index cf41e1daeb2b..3aa2fa52c695 100644 --- a/seed/rust-sdk/imdb/imdb/dynamic-snippets/example0.rs +++ b/seed/rust-sdk/imdb/imdb/dynamic-snippets/example0.rs @@ -1,5 +1,4 @@ use seed_api::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/imdb/imdb/reference.md b/seed/rust-sdk/imdb/imdb/reference.md index b71e73005c99..f0835daaf8cf 100644 --- a/seed/rust-sdk/imdb/imdb/reference.md +++ b/seed/rust-sdk/imdb/imdb/reference.md @@ -28,7 +28,6 @@ Add a movie to the database using the movies/* /... path. ```rust use seed_api::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/inferred-auth-explicit/README.md b/seed/rust-sdk/inferred-auth-explicit/README.md index 3d8a14f56a8d..565f1787e27f 100644 --- a/seed/rust-sdk/inferred-auth-explicit/README.md +++ b/seed/rust-sdk/inferred-auth-explicit/README.md @@ -30,7 +30,6 @@ Instantiate and use the client with the following: ```rust use seed_inferred_auth_explicit::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/inferred-auth-explicit/dynamic-snippets/example0.rs b/seed/rust-sdk/inferred-auth-explicit/dynamic-snippets/example0.rs index 76deb04ca1a0..7a41290991b1 100644 --- a/seed/rust-sdk/inferred-auth-explicit/dynamic-snippets/example0.rs +++ b/seed/rust-sdk/inferred-auth-explicit/dynamic-snippets/example0.rs @@ -1,5 +1,4 @@ use seed_inferred_auth_explicit::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/inferred-auth-explicit/dynamic-snippets/example1.rs b/seed/rust-sdk/inferred-auth-explicit/dynamic-snippets/example1.rs index f53acf369d6b..4a3d41c591ac 100644 --- a/seed/rust-sdk/inferred-auth-explicit/dynamic-snippets/example1.rs +++ b/seed/rust-sdk/inferred-auth-explicit/dynamic-snippets/example1.rs @@ -1,5 +1,4 @@ use seed_inferred_auth_explicit::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/inferred-auth-explicit/reference.md b/seed/rust-sdk/inferred-auth-explicit/reference.md index d2ff8db5ecda..977030e087dc 100644 --- a/seed/rust-sdk/inferred-auth-explicit/reference.md +++ b/seed/rust-sdk/inferred-auth-explicit/reference.md @@ -14,7 +14,6 @@ ```rust use seed_inferred_auth_explicit::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { @@ -109,7 +108,6 @@ async fn main() { ```rust use seed_inferred_auth_explicit::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/inferred-auth-implicit-no-expiry/README.md b/seed/rust-sdk/inferred-auth-implicit-no-expiry/README.md index c7828dcb6525..7d9d01b39bb2 100644 --- a/seed/rust-sdk/inferred-auth-implicit-no-expiry/README.md +++ b/seed/rust-sdk/inferred-auth-implicit-no-expiry/README.md @@ -30,7 +30,6 @@ Instantiate and use the client with the following: ```rust use seed_inferred_auth_implicit_no_expiry::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/inferred-auth-implicit-no-expiry/dynamic-snippets/example0.rs b/seed/rust-sdk/inferred-auth-implicit-no-expiry/dynamic-snippets/example0.rs index 6bf062d720fb..b9e4a3bddcbe 100644 --- a/seed/rust-sdk/inferred-auth-implicit-no-expiry/dynamic-snippets/example0.rs +++ b/seed/rust-sdk/inferred-auth-implicit-no-expiry/dynamic-snippets/example0.rs @@ -1,5 +1,4 @@ use seed_inferred_auth_implicit_no_expiry::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/inferred-auth-implicit-no-expiry/dynamic-snippets/example1.rs b/seed/rust-sdk/inferred-auth-implicit-no-expiry/dynamic-snippets/example1.rs index d6132eecb513..9f2a02d4f57c 100644 --- a/seed/rust-sdk/inferred-auth-implicit-no-expiry/dynamic-snippets/example1.rs +++ b/seed/rust-sdk/inferred-auth-implicit-no-expiry/dynamic-snippets/example1.rs @@ -1,5 +1,4 @@ use seed_inferred_auth_implicit_no_expiry::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/inferred-auth-implicit-no-expiry/reference.md b/seed/rust-sdk/inferred-auth-implicit-no-expiry/reference.md index 8fdfd973ca9b..d58957a2da41 100644 --- a/seed/rust-sdk/inferred-auth-implicit-no-expiry/reference.md +++ b/seed/rust-sdk/inferred-auth-implicit-no-expiry/reference.md @@ -14,7 +14,6 @@ ```rust use seed_inferred_auth_implicit_no_expiry::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { @@ -109,7 +108,6 @@ async fn main() { ```rust use seed_inferred_auth_implicit_no_expiry::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/inferred-auth-implicit/README.md b/seed/rust-sdk/inferred-auth-implicit/README.md index f6ae72c4df18..02d93d63aa77 100644 --- a/seed/rust-sdk/inferred-auth-implicit/README.md +++ b/seed/rust-sdk/inferred-auth-implicit/README.md @@ -30,7 +30,6 @@ Instantiate and use the client with the following: ```rust use seed_inferred_auth_implicit::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/inferred-auth-implicit/dynamic-snippets/example0.rs b/seed/rust-sdk/inferred-auth-implicit/dynamic-snippets/example0.rs index e554c042d2fe..d26625316f7e 100644 --- a/seed/rust-sdk/inferred-auth-implicit/dynamic-snippets/example0.rs +++ b/seed/rust-sdk/inferred-auth-implicit/dynamic-snippets/example0.rs @@ -1,5 +1,4 @@ use seed_inferred_auth_implicit::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/inferred-auth-implicit/dynamic-snippets/example1.rs b/seed/rust-sdk/inferred-auth-implicit/dynamic-snippets/example1.rs index 0ee76d52bc44..f978ee9eaefd 100644 --- a/seed/rust-sdk/inferred-auth-implicit/dynamic-snippets/example1.rs +++ b/seed/rust-sdk/inferred-auth-implicit/dynamic-snippets/example1.rs @@ -1,5 +1,4 @@ use seed_inferred_auth_implicit::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/inferred-auth-implicit/reference.md b/seed/rust-sdk/inferred-auth-implicit/reference.md index 93c78eab2ada..7e34be8532d7 100644 --- a/seed/rust-sdk/inferred-auth-implicit/reference.md +++ b/seed/rust-sdk/inferred-auth-implicit/reference.md @@ -14,7 +14,6 @@ ```rust use seed_inferred_auth_implicit::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { @@ -109,7 +108,6 @@ async fn main() { ```rust use seed_inferred_auth_implicit::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/literal/README.md b/seed/rust-sdk/literal/README.md index 17a478e8decd..1862741a1cd7 100644 --- a/seed/rust-sdk/literal/README.md +++ b/seed/rust-sdk/literal/README.md @@ -30,7 +30,6 @@ Instantiate and use the client with the following: ```rust use seed_literal::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/literal/dynamic-snippets/example0.rs b/seed/rust-sdk/literal/dynamic-snippets/example0.rs index 38ef001d3941..d9f703fbc761 100644 --- a/seed/rust-sdk/literal/dynamic-snippets/example0.rs +++ b/seed/rust-sdk/literal/dynamic-snippets/example0.rs @@ -1,5 +1,4 @@ use seed_literal::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/literal/dynamic-snippets/example1.rs b/seed/rust-sdk/literal/dynamic-snippets/example1.rs index 1081ee21d52a..bc4eaa3abd93 100644 --- a/seed/rust-sdk/literal/dynamic-snippets/example1.rs +++ b/seed/rust-sdk/literal/dynamic-snippets/example1.rs @@ -1,5 +1,4 @@ use seed_literal::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/literal/dynamic-snippets/example2.rs b/seed/rust-sdk/literal/dynamic-snippets/example2.rs index 4e09dfb23d66..0992667d9958 100644 --- a/seed/rust-sdk/literal/dynamic-snippets/example2.rs +++ b/seed/rust-sdk/literal/dynamic-snippets/example2.rs @@ -1,5 +1,4 @@ use seed_literal::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/literal/dynamic-snippets/example3.rs b/seed/rust-sdk/literal/dynamic-snippets/example3.rs index 0541c36a1f85..c4ed807b4303 100644 --- a/seed/rust-sdk/literal/dynamic-snippets/example3.rs +++ b/seed/rust-sdk/literal/dynamic-snippets/example3.rs @@ -1,5 +1,4 @@ use seed_literal::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/literal/dynamic-snippets/example8.rs b/seed/rust-sdk/literal/dynamic-snippets/example8.rs index 7f50f6b0de26..2d08644fe362 100644 --- a/seed/rust-sdk/literal/dynamic-snippets/example8.rs +++ b/seed/rust-sdk/literal/dynamic-snippets/example8.rs @@ -1,5 +1,4 @@ use seed_literal::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/literal/dynamic-snippets/example9.rs b/seed/rust-sdk/literal/dynamic-snippets/example9.rs index c8e8d30cc1ad..c19b02b4fb59 100644 --- a/seed/rust-sdk/literal/dynamic-snippets/example9.rs +++ b/seed/rust-sdk/literal/dynamic-snippets/example9.rs @@ -1,5 +1,4 @@ use seed_literal::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/literal/reference.md b/seed/rust-sdk/literal/reference.md index f06831ad9093..ae8648c1b304 100644 --- a/seed/rust-sdk/literal/reference.md +++ b/seed/rust-sdk/literal/reference.md @@ -14,7 +14,6 @@ ```rust use seed_literal::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { @@ -75,7 +74,6 @@ async fn main() { ```rust use seed_literal::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { @@ -383,7 +381,6 @@ async fn main() { ```rust use seed_literal::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/mixed-case/dynamic-snippets/example2.rs b/seed/rust-sdk/mixed-case/dynamic-snippets/example2.rs index a8d10e6eeb10..46cde078805d 100644 --- a/seed/rust-sdk/mixed-case/dynamic-snippets/example2.rs +++ b/seed/rust-sdk/mixed-case/dynamic-snippets/example2.rs @@ -1,4 +1,3 @@ -use chrono::NaiveDate; use seed_mixed_case::prelude::*; #[tokio::main] diff --git a/seed/rust-sdk/mixed-case/dynamic-snippets/example3.rs b/seed/rust-sdk/mixed-case/dynamic-snippets/example3.rs index 76ecf8db0e5f..0bdc480c9dc8 100644 --- a/seed/rust-sdk/mixed-case/dynamic-snippets/example3.rs +++ b/seed/rust-sdk/mixed-case/dynamic-snippets/example3.rs @@ -1,4 +1,3 @@ -use chrono::NaiveDate; use seed_mixed_case::prelude::*; #[tokio::main] diff --git a/seed/rust-sdk/mixed-case/reference.md b/seed/rust-sdk/mixed-case/reference.md index c0ca6120bf91..b73a2d990d30 100644 --- a/seed/rust-sdk/mixed-case/reference.md +++ b/seed/rust-sdk/mixed-case/reference.md @@ -65,7 +65,6 @@ async fn main() {
```rust -use chrono::NaiveDate; use seed_mixed_case::prelude::*; #[tokio::main] diff --git a/seed/rust-sdk/mixed-file-directory/README.md b/seed/rust-sdk/mixed-file-directory/README.md index f4c92d9bab68..9c7fe20db566 100644 --- a/seed/rust-sdk/mixed-file-directory/README.md +++ b/seed/rust-sdk/mixed-file-directory/README.md @@ -30,7 +30,6 @@ Instantiate and use the client with the following: ```rust use seed_mixed_file_directory::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/mixed-file-directory/dynamic-snippets/example0.rs b/seed/rust-sdk/mixed-file-directory/dynamic-snippets/example0.rs index 923bc3675050..571384adffb0 100644 --- a/seed/rust-sdk/mixed-file-directory/dynamic-snippets/example0.rs +++ b/seed/rust-sdk/mixed-file-directory/dynamic-snippets/example0.rs @@ -1,5 +1,4 @@ use seed_mixed_file_directory::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/mixed-file-directory/reference.md b/seed/rust-sdk/mixed-file-directory/reference.md index cc5920b6e90d..d8ee8fac26e1 100644 --- a/seed/rust-sdk/mixed-file-directory/reference.md +++ b/seed/rust-sdk/mixed-file-directory/reference.md @@ -28,7 +28,6 @@ Create a new organization. ```rust use seed_mixed_file_directory::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/multi-line-docs/README.md b/seed/rust-sdk/multi-line-docs/README.md index 5be6a8c36491..537e404cd952 100644 --- a/seed/rust-sdk/multi-line-docs/README.md +++ b/seed/rust-sdk/multi-line-docs/README.md @@ -30,7 +30,6 @@ Instantiate and use the client with the following: ```rust use seed_multi_line_docs::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/multi-line-docs/dynamic-snippets/example1.rs b/seed/rust-sdk/multi-line-docs/dynamic-snippets/example1.rs index 5bc4427a4e44..3eeb6390bf60 100644 --- a/seed/rust-sdk/multi-line-docs/dynamic-snippets/example1.rs +++ b/seed/rust-sdk/multi-line-docs/dynamic-snippets/example1.rs @@ -1,5 +1,4 @@ use seed_multi_line_docs::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/multi-line-docs/reference.md b/seed/rust-sdk/multi-line-docs/reference.md index 08bc5482eb48..7f567291d1cb 100644 --- a/seed/rust-sdk/multi-line-docs/reference.md +++ b/seed/rust-sdk/multi-line-docs/reference.md @@ -96,7 +96,6 @@ This endpoint is used to create a new user. ```rust use seed_multi_line_docs::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/multi-url-environment-no-default/README.md b/seed/rust-sdk/multi-url-environment-no-default/README.md index 31ec367ec61c..f88c8dc2f53c 100644 --- a/seed/rust-sdk/multi-url-environment-no-default/README.md +++ b/seed/rust-sdk/multi-url-environment-no-default/README.md @@ -30,7 +30,6 @@ Instantiate and use the client with the following: ```rust use seed_multi_url_environment_no_default::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/multi-url-environment-no-default/dynamic-snippets/example0.rs b/seed/rust-sdk/multi-url-environment-no-default/dynamic-snippets/example0.rs index e5baa631b15e..2fa7bcc8e275 100644 --- a/seed/rust-sdk/multi-url-environment-no-default/dynamic-snippets/example0.rs +++ b/seed/rust-sdk/multi-url-environment-no-default/dynamic-snippets/example0.rs @@ -1,5 +1,4 @@ use seed_multi_url_environment_no_default::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/multi-url-environment-no-default/dynamic-snippets/example1.rs b/seed/rust-sdk/multi-url-environment-no-default/dynamic-snippets/example1.rs index bbef49ce5bf6..a24315f6b5d9 100644 --- a/seed/rust-sdk/multi-url-environment-no-default/dynamic-snippets/example1.rs +++ b/seed/rust-sdk/multi-url-environment-no-default/dynamic-snippets/example1.rs @@ -1,5 +1,4 @@ use seed_multi_url_environment_no_default::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/multi-url-environment-no-default/reference.md b/seed/rust-sdk/multi-url-environment-no-default/reference.md index 4171ed84c566..42e8246ce05a 100644 --- a/seed/rust-sdk/multi-url-environment-no-default/reference.md +++ b/seed/rust-sdk/multi-url-environment-no-default/reference.md @@ -14,7 +14,6 @@ ```rust use seed_multi_url_environment_no_default::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { @@ -74,7 +73,6 @@ async fn main() { ```rust use seed_multi_url_environment_no_default::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/multi-url-environment/README.md b/seed/rust-sdk/multi-url-environment/README.md index 42876c57ee2a..b49ce0f29129 100644 --- a/seed/rust-sdk/multi-url-environment/README.md +++ b/seed/rust-sdk/multi-url-environment/README.md @@ -30,7 +30,6 @@ Instantiate and use the client with the following: ```rust use seed_multi_url_environment::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/multi-url-environment/dynamic-snippets/example0.rs b/seed/rust-sdk/multi-url-environment/dynamic-snippets/example0.rs index 1124a286c970..0e52d473fbb9 100644 --- a/seed/rust-sdk/multi-url-environment/dynamic-snippets/example0.rs +++ b/seed/rust-sdk/multi-url-environment/dynamic-snippets/example0.rs @@ -1,5 +1,4 @@ use seed_multi_url_environment::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/multi-url-environment/dynamic-snippets/example1.rs b/seed/rust-sdk/multi-url-environment/dynamic-snippets/example1.rs index 1c4ca7b54ca3..0537aa94881a 100644 --- a/seed/rust-sdk/multi-url-environment/dynamic-snippets/example1.rs +++ b/seed/rust-sdk/multi-url-environment/dynamic-snippets/example1.rs @@ -1,5 +1,4 @@ use seed_multi_url_environment::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/multi-url-environment/reference.md b/seed/rust-sdk/multi-url-environment/reference.md index 452f2cbf01f0..faade1852ae1 100644 --- a/seed/rust-sdk/multi-url-environment/reference.md +++ b/seed/rust-sdk/multi-url-environment/reference.md @@ -14,7 +14,6 @@ ```rust use seed_multi_url_environment::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { @@ -74,7 +73,6 @@ async fn main() { ```rust use seed_multi_url_environment::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/multiple-request-bodies/dynamic-snippets/example1.rs b/seed/rust-sdk/multiple-request-bodies/dynamic-snippets/example1.rs index f1ee483e25ab..e39d6a6c7767 100644 --- a/seed/rust-sdk/multiple-request-bodies/dynamic-snippets/example1.rs +++ b/seed/rust-sdk/multiple-request-bodies/dynamic-snippets/example1.rs @@ -1,5 +1,4 @@ use seed_api::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/nullable-optional/README.md b/seed/rust-sdk/nullable-optional/README.md index 2204b9f84dcb..ffb4e8a2b07c 100644 --- a/seed/rust-sdk/nullable-optional/README.md +++ b/seed/rust-sdk/nullable-optional/README.md @@ -30,7 +30,6 @@ Instantiate and use the client with the following: ```rust use seed_nullable_optional::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/nullable-optional/dynamic-snippets/example1.rs b/seed/rust-sdk/nullable-optional/dynamic-snippets/example1.rs index 7ec26de770d7..1bc7a2e58a7b 100644 --- a/seed/rust-sdk/nullable-optional/dynamic-snippets/example1.rs +++ b/seed/rust-sdk/nullable-optional/dynamic-snippets/example1.rs @@ -1,5 +1,4 @@ use seed_nullable_optional::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/nullable-optional/dynamic-snippets/example11.rs b/seed/rust-sdk/nullable-optional/dynamic-snippets/example11.rs index b6e0079d9b40..4a3169b3f6b2 100644 --- a/seed/rust-sdk/nullable-optional/dynamic-snippets/example11.rs +++ b/seed/rust-sdk/nullable-optional/dynamic-snippets/example11.rs @@ -1,5 +1,4 @@ use seed_nullable_optional::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/nullable-optional/dynamic-snippets/example12.rs b/seed/rust-sdk/nullable-optional/dynamic-snippets/example12.rs index 280bc8342330..95a03bab7cc7 100644 --- a/seed/rust-sdk/nullable-optional/dynamic-snippets/example12.rs +++ b/seed/rust-sdk/nullable-optional/dynamic-snippets/example12.rs @@ -1,5 +1,4 @@ use seed_nullable_optional::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/nullable-optional/dynamic-snippets/example2.rs b/seed/rust-sdk/nullable-optional/dynamic-snippets/example2.rs index 404d050ac5ae..4236b3909d4f 100644 --- a/seed/rust-sdk/nullable-optional/dynamic-snippets/example2.rs +++ b/seed/rust-sdk/nullable-optional/dynamic-snippets/example2.rs @@ -1,5 +1,4 @@ use seed_nullable_optional::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/nullable-optional/dynamic-snippets/example5.rs b/seed/rust-sdk/nullable-optional/dynamic-snippets/example5.rs index d2e2cda32e91..21b39f74ff4e 100644 --- a/seed/rust-sdk/nullable-optional/dynamic-snippets/example5.rs +++ b/seed/rust-sdk/nullable-optional/dynamic-snippets/example5.rs @@ -1,6 +1,4 @@ -use chrono::{DateTime, Utc}; use seed_nullable_optional::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/nullable-optional/dynamic-snippets/example7.rs b/seed/rust-sdk/nullable-optional/dynamic-snippets/example7.rs index 07eff762b83c..04420d92c0de 100644 --- a/seed/rust-sdk/nullable-optional/dynamic-snippets/example7.rs +++ b/seed/rust-sdk/nullable-optional/dynamic-snippets/example7.rs @@ -1,6 +1,4 @@ -use chrono::{DateTime, Utc}; use seed_nullable_optional::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/nullable-optional/dynamic-snippets/example8.rs b/seed/rust-sdk/nullable-optional/dynamic-snippets/example8.rs index 680d03ad6783..aa889bbb1a58 100644 --- a/seed/rust-sdk/nullable-optional/dynamic-snippets/example8.rs +++ b/seed/rust-sdk/nullable-optional/dynamic-snippets/example8.rs @@ -1,6 +1,4 @@ -use chrono::{DateTime, Utc}; use seed_nullable_optional::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/nullable-optional/reference.md b/seed/rust-sdk/nullable-optional/reference.md index 7656c899ffa9..2bd2fc3b7430 100644 --- a/seed/rust-sdk/nullable-optional/reference.md +++ b/seed/rust-sdk/nullable-optional/reference.md @@ -94,7 +94,6 @@ Create a new user ```rust use seed_nullable_optional::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { @@ -162,7 +161,6 @@ Update a user (partial update) ```rust use seed_nullable_optional::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { @@ -441,9 +439,7 @@ Create a complex profile to test nullable enums and unions
```rust -use chrono::{DateTime, Utc}; use seed_nullable_optional::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { @@ -690,9 +686,7 @@ Update complex profile to test nullable field updates
```rust -use chrono::{DateTime, Utc}; use seed_nullable_optional::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { @@ -841,9 +835,7 @@ Test endpoint for validating null deserialization
```rust -use chrono::{DateTime, Utc}; use seed_nullable_optional::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { @@ -1109,7 +1101,6 @@ Update tags to test array handling ```rust use seed_nullable_optional::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { @@ -1208,7 +1199,6 @@ Get search results with nullable unions ```rust use seed_nullable_optional::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/nullable/README.md b/seed/rust-sdk/nullable/README.md index be3b19573bc5..ae1177028818 100644 --- a/seed/rust-sdk/nullable/README.md +++ b/seed/rust-sdk/nullable/README.md @@ -29,9 +29,7 @@ A full reference for this library is available [here](./reference.md). Instantiate and use the client with the following: ```rust -use chrono::{DateTime, Utc}; use seed_nullable::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/nullable/dynamic-snippets/example1.rs b/seed/rust-sdk/nullable/dynamic-snippets/example1.rs index 550c28532eab..d59f7847bbd9 100644 --- a/seed/rust-sdk/nullable/dynamic-snippets/example1.rs +++ b/seed/rust-sdk/nullable/dynamic-snippets/example1.rs @@ -1,6 +1,4 @@ -use chrono::{DateTime, Utc}; use seed_nullable::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/nullable/dynamic-snippets/example2.rs b/seed/rust-sdk/nullable/dynamic-snippets/example2.rs index baa75f21e961..797ed0091851 100644 --- a/seed/rust-sdk/nullable/dynamic-snippets/example2.rs +++ b/seed/rust-sdk/nullable/dynamic-snippets/example2.rs @@ -1,5 +1,4 @@ use seed_nullable::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/nullable/reference.md b/seed/rust-sdk/nullable/reference.md index 7a3c911a1346..c918ff174725 100644 --- a/seed/rust-sdk/nullable/reference.md +++ b/seed/rust-sdk/nullable/reference.md @@ -106,9 +106,7 @@ async fn main() {
```rust -use chrono::{DateTime, Utc}; use seed_nullable::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { @@ -207,7 +205,6 @@ async fn main() { ```rust use seed_nullable::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/oauth-client-credentials-custom/README.md b/seed/rust-sdk/oauth-client-credentials-custom/README.md index 9d5e08591bbe..9fe8872b9c8d 100644 --- a/seed/rust-sdk/oauth-client-credentials-custom/README.md +++ b/seed/rust-sdk/oauth-client-credentials-custom/README.md @@ -30,7 +30,6 @@ Instantiate and use the client with the following: ```rust use seed_oauth_client_credentials::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/oauth-client-credentials-custom/dynamic-snippets/example0.rs b/seed/rust-sdk/oauth-client-credentials-custom/dynamic-snippets/example0.rs index 4f0b6c0b60b6..478f4622d6bb 100644 --- a/seed/rust-sdk/oauth-client-credentials-custom/dynamic-snippets/example0.rs +++ b/seed/rust-sdk/oauth-client-credentials-custom/dynamic-snippets/example0.rs @@ -1,5 +1,4 @@ use seed_oauth_client_credentials::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/oauth-client-credentials-custom/dynamic-snippets/example1.rs b/seed/rust-sdk/oauth-client-credentials-custom/dynamic-snippets/example1.rs index 66cd7dce5724..9671054fecd9 100644 --- a/seed/rust-sdk/oauth-client-credentials-custom/dynamic-snippets/example1.rs +++ b/seed/rust-sdk/oauth-client-credentials-custom/dynamic-snippets/example1.rs @@ -1,5 +1,4 @@ use seed_oauth_client_credentials::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/oauth-client-credentials-custom/reference.md b/seed/rust-sdk/oauth-client-credentials-custom/reference.md index b5f36e94a47b..a3f0b4ca43cd 100644 --- a/seed/rust-sdk/oauth-client-credentials-custom/reference.md +++ b/seed/rust-sdk/oauth-client-credentials-custom/reference.md @@ -14,7 +14,6 @@ ```rust use seed_oauth_client_credentials::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { @@ -126,7 +125,6 @@ async fn main() { ```rust use seed_oauth_client_credentials::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/oauth-client-credentials-default/README.md b/seed/rust-sdk/oauth-client-credentials-default/README.md index f4cf94665689..c881e8fc7d3b 100644 --- a/seed/rust-sdk/oauth-client-credentials-default/README.md +++ b/seed/rust-sdk/oauth-client-credentials-default/README.md @@ -30,7 +30,6 @@ Instantiate and use the client with the following: ```rust use seed_oauth_client_credentials_default::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/oauth-client-credentials-default/dynamic-snippets/example0.rs b/seed/rust-sdk/oauth-client-credentials-default/dynamic-snippets/example0.rs index a0cbc9b093ee..921ea56f0f30 100644 --- a/seed/rust-sdk/oauth-client-credentials-default/dynamic-snippets/example0.rs +++ b/seed/rust-sdk/oauth-client-credentials-default/dynamic-snippets/example0.rs @@ -1,5 +1,4 @@ use seed_oauth_client_credentials_default::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/oauth-client-credentials-default/reference.md b/seed/rust-sdk/oauth-client-credentials-default/reference.md index 984e0cea74a5..fc4b22cc31b3 100644 --- a/seed/rust-sdk/oauth-client-credentials-default/reference.md +++ b/seed/rust-sdk/oauth-client-credentials-default/reference.md @@ -14,7 +14,6 @@ ```rust use seed_oauth_client_credentials_default::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/oauth-client-credentials-environment-variables/README.md b/seed/rust-sdk/oauth-client-credentials-environment-variables/README.md index d3eaa41d46a7..f0dfe210ea3c 100644 --- a/seed/rust-sdk/oauth-client-credentials-environment-variables/README.md +++ b/seed/rust-sdk/oauth-client-credentials-environment-variables/README.md @@ -30,7 +30,6 @@ Instantiate and use the client with the following: ```rust use seed_oauth_client_credentials_environment_variables::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/oauth-client-credentials-environment-variables/dynamic-snippets/example0.rs b/seed/rust-sdk/oauth-client-credentials-environment-variables/dynamic-snippets/example0.rs index 88b40ac7b158..fb4d9e626f0d 100644 --- a/seed/rust-sdk/oauth-client-credentials-environment-variables/dynamic-snippets/example0.rs +++ b/seed/rust-sdk/oauth-client-credentials-environment-variables/dynamic-snippets/example0.rs @@ -1,5 +1,4 @@ use seed_oauth_client_credentials_environment_variables::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/oauth-client-credentials-environment-variables/dynamic-snippets/example1.rs b/seed/rust-sdk/oauth-client-credentials-environment-variables/dynamic-snippets/example1.rs index f96268736444..7ef356fbce0e 100644 --- a/seed/rust-sdk/oauth-client-credentials-environment-variables/dynamic-snippets/example1.rs +++ b/seed/rust-sdk/oauth-client-credentials-environment-variables/dynamic-snippets/example1.rs @@ -1,5 +1,4 @@ use seed_oauth_client_credentials_environment_variables::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/oauth-client-credentials-environment-variables/reference.md b/seed/rust-sdk/oauth-client-credentials-environment-variables/reference.md index 5ecd4e7989d0..14fcc53f8556 100644 --- a/seed/rust-sdk/oauth-client-credentials-environment-variables/reference.md +++ b/seed/rust-sdk/oauth-client-credentials-environment-variables/reference.md @@ -14,7 +14,6 @@ ```rust use seed_oauth_client_credentials_environment_variables::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { @@ -109,7 +108,6 @@ async fn main() { ```rust use seed_oauth_client_credentials_environment_variables::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/oauth-client-credentials-nested-root/README.md b/seed/rust-sdk/oauth-client-credentials-nested-root/README.md index 3c0bc4ee8180..8adb18fec99d 100644 --- a/seed/rust-sdk/oauth-client-credentials-nested-root/README.md +++ b/seed/rust-sdk/oauth-client-credentials-nested-root/README.md @@ -30,7 +30,6 @@ Instantiate and use the client with the following: ```rust use seed_oauth_client_credentials::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/oauth-client-credentials-nested-root/dynamic-snippets/example0.rs b/seed/rust-sdk/oauth-client-credentials-nested-root/dynamic-snippets/example0.rs index 764b40a94a7c..b89e55b61a12 100644 --- a/seed/rust-sdk/oauth-client-credentials-nested-root/dynamic-snippets/example0.rs +++ b/seed/rust-sdk/oauth-client-credentials-nested-root/dynamic-snippets/example0.rs @@ -1,5 +1,4 @@ use seed_oauth_client_credentials::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/oauth-client-credentials-nested-root/reference.md b/seed/rust-sdk/oauth-client-credentials-nested-root/reference.md index 6b8a75dba8d1..c71886fe5ab3 100644 --- a/seed/rust-sdk/oauth-client-credentials-nested-root/reference.md +++ b/seed/rust-sdk/oauth-client-credentials-nested-root/reference.md @@ -14,7 +14,6 @@ ```rust use seed_oauth_client_credentials::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/oauth-client-credentials-with-variables/README.md b/seed/rust-sdk/oauth-client-credentials-with-variables/README.md index 4af6800ce171..1686fdbae01c 100644 --- a/seed/rust-sdk/oauth-client-credentials-with-variables/README.md +++ b/seed/rust-sdk/oauth-client-credentials-with-variables/README.md @@ -30,7 +30,6 @@ Instantiate and use the client with the following: ```rust use seed_oauth_client_credentials_with_variables::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/oauth-client-credentials-with-variables/dynamic-snippets/example0.rs b/seed/rust-sdk/oauth-client-credentials-with-variables/dynamic-snippets/example0.rs index 5ae0b2395d4e..6bb7da3268e5 100644 --- a/seed/rust-sdk/oauth-client-credentials-with-variables/dynamic-snippets/example0.rs +++ b/seed/rust-sdk/oauth-client-credentials-with-variables/dynamic-snippets/example0.rs @@ -1,5 +1,4 @@ use seed_oauth_client_credentials_with_variables::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/oauth-client-credentials-with-variables/dynamic-snippets/example1.rs b/seed/rust-sdk/oauth-client-credentials-with-variables/dynamic-snippets/example1.rs index 4442de140e35..e9974b4e3d5a 100644 --- a/seed/rust-sdk/oauth-client-credentials-with-variables/dynamic-snippets/example1.rs +++ b/seed/rust-sdk/oauth-client-credentials-with-variables/dynamic-snippets/example1.rs @@ -1,5 +1,4 @@ use seed_oauth_client_credentials_with_variables::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/oauth-client-credentials-with-variables/reference.md b/seed/rust-sdk/oauth-client-credentials-with-variables/reference.md index 8dd422ce9986..679f04755a0a 100644 --- a/seed/rust-sdk/oauth-client-credentials-with-variables/reference.md +++ b/seed/rust-sdk/oauth-client-credentials-with-variables/reference.md @@ -14,7 +14,6 @@ ```rust use seed_oauth_client_credentials_with_variables::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { @@ -109,7 +108,6 @@ async fn main() { ```rust use seed_oauth_client_credentials_with_variables::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/oauth-client-credentials/README.md b/seed/rust-sdk/oauth-client-credentials/README.md index d03842ff44a1..11374b7e94ad 100644 --- a/seed/rust-sdk/oauth-client-credentials/README.md +++ b/seed/rust-sdk/oauth-client-credentials/README.md @@ -30,7 +30,6 @@ Instantiate and use the client with the following: ```rust use seed_oauth_client_credentials::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/oauth-client-credentials/dynamic-snippets/example0.rs b/seed/rust-sdk/oauth-client-credentials/dynamic-snippets/example0.rs index 496ad397ec0c..85b03e21c7e3 100644 --- a/seed/rust-sdk/oauth-client-credentials/dynamic-snippets/example0.rs +++ b/seed/rust-sdk/oauth-client-credentials/dynamic-snippets/example0.rs @@ -1,5 +1,4 @@ use seed_oauth_client_credentials::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/oauth-client-credentials/dynamic-snippets/example1.rs b/seed/rust-sdk/oauth-client-credentials/dynamic-snippets/example1.rs index 664d5dd8b1f2..f8b0da25a0de 100644 --- a/seed/rust-sdk/oauth-client-credentials/dynamic-snippets/example1.rs +++ b/seed/rust-sdk/oauth-client-credentials/dynamic-snippets/example1.rs @@ -1,5 +1,4 @@ use seed_oauth_client_credentials::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/oauth-client-credentials/dynamic-snippets/example2.rs b/seed/rust-sdk/oauth-client-credentials/dynamic-snippets/example2.rs index 02f1ab434e04..258ca090646d 100644 --- a/seed/rust-sdk/oauth-client-credentials/dynamic-snippets/example2.rs +++ b/seed/rust-sdk/oauth-client-credentials/dynamic-snippets/example2.rs @@ -1,5 +1,4 @@ use seed_oauth_client_credentials::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/oauth-client-credentials/dynamic-snippets/example3.rs b/seed/rust-sdk/oauth-client-credentials/dynamic-snippets/example3.rs index 66cd7dce5724..9671054fecd9 100644 --- a/seed/rust-sdk/oauth-client-credentials/dynamic-snippets/example3.rs +++ b/seed/rust-sdk/oauth-client-credentials/dynamic-snippets/example3.rs @@ -1,5 +1,4 @@ use seed_oauth_client_credentials::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/oauth-client-credentials/reference.md b/seed/rust-sdk/oauth-client-credentials/reference.md index 8a5df0c4686c..219ad4f5c471 100644 --- a/seed/rust-sdk/oauth-client-credentials/reference.md +++ b/seed/rust-sdk/oauth-client-credentials/reference.md @@ -14,7 +14,6 @@ ```rust use seed_oauth_client_credentials::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { @@ -108,7 +107,6 @@ async fn main() { ```rust use seed_oauth_client_credentials::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/optional/README.md b/seed/rust-sdk/optional/README.md index f25b53ab9ce1..1cadadee6c0a 100644 --- a/seed/rust-sdk/optional/README.md +++ b/seed/rust-sdk/optional/README.md @@ -30,7 +30,6 @@ Instantiate and use the client with the following: ```rust use seed_objects_with_imports::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/optional/dynamic-snippets/example0.rs b/seed/rust-sdk/optional/dynamic-snippets/example0.rs index 5b736271649d..48400e5e522e 100644 --- a/seed/rust-sdk/optional/dynamic-snippets/example0.rs +++ b/seed/rust-sdk/optional/dynamic-snippets/example0.rs @@ -1,5 +1,4 @@ use seed_objects_with_imports::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/optional/reference.md b/seed/rust-sdk/optional/reference.md index 4ff9abd5e659..77acc6e308a8 100644 --- a/seed/rust-sdk/optional/reference.md +++ b/seed/rust-sdk/optional/reference.md @@ -14,7 +14,6 @@ ```rust use seed_objects_with_imports::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/package-yml/README.md b/seed/rust-sdk/package-yml/README.md index 5ffd965f887a..529ac28d698a 100644 --- a/seed/rust-sdk/package-yml/README.md +++ b/seed/rust-sdk/package-yml/README.md @@ -30,7 +30,6 @@ Instantiate and use the client with the following: ```rust use seed_package_yml::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/package-yml/dynamic-snippets/example0.rs b/seed/rust-sdk/package-yml/dynamic-snippets/example0.rs index 87b40a9a14ee..a99112b76c8e 100644 --- a/seed/rust-sdk/package-yml/dynamic-snippets/example0.rs +++ b/seed/rust-sdk/package-yml/dynamic-snippets/example0.rs @@ -1,5 +1,4 @@ use seed_package_yml::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/package-yml/dynamic-snippets/example1.rs b/seed/rust-sdk/package-yml/dynamic-snippets/example1.rs index 82e641bbca42..585d89ccda36 100644 --- a/seed/rust-sdk/package-yml/dynamic-snippets/example1.rs +++ b/seed/rust-sdk/package-yml/dynamic-snippets/example1.rs @@ -1,5 +1,4 @@ use seed_package_yml::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/package-yml/reference.md b/seed/rust-sdk/package-yml/reference.md index f80a31ca9bf7..527c3d9361b0 100644 --- a/seed/rust-sdk/package-yml/reference.md +++ b/seed/rust-sdk/package-yml/reference.md @@ -13,7 +13,6 @@ ```rust use seed_package_yml::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/pagination/README.md b/seed/rust-sdk/pagination/README.md index 6e427d81ace7..92fc124af9a0 100644 --- a/seed/rust-sdk/pagination/README.md +++ b/seed/rust-sdk/pagination/README.md @@ -30,7 +30,6 @@ Instantiate and use the client with the following: ```rust use seed_pagination::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/pagination/dynamic-snippets/example0.rs b/seed/rust-sdk/pagination/dynamic-snippets/example0.rs index 39fbb8622eeb..146182a73e63 100644 --- a/seed/rust-sdk/pagination/dynamic-snippets/example0.rs +++ b/seed/rust-sdk/pagination/dynamic-snippets/example0.rs @@ -1,5 +1,4 @@ use seed_pagination::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/pagination/dynamic-snippets/example10.rs b/seed/rust-sdk/pagination/dynamic-snippets/example10.rs index 89cb043c198d..00cb52edeb12 100644 --- a/seed/rust-sdk/pagination/dynamic-snippets/example10.rs +++ b/seed/rust-sdk/pagination/dynamic-snippets/example10.rs @@ -1,5 +1,4 @@ use seed_pagination::prelude::*; -use uuid::Uuid; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/pagination/dynamic-snippets/example15.rs b/seed/rust-sdk/pagination/dynamic-snippets/example15.rs index d425aee78756..a001053a14e3 100644 --- a/seed/rust-sdk/pagination/dynamic-snippets/example15.rs +++ b/seed/rust-sdk/pagination/dynamic-snippets/example15.rs @@ -1,5 +1,4 @@ use seed_pagination::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/pagination/dynamic-snippets/example18.rs b/seed/rust-sdk/pagination/dynamic-snippets/example18.rs index d425aee78756..a001053a14e3 100644 --- a/seed/rust-sdk/pagination/dynamic-snippets/example18.rs +++ b/seed/rust-sdk/pagination/dynamic-snippets/example18.rs @@ -1,5 +1,4 @@ use seed_pagination::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/pagination/dynamic-snippets/example21.rs b/seed/rust-sdk/pagination/dynamic-snippets/example21.rs index 1c2a0a976732..1bc3a106b4cf 100644 --- a/seed/rust-sdk/pagination/dynamic-snippets/example21.rs +++ b/seed/rust-sdk/pagination/dynamic-snippets/example21.rs @@ -1,5 +1,4 @@ use seed_pagination::prelude::*; -use uuid::Uuid; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/pagination/dynamic-snippets/example22.rs b/seed/rust-sdk/pagination/dynamic-snippets/example22.rs index 1c2a0a976732..1bc3a106b4cf 100644 --- a/seed/rust-sdk/pagination/dynamic-snippets/example22.rs +++ b/seed/rust-sdk/pagination/dynamic-snippets/example22.rs @@ -1,5 +1,4 @@ use seed_pagination::prelude::*; -use uuid::Uuid; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/pagination/dynamic-snippets/example3.rs b/seed/rust-sdk/pagination/dynamic-snippets/example3.rs index d0bfc8c76e37..534b1d8679c0 100644 --- a/seed/rust-sdk/pagination/dynamic-snippets/example3.rs +++ b/seed/rust-sdk/pagination/dynamic-snippets/example3.rs @@ -1,5 +1,4 @@ use seed_pagination::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/pagination/dynamic-snippets/example6.rs b/seed/rust-sdk/pagination/dynamic-snippets/example6.rs index d0bfc8c76e37..534b1d8679c0 100644 --- a/seed/rust-sdk/pagination/dynamic-snippets/example6.rs +++ b/seed/rust-sdk/pagination/dynamic-snippets/example6.rs @@ -1,5 +1,4 @@ use seed_pagination::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/pagination/dynamic-snippets/example9.rs b/seed/rust-sdk/pagination/dynamic-snippets/example9.rs index 89cb043c198d..00cb52edeb12 100644 --- a/seed/rust-sdk/pagination/dynamic-snippets/example9.rs +++ b/seed/rust-sdk/pagination/dynamic-snippets/example9.rs @@ -1,5 +1,4 @@ use seed_pagination::prelude::*; -use uuid::Uuid; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/pagination/reference.md b/seed/rust-sdk/pagination/reference.md index 42439ce32b14..e530047a7b32 100644 --- a/seed/rust-sdk/pagination/reference.md +++ b/seed/rust-sdk/pagination/reference.md @@ -14,7 +14,6 @@ ```rust use seed_pagination::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { @@ -231,7 +230,6 @@ async fn main() { ```rust use seed_pagination::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { @@ -470,7 +468,6 @@ the next page of results. ```rust use seed_pagination::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { @@ -693,7 +690,6 @@ paginated endpoint. ```rust use seed_pagination::prelude::*; -use uuid::Uuid; #[tokio::main] async fn main() { @@ -753,7 +749,6 @@ async fn main() { ```rust use seed_pagination::prelude::*; -use uuid::Uuid; #[tokio::main] async fn main() { @@ -1076,7 +1071,6 @@ async fn main() { ```rust use seed_pagination::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { @@ -1312,7 +1306,6 @@ the next page of results. ```rust use seed_pagination::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { @@ -1532,7 +1525,6 @@ paginated endpoint. ```rust use seed_pagination::prelude::*; -use uuid::Uuid; #[tokio::main] async fn main() { @@ -1591,7 +1583,6 @@ async fn main() { ```rust use seed_pagination::prelude::*; -use uuid::Uuid; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/path-parameters/README.md b/seed/rust-sdk/path-parameters/README.md index ce2ecfb4d3d5..6f17e4636295 100644 --- a/seed/rust-sdk/path-parameters/README.md +++ b/seed/rust-sdk/path-parameters/README.md @@ -30,7 +30,6 @@ Instantiate and use the client with the following: ```rust use seed_path_parameters::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/path-parameters/dynamic-snippets/example4.rs b/seed/rust-sdk/path-parameters/dynamic-snippets/example4.rs index fe5214fe3b39..4d13d69b2510 100644 --- a/seed/rust-sdk/path-parameters/dynamic-snippets/example4.rs +++ b/seed/rust-sdk/path-parameters/dynamic-snippets/example4.rs @@ -1,5 +1,4 @@ use seed_path_parameters::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/path-parameters/dynamic-snippets/example5.rs b/seed/rust-sdk/path-parameters/dynamic-snippets/example5.rs index 92a8abf3a713..402804e1107b 100644 --- a/seed/rust-sdk/path-parameters/dynamic-snippets/example5.rs +++ b/seed/rust-sdk/path-parameters/dynamic-snippets/example5.rs @@ -1,5 +1,4 @@ use seed_path_parameters::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/path-parameters/reference.md b/seed/rust-sdk/path-parameters/reference.md index e076511010c4..713361178464 100644 --- a/seed/rust-sdk/path-parameters/reference.md +++ b/seed/rust-sdk/path-parameters/reference.md @@ -285,7 +285,6 @@ async fn main() { ```rust use seed_path_parameters::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { @@ -345,7 +344,6 @@ async fn main() { ```rust use seed_path_parameters::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/property-access/README.md b/seed/rust-sdk/property-access/README.md index 8638c79cbfef..0870a95c58e6 100644 --- a/seed/rust-sdk/property-access/README.md +++ b/seed/rust-sdk/property-access/README.md @@ -30,7 +30,6 @@ Instantiate and use the client with the following: ```rust use seed_property_access::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/property-access/dynamic-snippets/example0.rs b/seed/rust-sdk/property-access/dynamic-snippets/example0.rs index fc75689e5915..35bc354bb216 100644 --- a/seed/rust-sdk/property-access/dynamic-snippets/example0.rs +++ b/seed/rust-sdk/property-access/dynamic-snippets/example0.rs @@ -1,5 +1,4 @@ use seed_property_access::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/property-access/reference.md b/seed/rust-sdk/property-access/reference.md index e638f2f3f365..ea43ed3baea3 100644 --- a/seed/rust-sdk/property-access/reference.md +++ b/seed/rust-sdk/property-access/reference.md @@ -13,7 +13,6 @@ ```rust use seed_property_access::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/query-parameters-openapi-as-objects/README.md b/seed/rust-sdk/query-parameters-openapi-as-objects/README.md index ad36913ee892..16c9a85ca6d5 100644 --- a/seed/rust-sdk/query-parameters-openapi-as-objects/README.md +++ b/seed/rust-sdk/query-parameters-openapi-as-objects/README.md @@ -29,9 +29,7 @@ A full reference for this library is available [here](./reference.md). Instantiate and use the client with the following: ```rust -use chrono::{DateTime, Utc}; use seed_api::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/query-parameters-openapi-as-objects/dynamic-snippets/example0.rs b/seed/rust-sdk/query-parameters-openapi-as-objects/dynamic-snippets/example0.rs index 551f73a4a584..84da80ee9cc0 100644 --- a/seed/rust-sdk/query-parameters-openapi-as-objects/dynamic-snippets/example0.rs +++ b/seed/rust-sdk/query-parameters-openapi-as-objects/dynamic-snippets/example0.rs @@ -1,6 +1,4 @@ -use chrono::{DateTime, Utc}; use seed_api::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/query-parameters-openapi-as-objects/reference.md b/seed/rust-sdk/query-parameters-openapi-as-objects/reference.md index d3ecf94b147a..870de4acc087 100644 --- a/seed/rust-sdk/query-parameters-openapi-as-objects/reference.md +++ b/seed/rust-sdk/query-parameters-openapi-as-objects/reference.md @@ -12,9 +12,7 @@
```rust -use chrono::{DateTime, Utc}; use seed_api::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/query-parameters-openapi/README.md b/seed/rust-sdk/query-parameters-openapi/README.md index 031f17a6c606..ea85b83fdd63 100644 --- a/seed/rust-sdk/query-parameters-openapi/README.md +++ b/seed/rust-sdk/query-parameters-openapi/README.md @@ -29,9 +29,7 @@ A full reference for this library is available [here](./reference.md). Instantiate and use the client with the following: ```rust -use chrono::{DateTime, Utc}; use seed_api::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/query-parameters-openapi/dynamic-snippets/example0.rs b/seed/rust-sdk/query-parameters-openapi/dynamic-snippets/example0.rs index 7ac828f7c946..aa2bc8cbab68 100644 --- a/seed/rust-sdk/query-parameters-openapi/dynamic-snippets/example0.rs +++ b/seed/rust-sdk/query-parameters-openapi/dynamic-snippets/example0.rs @@ -1,6 +1,4 @@ -use chrono::{DateTime, Utc}; use seed_api::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/query-parameters-openapi/reference.md b/seed/rust-sdk/query-parameters-openapi/reference.md index 0b61d62c0d36..dcdca39d77cf 100644 --- a/seed/rust-sdk/query-parameters-openapi/reference.md +++ b/seed/rust-sdk/query-parameters-openapi/reference.md @@ -12,9 +12,7 @@
```rust -use chrono::{DateTime, Utc}; use seed_api::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/query-parameters/README.md b/seed/rust-sdk/query-parameters/README.md index f476d58ac8a9..0f359aebc5d9 100644 --- a/seed/rust-sdk/query-parameters/README.md +++ b/seed/rust-sdk/query-parameters/README.md @@ -29,10 +29,7 @@ A full reference for this library is available [here](./reference.md). Instantiate and use the client with the following: ```rust -use chrono::{DateTime, NaiveDate, Utc}; use seed_query_parameters::prelude::*; -use std::collections::{HashMap, HashSet}; -use uuid::Uuid; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/query-parameters/dynamic-snippets/example0.rs b/seed/rust-sdk/query-parameters/dynamic-snippets/example0.rs index bfda83e8fe44..9fcdd502a538 100644 --- a/seed/rust-sdk/query-parameters/dynamic-snippets/example0.rs +++ b/seed/rust-sdk/query-parameters/dynamic-snippets/example0.rs @@ -1,7 +1,4 @@ -use chrono::{DateTime, NaiveDate, Utc}; use seed_query_parameters::prelude::*; -use std::collections::{HashMap, HashSet}; -use uuid::Uuid; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/query-parameters/reference.md b/seed/rust-sdk/query-parameters/reference.md index d55c8e16bd1f..e682c19c1ca7 100644 --- a/seed/rust-sdk/query-parameters/reference.md +++ b/seed/rust-sdk/query-parameters/reference.md @@ -13,10 +13,7 @@
```rust -use chrono::{DateTime, NaiveDate, Utc}; use seed_query_parameters::prelude::*; -use std::collections::{HashMap, HashSet}; -use uuid::Uuid; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/request-parameters/README.md b/seed/rust-sdk/request-parameters/README.md index 4fe509385255..32bc3b4ead52 100644 --- a/seed/rust-sdk/request-parameters/README.md +++ b/seed/rust-sdk/request-parameters/README.md @@ -30,7 +30,6 @@ Instantiate and use the client with the following: ```rust use seed_request_parameters::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/request-parameters/dynamic-snippets/example0.rs b/seed/rust-sdk/request-parameters/dynamic-snippets/example0.rs index 8d37f8336cf5..cb4496862b16 100644 --- a/seed/rust-sdk/request-parameters/dynamic-snippets/example0.rs +++ b/seed/rust-sdk/request-parameters/dynamic-snippets/example0.rs @@ -1,5 +1,4 @@ use seed_request_parameters::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/request-parameters/dynamic-snippets/example1.rs b/seed/rust-sdk/request-parameters/dynamic-snippets/example1.rs index 83b3e90077e6..5230337a83d9 100644 --- a/seed/rust-sdk/request-parameters/dynamic-snippets/example1.rs +++ b/seed/rust-sdk/request-parameters/dynamic-snippets/example1.rs @@ -1,5 +1,4 @@ use seed_request_parameters::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/request-parameters/reference.md b/seed/rust-sdk/request-parameters/reference.md index 08d01d0cd50f..9e11f11492fd 100644 --- a/seed/rust-sdk/request-parameters/reference.md +++ b/seed/rust-sdk/request-parameters/reference.md @@ -14,7 +14,6 @@ ```rust use seed_request_parameters::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { @@ -99,7 +98,6 @@ async fn main() { ```rust use seed_request_parameters::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { @@ -198,10 +196,7 @@ async fn main() {
```rust -use chrono::{DateTime, NaiveDate, Utc}; use seed_request_parameters::prelude::*; -use std::collections::{HashMap, HashSet}; -use uuid::Uuid; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/server-sent-event-examples/README.md b/seed/rust-sdk/server-sent-event-examples/README.md index 0d69c8fc952f..d9438c5895c3 100644 --- a/seed/rust-sdk/server-sent-event-examples/README.md +++ b/seed/rust-sdk/server-sent-event-examples/README.md @@ -30,7 +30,6 @@ Instantiate and use the client with the following: ```rust use seed_server_sent_events::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/server-sent-event-examples/dynamic-snippets/example0.rs b/seed/rust-sdk/server-sent-event-examples/dynamic-snippets/example0.rs index 42129178a701..264b2612eb1c 100644 --- a/seed/rust-sdk/server-sent-event-examples/dynamic-snippets/example0.rs +++ b/seed/rust-sdk/server-sent-event-examples/dynamic-snippets/example0.rs @@ -1,5 +1,4 @@ use seed_server_sent_events::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/server-sent-event-examples/dynamic-snippets/example1.rs b/seed/rust-sdk/server-sent-event-examples/dynamic-snippets/example1.rs index 966172241afe..a648875f36d9 100644 --- a/seed/rust-sdk/server-sent-event-examples/dynamic-snippets/example1.rs +++ b/seed/rust-sdk/server-sent-event-examples/dynamic-snippets/example1.rs @@ -1,5 +1,4 @@ use seed_server_sent_events::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/server-sent-event-examples/reference.md b/seed/rust-sdk/server-sent-event-examples/reference.md index e8bdaa996977..f900d52d0bf2 100644 --- a/seed/rust-sdk/server-sent-event-examples/reference.md +++ b/seed/rust-sdk/server-sent-event-examples/reference.md @@ -14,7 +14,6 @@ ```rust use seed_server_sent_events::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/server-sent-events/README.md b/seed/rust-sdk/server-sent-events/README.md index eef351fea9cb..0851c2d69a41 100644 --- a/seed/rust-sdk/server-sent-events/README.md +++ b/seed/rust-sdk/server-sent-events/README.md @@ -30,7 +30,6 @@ Instantiate and use the client with the following: ```rust use seed_server_sent_events::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/server-sent-events/dynamic-snippets/example0.rs b/seed/rust-sdk/server-sent-events/dynamic-snippets/example0.rs index 966172241afe..a648875f36d9 100644 --- a/seed/rust-sdk/server-sent-events/dynamic-snippets/example0.rs +++ b/seed/rust-sdk/server-sent-events/dynamic-snippets/example0.rs @@ -1,5 +1,4 @@ use seed_server_sent_events::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/server-sent-events/reference.md b/seed/rust-sdk/server-sent-events/reference.md index a883c0b72c95..7a0065f56fc7 100644 --- a/seed/rust-sdk/server-sent-events/reference.md +++ b/seed/rust-sdk/server-sent-events/reference.md @@ -14,7 +14,6 @@ ```rust use seed_server_sent_events::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/streaming-parameter/README.md b/seed/rust-sdk/streaming-parameter/README.md index ec6687488eb7..feb193b44153 100644 --- a/seed/rust-sdk/streaming-parameter/README.md +++ b/seed/rust-sdk/streaming-parameter/README.md @@ -30,7 +30,6 @@ Instantiate and use the client with the following: ```rust use seed_streaming::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/streaming-parameter/dynamic-snippets/example0.rs b/seed/rust-sdk/streaming-parameter/dynamic-snippets/example0.rs index cd735d664433..49a7bca6d454 100644 --- a/seed/rust-sdk/streaming-parameter/dynamic-snippets/example0.rs +++ b/seed/rust-sdk/streaming-parameter/dynamic-snippets/example0.rs @@ -1,5 +1,4 @@ use seed_streaming::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/streaming-parameter/dynamic-snippets/example1.rs b/seed/rust-sdk/streaming-parameter/dynamic-snippets/example1.rs index 533ff8308ee4..e2388170c36a 100644 --- a/seed/rust-sdk/streaming-parameter/dynamic-snippets/example1.rs +++ b/seed/rust-sdk/streaming-parameter/dynamic-snippets/example1.rs @@ -1,5 +1,4 @@ use seed_streaming::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/streaming-parameter/reference.md b/seed/rust-sdk/streaming-parameter/reference.md index 0c0cdb8b6e70..b88829d76eec 100644 --- a/seed/rust-sdk/streaming-parameter/reference.md +++ b/seed/rust-sdk/streaming-parameter/reference.md @@ -14,7 +14,6 @@ ```rust use seed_streaming::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/streaming/README.md b/seed/rust-sdk/streaming/README.md index 33c6cce04e8a..89db18915c45 100644 --- a/seed/rust-sdk/streaming/README.md +++ b/seed/rust-sdk/streaming/README.md @@ -30,7 +30,6 @@ Instantiate and use the client with the following: ```rust use seed_streaming::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/streaming/dynamic-snippets/example0.rs b/seed/rust-sdk/streaming/dynamic-snippets/example0.rs index acc2c3f87cb6..1df1619b9f22 100644 --- a/seed/rust-sdk/streaming/dynamic-snippets/example0.rs +++ b/seed/rust-sdk/streaming/dynamic-snippets/example0.rs @@ -1,5 +1,4 @@ use seed_streaming::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/streaming/dynamic-snippets/example1.rs b/seed/rust-sdk/streaming/dynamic-snippets/example1.rs index 89a2178011e9..c934dd6fbafc 100644 --- a/seed/rust-sdk/streaming/dynamic-snippets/example1.rs +++ b/seed/rust-sdk/streaming/dynamic-snippets/example1.rs @@ -1,5 +1,4 @@ use seed_streaming::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/streaming/dynamic-snippets/example2.rs b/seed/rust-sdk/streaming/dynamic-snippets/example2.rs index bc770687ef41..cbd923156778 100644 --- a/seed/rust-sdk/streaming/dynamic-snippets/example2.rs +++ b/seed/rust-sdk/streaming/dynamic-snippets/example2.rs @@ -1,5 +1,4 @@ use seed_streaming::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/streaming/reference.md b/seed/rust-sdk/streaming/reference.md index 22f85871945b..5e00740709c2 100644 --- a/seed/rust-sdk/streaming/reference.md +++ b/seed/rust-sdk/streaming/reference.md @@ -14,7 +14,6 @@ ```rust use seed_streaming::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { @@ -81,7 +80,6 @@ async fn main() { ```rust use seed_streaming::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/trace/README.md b/seed/rust-sdk/trace/README.md index d344d833cfbe..762487b2e31f 100644 --- a/seed/rust-sdk/trace/README.md +++ b/seed/rust-sdk/trace/README.md @@ -30,7 +30,6 @@ Instantiate and use the client with the following: ```rust use seed_trace::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/trace/dynamic-snippets/example1.rs b/seed/rust-sdk/trace/dynamic-snippets/example1.rs index 02eb0c5b433d..3ca0f8852886 100644 --- a/seed/rust-sdk/trace/dynamic-snippets/example1.rs +++ b/seed/rust-sdk/trace/dynamic-snippets/example1.rs @@ -1,5 +1,4 @@ use seed_trace::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/trace/dynamic-snippets/example10.rs b/seed/rust-sdk/trace/dynamic-snippets/example10.rs index dfca6e1d236e..b93bc8dd839d 100644 --- a/seed/rust-sdk/trace/dynamic-snippets/example10.rs +++ b/seed/rust-sdk/trace/dynamic-snippets/example10.rs @@ -1,5 +1,4 @@ use seed_trace::prelude::*; -use std::collections::HashSet; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/trace/dynamic-snippets/example12.rs b/seed/rust-sdk/trace/dynamic-snippets/example12.rs index 29d951ba2bf1..bfff63f5848f 100644 --- a/seed/rust-sdk/trace/dynamic-snippets/example12.rs +++ b/seed/rust-sdk/trace/dynamic-snippets/example12.rs @@ -1,6 +1,4 @@ -use chrono::{DateTime, Utc}; use seed_trace::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/trace/dynamic-snippets/example17.rs b/seed/rust-sdk/trace/dynamic-snippets/example17.rs index 55f71782ab2f..7b19a5a10cc6 100644 --- a/seed/rust-sdk/trace/dynamic-snippets/example17.rs +++ b/seed/rust-sdk/trace/dynamic-snippets/example17.rs @@ -1,5 +1,4 @@ use seed_trace::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/trace/dynamic-snippets/example18.rs b/seed/rust-sdk/trace/dynamic-snippets/example18.rs index 55f71782ab2f..7b19a5a10cc6 100644 --- a/seed/rust-sdk/trace/dynamic-snippets/example18.rs +++ b/seed/rust-sdk/trace/dynamic-snippets/example18.rs @@ -1,5 +1,4 @@ use seed_trace::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/trace/dynamic-snippets/example2.rs b/seed/rust-sdk/trace/dynamic-snippets/example2.rs index a7ba9c5a5cd2..464fad9bb2c0 100644 --- a/seed/rust-sdk/trace/dynamic-snippets/example2.rs +++ b/seed/rust-sdk/trace/dynamic-snippets/example2.rs @@ -1,6 +1,4 @@ -use chrono::{DateTime, Utc}; use seed_trace::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/trace/dynamic-snippets/example20.rs b/seed/rust-sdk/trace/dynamic-snippets/example20.rs index 10d8e8768cc3..ad9fc5af6fb3 100644 --- a/seed/rust-sdk/trace/dynamic-snippets/example20.rs +++ b/seed/rust-sdk/trace/dynamic-snippets/example20.rs @@ -1,5 +1,4 @@ use seed_trace::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/trace/dynamic-snippets/example21.rs b/seed/rust-sdk/trace/dynamic-snippets/example21.rs index a717b8fdde96..8d99a584d99c 100644 --- a/seed/rust-sdk/trace/dynamic-snippets/example21.rs +++ b/seed/rust-sdk/trace/dynamic-snippets/example21.rs @@ -1,5 +1,4 @@ use seed_trace::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/trace/dynamic-snippets/example23.rs b/seed/rust-sdk/trace/dynamic-snippets/example23.rs index 6154f68a9e83..ed7dd2e122b0 100644 --- a/seed/rust-sdk/trace/dynamic-snippets/example23.rs +++ b/seed/rust-sdk/trace/dynamic-snippets/example23.rs @@ -1,5 +1,4 @@ use seed_trace::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/trace/dynamic-snippets/example3.rs b/seed/rust-sdk/trace/dynamic-snippets/example3.rs index b2d675c775f2..41b380a7d4a6 100644 --- a/seed/rust-sdk/trace/dynamic-snippets/example3.rs +++ b/seed/rust-sdk/trace/dynamic-snippets/example3.rs @@ -1,5 +1,4 @@ use seed_trace::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/trace/dynamic-snippets/example4.rs b/seed/rust-sdk/trace/dynamic-snippets/example4.rs index ec3b35bbf3ad..91d92865a35d 100644 --- a/seed/rust-sdk/trace/dynamic-snippets/example4.rs +++ b/seed/rust-sdk/trace/dynamic-snippets/example4.rs @@ -1,6 +1,4 @@ -use chrono::{DateTime, Utc}; use seed_trace::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/trace/dynamic-snippets/example5.rs b/seed/rust-sdk/trace/dynamic-snippets/example5.rs index 7a44e7c2355b..4273a2940edd 100644 --- a/seed/rust-sdk/trace/dynamic-snippets/example5.rs +++ b/seed/rust-sdk/trace/dynamic-snippets/example5.rs @@ -1,6 +1,4 @@ use seed_trace::prelude::*; -use std::collections::{HashMap, HashSet}; -use uuid::Uuid; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/trace/dynamic-snippets/example6.rs b/seed/rust-sdk/trace/dynamic-snippets/example6.rs index 5cc4b603a9d4..665802c56aed 100644 --- a/seed/rust-sdk/trace/dynamic-snippets/example6.rs +++ b/seed/rust-sdk/trace/dynamic-snippets/example6.rs @@ -1,6 +1,4 @@ use seed_trace::prelude::*; -use std::collections::{HashMap, HashSet}; -use uuid::Uuid; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/trace/dynamic-snippets/example7.rs b/seed/rust-sdk/trace/dynamic-snippets/example7.rs index 32299b403b82..99f2f494f1cd 100644 --- a/seed/rust-sdk/trace/dynamic-snippets/example7.rs +++ b/seed/rust-sdk/trace/dynamic-snippets/example7.rs @@ -1,6 +1,4 @@ use seed_trace::prelude::*; -use std::collections::{HashMap, HashSet}; -use uuid::Uuid; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/trace/dynamic-snippets/example8.rs b/seed/rust-sdk/trace/dynamic-snippets/example8.rs index aa2faa7da243..6e20028d303b 100644 --- a/seed/rust-sdk/trace/dynamic-snippets/example8.rs +++ b/seed/rust-sdk/trace/dynamic-snippets/example8.rs @@ -1,6 +1,4 @@ use seed_trace::prelude::*; -use std::collections::{HashMap, HashSet}; -use uuid::Uuid; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/trace/reference.md b/seed/rust-sdk/trace/reference.md index 5295d97aa7ff..0c782b88c8df 100644 --- a/seed/rust-sdk/trace/reference.md +++ b/seed/rust-sdk/trace/reference.md @@ -50,7 +50,6 @@ async fn main() { ```rust use seed_trace::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { @@ -107,9 +106,7 @@ async fn main() {
```rust -use chrono::{DateTime, Utc}; use seed_trace::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { @@ -172,7 +169,6 @@ async fn main() { ```rust use seed_trace::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { @@ -229,9 +225,7 @@ async fn main() {
```rust -use chrono::{DateTime, Utc}; use seed_trace::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { @@ -294,8 +288,6 @@ async fn main() { ```rust use seed_trace::prelude::*; -use std::collections::{HashMap, HashSet}; -use uuid::Uuid; #[tokio::main] async fn main() { @@ -457,8 +449,6 @@ async fn main() { ```rust use seed_trace::prelude::*; -use std::collections::{HashMap, HashSet}; -use uuid::Uuid; #[tokio::main] async fn main() { @@ -600,8 +590,6 @@ async fn main() { ```rust use seed_trace::prelude::*; -use std::collections::{HashMap, HashSet}; -use uuid::Uuid; #[tokio::main] async fn main() { @@ -759,8 +747,6 @@ async fn main() { ```rust use seed_trace::prelude::*; -use std::collections::{HashMap, HashSet}; -use uuid::Uuid; #[tokio::main] async fn main() { @@ -929,7 +915,6 @@ async fn main() { ```rust use seed_trace::prelude::*; -use std::collections::HashSet; #[tokio::main] async fn main() { @@ -1024,9 +1009,7 @@ Create a new playlist
```rust -use chrono::{DateTime, Utc}; use seed_trace::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { @@ -1325,7 +1308,6 @@ Updates a playlist ```rust use seed_trace::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { @@ -1488,7 +1470,6 @@ Creates a problem ```rust use seed_trace::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { @@ -1605,7 +1586,6 @@ Updates a problem ```rust use seed_trace::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { @@ -1805,7 +1785,6 @@ Returns default starter files for problem ```rust use seed_trace::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/undiscriminated-unions/dynamic-snippets/example3.rs b/seed/rust-sdk/undiscriminated-unions/dynamic-snippets/example3.rs index b3f621bea101..8e2b1f406212 100644 --- a/seed/rust-sdk/undiscriminated-unions/dynamic-snippets/example3.rs +++ b/seed/rust-sdk/undiscriminated-unions/dynamic-snippets/example3.rs @@ -1,5 +1,4 @@ use seed_undiscriminated_unions::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/undiscriminated-unions/dynamic-snippets/example4.rs b/seed/rust-sdk/undiscriminated-unions/dynamic-snippets/example4.rs index b3f621bea101..8e2b1f406212 100644 --- a/seed/rust-sdk/undiscriminated-unions/dynamic-snippets/example4.rs +++ b/seed/rust-sdk/undiscriminated-unions/dynamic-snippets/example4.rs @@ -1,5 +1,4 @@ use seed_undiscriminated_unions::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/undiscriminated-unions/dynamic-snippets/example5.rs b/seed/rust-sdk/undiscriminated-unions/dynamic-snippets/example5.rs index 617b8f0d9dd6..f1845cba0fdf 100644 --- a/seed/rust-sdk/undiscriminated-unions/dynamic-snippets/example5.rs +++ b/seed/rust-sdk/undiscriminated-unions/dynamic-snippets/example5.rs @@ -1,5 +1,4 @@ use seed_undiscriminated_unions::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/undiscriminated-unions/dynamic-snippets/example6.rs b/seed/rust-sdk/undiscriminated-unions/dynamic-snippets/example6.rs index 682f05495774..fc6cdcd421f8 100644 --- a/seed/rust-sdk/undiscriminated-unions/dynamic-snippets/example6.rs +++ b/seed/rust-sdk/undiscriminated-unions/dynamic-snippets/example6.rs @@ -1,5 +1,4 @@ use seed_undiscriminated_unions::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/undiscriminated-unions/reference.md b/seed/rust-sdk/undiscriminated-unions/reference.md index 1bf11c03c989..bbfcc2f32bee 100644 --- a/seed/rust-sdk/undiscriminated-unions/reference.md +++ b/seed/rust-sdk/undiscriminated-unions/reference.md @@ -85,7 +85,6 @@ async fn main() { ```rust use seed_undiscriminated_unions::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { @@ -129,7 +128,6 @@ async fn main() { ```rust use seed_undiscriminated_unions::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/unions/dynamic-snippets/example1.rs b/seed/rust-sdk/unions/dynamic-snippets/example1.rs index ebbc8aa32b44..a2a7dea2e443 100644 --- a/seed/rust-sdk/unions/dynamic-snippets/example1.rs +++ b/seed/rust-sdk/unions/dynamic-snippets/example1.rs @@ -1,6 +1,4 @@ -use chrono::{DateTime, Utc}; use seed_unions::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/unions/dynamic-snippets/example2.rs b/seed/rust-sdk/unions/dynamic-snippets/example2.rs index a5ee9e2a802d..379988df1f85 100644 --- a/seed/rust-sdk/unions/dynamic-snippets/example2.rs +++ b/seed/rust-sdk/unions/dynamic-snippets/example2.rs @@ -1,6 +1,4 @@ -use chrono::{DateTime, Utc}; use seed_unions::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/unions/dynamic-snippets/example4.rs b/seed/rust-sdk/unions/dynamic-snippets/example4.rs index 7c58adc36d90..adc2a144b2dc 100644 --- a/seed/rust-sdk/unions/dynamic-snippets/example4.rs +++ b/seed/rust-sdk/unions/dynamic-snippets/example4.rs @@ -1,5 +1,4 @@ use seed_unions::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/unions/reference.md b/seed/rust-sdk/unions/reference.md index 394b19de3672..264079b90ddf 100644 --- a/seed/rust-sdk/unions/reference.md +++ b/seed/rust-sdk/unions/reference.md @@ -62,9 +62,7 @@ async fn main() {
```rust -use chrono::{DateTime, Utc}; use seed_unions::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { @@ -108,9 +106,7 @@ async fn main() {
```rust -use chrono::{DateTime, Utc}; use seed_unions::prelude::*; -use std::collections::{HashMap, HashSet}; #[tokio::main] async fn main() { @@ -212,7 +208,6 @@ async fn main() { ```rust use seed_unions::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/unknown/README.md b/seed/rust-sdk/unknown/README.md index 3df3817a6b85..b74fb6f9304c 100644 --- a/seed/rust-sdk/unknown/README.md +++ b/seed/rust-sdk/unknown/README.md @@ -30,7 +30,6 @@ Instantiate and use the client with the following: ```rust use seed_unknown_as_any::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/unknown/dynamic-snippets/example0.rs b/seed/rust-sdk/unknown/dynamic-snippets/example0.rs index 0b831e1d13dc..dd8ae1e769f2 100644 --- a/seed/rust-sdk/unknown/dynamic-snippets/example0.rs +++ b/seed/rust-sdk/unknown/dynamic-snippets/example0.rs @@ -1,5 +1,4 @@ use seed_unknown_as_any::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/unknown/dynamic-snippets/example1.rs b/seed/rust-sdk/unknown/dynamic-snippets/example1.rs index 4d46ff13ccbc..eff0c973350f 100644 --- a/seed/rust-sdk/unknown/dynamic-snippets/example1.rs +++ b/seed/rust-sdk/unknown/dynamic-snippets/example1.rs @@ -1,5 +1,4 @@ use seed_unknown_as_any::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/unknown/reference.md b/seed/rust-sdk/unknown/reference.md index d2f7a93f7ec0..249e9ea0fe02 100644 --- a/seed/rust-sdk/unknown/reference.md +++ b/seed/rust-sdk/unknown/reference.md @@ -14,7 +14,6 @@ ```rust use seed_unknown_as_any::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { @@ -52,7 +51,6 @@ async fn main() { ```rust use seed_unknown_as_any::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/validation/README.md b/seed/rust-sdk/validation/README.md index b5e767a78753..08db1e81668f 100644 --- a/seed/rust-sdk/validation/README.md +++ b/seed/rust-sdk/validation/README.md @@ -30,7 +30,6 @@ Instantiate and use the client with the following: ```rust use seed_validation::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/validation/dynamic-snippets/example0.rs b/seed/rust-sdk/validation/dynamic-snippets/example0.rs index f04d820a18b5..6950d4ffff49 100644 --- a/seed/rust-sdk/validation/dynamic-snippets/example0.rs +++ b/seed/rust-sdk/validation/dynamic-snippets/example0.rs @@ -1,5 +1,4 @@ use seed_validation::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/validation/reference.md b/seed/rust-sdk/validation/reference.md index 451439c3b76c..2fc0510bb813 100644 --- a/seed/rust-sdk/validation/reference.md +++ b/seed/rust-sdk/validation/reference.md @@ -13,7 +13,6 @@ ```rust use seed_validation::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/websocket-inferred-auth/README.md b/seed/rust-sdk/websocket-inferred-auth/README.md index 7642f4104a67..7e7602fe2c0a 100644 --- a/seed/rust-sdk/websocket-inferred-auth/README.md +++ b/seed/rust-sdk/websocket-inferred-auth/README.md @@ -30,7 +30,6 @@ Instantiate and use the client with the following: ```rust use seed_websocket_auth::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/websocket-inferred-auth/dynamic-snippets/example0.rs b/seed/rust-sdk/websocket-inferred-auth/dynamic-snippets/example0.rs index 3ac5dc88b452..ef27e8614e21 100644 --- a/seed/rust-sdk/websocket-inferred-auth/dynamic-snippets/example0.rs +++ b/seed/rust-sdk/websocket-inferred-auth/dynamic-snippets/example0.rs @@ -1,5 +1,4 @@ use seed_websocket_auth::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/websocket-inferred-auth/dynamic-snippets/example1.rs b/seed/rust-sdk/websocket-inferred-auth/dynamic-snippets/example1.rs index 4efe556ade92..1a9f0a7560cb 100644 --- a/seed/rust-sdk/websocket-inferred-auth/dynamic-snippets/example1.rs +++ b/seed/rust-sdk/websocket-inferred-auth/dynamic-snippets/example1.rs @@ -1,5 +1,4 @@ use seed_websocket_auth::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { diff --git a/seed/rust-sdk/websocket-inferred-auth/reference.md b/seed/rust-sdk/websocket-inferred-auth/reference.md index d5f5fb029e98..d8e0a88ffe70 100644 --- a/seed/rust-sdk/websocket-inferred-auth/reference.md +++ b/seed/rust-sdk/websocket-inferred-auth/reference.md @@ -14,7 +14,6 @@ ```rust use seed_websocket_auth::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() { @@ -109,7 +108,6 @@ async fn main() { ```rust use seed_websocket_auth::prelude::*; -use std::collections::HashMap; #[tokio::main] async fn main() {