Repository: smithy-lang/smithy-rs (language: rust)

Issue:
Remove sparse registry config
The sparse registry config can be removed when upgrading to Rust 1.70


Discussion / hints:

Fix patch:
diff --git a/.cargo/config.toml b/.cargo/config.toml
index 5afa0e9471..0015055659 100644
--- a/.cargo/config.toml
+++ b/.cargo/config.toml
@@ -1,7 +1,3 @@
 [build]
 # Share one `target` directory at the project root for all Cargo projects and workspaces in smithy-rs
 target-dir = "target"
-
-# TODO(https://github.com/awslabs/smithy-rs/issues/2766): The sparse registry config can be removed when upgrading to Rust 1.70
-[registries.crates-io]
-protocol = "sparse"
diff --git a/tools/.cargo/config.toml b/tools/.cargo/config.toml
index 6636645498..2bf2a2e3e4 100644
--- a/tools/.cargo/config.toml
+++ b/tools/.cargo/config.toml
@@ -2,7 +2,3 @@
 # Tools shouldn't share `target` with the rest of the project to
 # avoid thrash from differing compiler flags
 target-dir = "target"
-
-# TODO(Rust 1.70): The sparse registry config can be removed when upgrading to Rust 1.70
-[registries.crates-io]
-protocol = "sparse"


Test patch:
diff --git a/aws/sdk/integration-tests/webassembly/.cargo/config.toml b/aws/sdk/integration-tests/webassembly/.cargo/config.toml
index e6e321b297..031dad7377 100644
--- a/aws/sdk/integration-tests/webassembly/.cargo/config.toml
+++ b/aws/sdk/integration-tests/webassembly/.cargo/config.toml
@@ -3,7 +3,3 @@ target = "wasm32-wasi"
 
 [target.wasm32-wasi]
 rustflags = ["-C", "opt-level=1"]
-
-# TODO(Rust 1.70): The sparse registry config can be removed when upgrading to Rust 1.70
-[registries.crates-io]
-protocol = "sparse"