Cargo Features
[dependencies]
locutus-core = { version = "0.0.3", default-features = false, features = ["websocket", "trace", "testing"] }
- default = websocket
-
The
websocket
feature is set by default wheneverlocutus-core
is added without
somewhere in the dependency tree.default-features = false - websocket default = rmp-serde
- trace = opentelemetry, opentelemetry-jaeger, tracing, tracing-opentelemetry, tracing-subscriber
- testing = arbitrary
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.
- rmp-serde websocket
- warp websocket
- tracing trace?
-
Enables tracing
Tracing deps
- opentelemetry trace?
-
Enables opentelemetry ^0.18.0
- opentelemetry-jaeger trace?
-
Enables opentelemetry-jaeger ^0.17.0
- tracing-opentelemetry trace?
-
Enables tracing-opentelemetry ^0.18.0
- tracing-subscriber trace?
- arbitrary testing?