@@ -14,7 +14,7 @@ exclude = ["protos/*/.github/*"]
1414# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1515
1616[features ]
17- history_builders = []
17+ history_builders = [" dep:rand " ]
1818otel = [" dep:opentelemetry" , " dep:opentelemetry_sdk" , " dep:opentelemetry-otlp" ]
1919prometheus = [
2020 " dep:prometheus" ,
@@ -26,15 +26,8 @@ prometheus = [
2626envconfig = [" dep:toml" , " dep:dirs" ]
2727serde_serialize = []
2828test-utilities = [" history_builders" ]
29- core-telemetry-bridge = [
30- " dep:ringbuf" ,
31- " dep:futures-channel" ,
32- ]
33- core-based-sdk = [
34- " core-telemetry-bridge" ,
35- " prometheus" ,
36- " envconfig" ,
37- ]
29+ core-telemetry-bridge = [" dep:ringbuf" , " dep:futures-channel" ]
30+ core-based-sdk = [" core-telemetry-bridge" , " prometheus" , " envconfig" ]
3831
3932[dependencies ]
4033anyhow = " 1.0"
@@ -77,7 +70,7 @@ prometheus = { version = "0.14", optional = true, default-features = false }
7770prost = { workspace = true }
7871prost-wkt = " 0.7"
7972prost-types = { workspace = true }
80- rand = " 0.10"
73+ rand = { version = " 0.10" , optional = true }
8174ringbuf = { version = " 0.4" , optional = true }
8275serde = { version = " 1.0" , features = [" derive" ] }
8376serde_json = { workspace = true }
@@ -88,7 +81,10 @@ tokio = { version = "1.47", default-features = false, features = [
8881 " rt" ,
8982], optional = true }
9083toml = { version = " 1.0" , optional = true }
91- tonic = { workspace = true , default-features = false , features = [" transport" , " codegen" ] }
84+ tonic = { workspace = true , default-features = false , features = [
85+ " transport" ,
86+ " codegen" ,
87+ ] }
9288tonic-prost = { workspace = true }
9389tracing = " 0.1"
9490# TODO [rust-sdk-branch]: Is it reasonable to make this optional?
0 commit comments