Loading buildSrc/src/main/kotlin/aws/sdk/DocsLandingPage.kt +2 −2 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ package aws.sdk import org.gradle.api.Project import software.amazon.smithy.utils.CodeWriter import software.amazon.smithy.utils.SimpleCodeWriter import java.io.File /** Loading @@ -17,7 +17,7 @@ import java.io.File */ fun Project.docsLandingPage(awsServices: AwsServices, outputPath: File) { val project = this val writer = CodeWriter() val writer = SimpleCodeWriter() with(writer) { write("# AWS SDK for Rust") write( Loading buildSrc/src/main/kotlin/aws/sdk/VersionsManifest.kt +5 −5 Original line number Diff line number Diff line Loading @@ -33,12 +33,12 @@ data class VersionsManifest( smithyRsRevision = toml.getString("smithy_rs_revision"), awsDocSdkExamplesRevision = toml.getString("aws_doc_sdk_examples_revision"), crates = toml.getTable("crates").entrySet().map { entry -> val value = (entry.value as Toml) val crate = (entry.value as Toml) entry.key to CrateVersion( category = value.getString("category"), version = value.getString("version"), sourceHash = value.getString("source_hash"), modelHash = value.getString("model_hash"), category = crate.getString("category"), version = crate.getString("version"), sourceHash = crate.getString("source_hash"), modelHash = crate.getString("model_hash"), ) }.toMap(), ) Loading Loading
buildSrc/src/main/kotlin/aws/sdk/DocsLandingPage.kt +2 −2 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ package aws.sdk import org.gradle.api.Project import software.amazon.smithy.utils.CodeWriter import software.amazon.smithy.utils.SimpleCodeWriter import java.io.File /** Loading @@ -17,7 +17,7 @@ import java.io.File */ fun Project.docsLandingPage(awsServices: AwsServices, outputPath: File) { val project = this val writer = CodeWriter() val writer = SimpleCodeWriter() with(writer) { write("# AWS SDK for Rust") write( Loading
buildSrc/src/main/kotlin/aws/sdk/VersionsManifest.kt +5 −5 Original line number Diff line number Diff line Loading @@ -33,12 +33,12 @@ data class VersionsManifest( smithyRsRevision = toml.getString("smithy_rs_revision"), awsDocSdkExamplesRevision = toml.getString("aws_doc_sdk_examples_revision"), crates = toml.getTable("crates").entrySet().map { entry -> val value = (entry.value as Toml) val crate = (entry.value as Toml) entry.key to CrateVersion( category = value.getString("category"), version = value.getString("version"), sourceHash = value.getString("source_hash"), modelHash = value.getString("model_hash"), category = crate.getString("category"), version = crate.getString("version"), sourceHash = crate.getString("source_hash"), modelHash = crate.getString("model_hash"), ) }.toMap(), ) Loading