Skip to content

Commit 6c131f4

Browse files
authored
Various small clean-up operations (#3032)
Among other things, this also removes `log` from the workspace `Cargo.toml`. Nothing was referencing it, and looking at `git blame` I can find no reason I added it with only a major.minor version in 78ac814. A review of `Cargo.toml` shows that I added a couple in explicitly - `litemap` and `zerofrom` - to satisfy some Dependabot issues in case the `Cargo.lock` file is every regenerated, but those are full semvers. `log` first appeared in `Cargo.lock` when I first committed it to the repo.
1 parent 119b965 commit 6c131f4

File tree

4 files changed

+1
-1674
lines changed

4 files changed

+1
-1674
lines changed

Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ getrandom = { version = "0.3" }
106106
gloo-timers = { version = "0.3" }
107107
hmac = { version = "0.12" }
108108
litemap = "0.7.4"
109-
log = "0.4"
110109
openssl = { version = "0.10.72" }
111110
opentelemetry = { version = "0.30", features = ["trace"] }
112111
opentelemetry_sdk = "0.30"
@@ -120,7 +119,7 @@ rand_chacha = "0.9"
120119
reqwest = { version = "0.12.23", features = [
121120
"stream",
122121
], default-features = false }
123-
rust_decimal.version = "1.37.2"
122+
rust_decimal = "1.37.2"
124123
rustc_version = "0.4"
125124
serde = { version = "1.0", features = ["derive"] }
126125
serde_amqp = { version = "0.14", features = ["uuid"] }

sdk/core/azure_core/src/http/pipeline.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -185,14 +185,6 @@ fn push_unique<T: Policy + 'static>(policies: &mut Vec<Arc<dyn Policy>>, policy:
185185
}
186186
}
187187

188-
// // TODO: Should we instead use the newtype pattern?
189-
// impl Deref for Pipeline {
190-
// type Target = http::Pipeline;
191-
// fn deref(&self) -> &Self::Target {
192-
// &self.0
193-
// }
194-
// }
195-
196188
#[cfg(test)]
197189
mod tests {
198190
use super::*;

sdk/typespec/typespec_macros/tests/data/safe-debug-tests/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)