Cargo Features
[dependencies]
otel-opamp-rs = { version = "0.0.10", default-features = false, features = ["extras", "http", "websocket", "config", "launcher"] }
- default = http
-
The
http
feature is set by default wheneverotel-opamp-rs
is added without
somewhere in the dependency tree.default-features = false - extras = config, launcher
-
Extras provide support for unpacking OpAMP replies
- http default = reqwest
-
Affects
otel-opamp-rs::httpclient
… - websocket = tokio-tungstenite
-
Affects
otel-opamp-rs::wsclient
… - config extras? = serde, serde_yaml
-
Affects
extras::config
… - launcher extras? = crossbeam-channel, subprocess
-
Affects
extras::launcher
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- reqwest http
-
Enables reqwest ^0.11.18
Optional dependencies
- tokio-tungstenite websocket?
-
Enables tokio-tungstenite ^0.19.0
- serde config?
- serde_yaml config?
- crossbeam-channel launcher?
- subprocess launcher?