Skip to content

Commit 6422524

Browse files
TommyCpphdostedmorleycijothomas
authored
fix: disable workspace default feature (#1562)
Co-authored-by: Harold Dost <github@hdost.com> Co-authored-by: Ed Morley <501702+edmorley@users.noreply.github.com> Co-authored-by: Cijo Thomas <cijo.thomas@gmail.com>
1 parent d88e83d commit 6422524

File tree

9 files changed

+35
-561
lines changed

9 files changed

+35
-561
lines changed

Cargo.toml

+14-14
Original file line numberDiff line numberDiff line change
@@ -38,31 +38,31 @@ debug = 1
3838
async-std = "1.10"
3939
async-trait = "0.1"
4040
bytes = "1"
41-
env_logger = "0.10" # env_logger requires a newer MSRV
41+
env_logger = { version = "0.10", default-features = false } # env_logger requires a newer MSRV
4242
futures-core = "0.3"
4343
futures-executor = "0.3"
44-
futures-util = "0.3"
45-
hyper = "0.14"
46-
http = "0.2"
47-
isahc = "1.4"
44+
futures-util = { version = "0.3", default-features = false }
45+
hyper = { version = "0.14", default-features = false }
46+
http = { version = "0.2", default-features = false }
47+
isahc = { version = "1.4", default-features = false }
4848
log = "0.4"
4949
once_cell = "1.13"
5050
ordered-float = "4.0"
5151
pin-project-lite = "0.2"
5252
prost = "0.12"
5353
prost-build = "0.12"
5454
prost-types = "0.12"
55-
rand = "0.8"
55+
rand = { version = "0.8", default-features = false }
5656
reqwest = { version = "0.11", default-features = false }
57-
serde = "1.0"
57+
serde = { version = "1.0", default-features = false }
5858
serde_json = "1.0"
5959
temp-env = "0.3.6"
60-
thiserror = "1"
61-
tonic = "0.11"
60+
thiserror = { version = "1", default-features = false }
61+
tonic = { version = "0.11", default-features = false }
6262
tonic-build = "0.11"
63-
tokio = "1"
63+
tokio = { version = "1", default-features = false }
6464
tokio-stream = "0.1.1"
65-
tracing = "0.1"
66-
tracing-core = "0.1"
67-
tracing-subscriber = "0.3"
68-
url = "2.2"
65+
tracing = { version = "0.1", default-features = false }
66+
tracing-core = { version = "0.1", default-features = false }
67+
tracing-subscriber = { version = "0.3", default-features = false }
68+
url = { version = "2.2", default-features = false }

examples/tracing-grpc/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ path = "src/client.rs"
1515

1616
[dependencies]
1717
opentelemetry = { path = "../../opentelemetry" }
18-
opentelemetry_sdk = { path = "../../opentelemetry-sdk", features = ["rt-tokio"]}
18+
opentelemetry_sdk = { path = "../../opentelemetry-sdk", features = ["rt-tokio"] }
1919
opentelemetry-stdout = { path = "../../opentelemetry-stdout", features = ["trace"] }
2020
prost = { workspace = true }
2121
tokio = { workspace = true, features = ["full"] }

opentelemetry-jaeger-propagator/Cargo.toml

-5
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,8 @@ opentelemetry = { version = "0.21", default-features = false, features = [
2525
"trace",
2626
], path = "../opentelemetry" }
2727

28-
tonic = { workspace = true, optional = true }
29-
prost = { workspace = true, optional = true }
30-
prost-types = { workspace = true, optional = true }
31-
3228
[dev-dependencies]
3329
opentelemetry_sdk = { features = ["testing"], path = "../opentelemetry-sdk" }
3430

3531
[features]
3632
default = []
37-
integration_test = []

opentelemetry-jaeger-propagator/src/lib.rs

-3
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,5 @@
8888
///
8989
/// [jaeger propagation format]: https://www.jaegertracing.io/docs/1.18/client-libraries/#propagation-format
9090
pub mod propagator;
91-
#[cfg(feature = "integration_test")]
92-
#[doc(hidden)]
93-
pub mod testing;
9491

9592
pub use propagator::Propagator;

0 commit comments

Comments
 (0)