Skip to content

Commit 51a5fa5

Browse files
committed
Pin cc version
1 parent 65f3170 commit 51a5fa5

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ 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
2223
criterion = "0.5"
2324
futures-core = "0.3"
2425
futures-executor = "0.3"
@@ -47,4 +48,4 @@ tokio-stream = "0.1.1"
4748
tracing = { version = "0.1", default-features = false }
4849
tracing-core = { version = "0.1", default-features = false }
4950
tracing-subscriber = { version = "0.3", default-features = false }
50-
url = { version = "=2.5.0", default-features = false } #pinning the version supporting rustc 1.65
51+
url = { version = "=2.5.0", default-features = false } # pinning the version supporting rustc 1.65

opentelemetry/Cargo.toml

+5
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ 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+
3338
[features]
3439
default = ["trace", "metrics", "logs"]
3540
trace = ["pin-project-lite"]

0 commit comments

Comments
 (0)