Cargo Features
[dependencies]
axol = { version = "0.1.5", default-features = false, features = ["ws", "tls", "multipart", "grpc", "trace", "cookie"] }
- default = cookie, grpc, multipart, tls, trace, ws
-
These default features are set whenever
axol
is added without
somewhere in the dependency tree.default-features = false - ws default = base64, sha1, tokio-tungstenite
- tls default = rustls, tokio-rustls, tokio-stream
- multipart default = multer
- grpc default = base64, prost
-
Affects
bidirectional::grpc
… - trace default = opentelemetry, opentelemetry_api, tracing, tracing-core, tracing-futures, tracing-opentelemetry, tracing-subscriber
-
Affects
multi::trace
… -
Enables cookie ^0.17
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.
- base64 grpc ws
-
Enables base64 ^0.21.0
- sha1 ws
- tokio-tungstenite ws
-
Enables tokio-tungstenite ^0.19
- rustls tls
-
Enables rustls ^0.20
- tokio-rustls tls
-
Enables tokio-rustls ^0.23
- tokio-stream tls
- multer multipart
-
Enables multer ^2.1
- prost grpc
-
Enables prost ^0.11
- tracing trace
- opentelemetry trace
-
Enables opentelemetry ^0.19.0
- opentelemetry_api trace
-
Enables opentelemetry_api ^0.19.0
- tracing-opentelemetry trace
-
Enables tracing-opentelemetry ^0.19.0
- tracing-futures trace
- tracing-subscriber trace
- tracing-core trace