Skip to content

Commit 06ca64b

Browse files
committed
Patch versions via patch_version.sh
1 parent b7fe43c commit 06ca64b

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

Cargo.toml

+1-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ debug = 1
1919
async-std = "1.10"
2020
async-trait = "0.1"
2121
bytes = "1"
22-
cc = "=1.0.105" # pinning version supporting rustc 1.65
2322
criterion = "0.5"
2423
futures-core = "0.3"
2524
futures-executor = "0.3"
@@ -46,4 +45,4 @@ tokio-stream = "0.1.1"
4645
tracing = { version = "0.1", default-features = false }
4746
tracing-core = { version = "0.1", default-features = false }
4847
tracing-subscriber = { version = "0.3", default-features = false }
49-
url = { version = "=2.5.0", default-features = false } #pinning the version supporting rustc 1.65
48+
url = { version = "2.5", default-features = false } #pinning the version supporting rustc 1.65

opentelemetry/Cargo.toml

-5
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,6 @@ thiserror = { workspace = true }
3030
[target.'cfg(all(target_arch = "wasm32", not(target_os = "wasi")))'.dependencies]
3131
js-sys = "0.3.63"
3232

33-
# This cfg can't ever be enabled but cargo will respect it anyway.
34-
# Meaning we can use this to pin unused transitive dependencies.
35-
[target.'cfg(any())'.dependencies]
36-
cc = { workspace = true }
37-
3833
[features]
3934
default = ["trace", "metrics", "logs"]
4035
trace = ["pin-project-lite"]

scripts/patch_dependencies.sh

+2
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ function patch_version() {
66
cargo update -p $1:$latest_version --precise $2
77
}
88

9+
patch_version cc 1.0.105
10+
patch_version url 2.5.0

0 commit comments

Comments
 (0)