Cargo Features
[dependencies]
motorx-core = { version = "0.0.10", default-features = false, features = ["full", "logging", "serde-config", "tls", "wasm", "tokio", "hyper"] }
- default = hyper, tokio
-
These default features are set whenever
motorx-core
is added without
somewhere in the dependency tree.default-features = false - full = logging, serde-config, tls
- logging full? = tracing
- serde-config full? = http-serde, serde, serde_json
- tls full? = futures-util, rustls, rustls-native-certs, rustls-pemfile, tokio-rustls, webpki-roots
-
Affects
motorx-core::tls
… - wasm = hyper_wasi, tokio_wasi, wasmedge_wasi_socket
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.
- tokio default
-
Enables tokio
default
- hyper default
- tokio_wasi wasm?
-
Enables tokio_wasi
wasm
- hyper_wasi wasm?
- wasmedge_wasi_socket wasm?
-
Enables wasmedge_wasi_socket ^0.4
- tracing logging?
-
Enables tracing
logging feature
- rustls-native-certs tls?
-
Enables rustls-native-certs ^0.6
tls feature
- rustls tls?
-
Enables rustls ^0.20
- rustls-pemfile tls?
-
Enables rustls-pemfile ^1.0
- tokio-rustls tls?
-
Enables tokio-rustls ^0.23
- webpki-roots tls?
-
Enables webpki-roots ^0.22
- futures-util tls?
- serde serde-config?
-
Enables serde
json-config feature
- serde_json serde-config?
- http-serde serde-config?
-
Enables http-serde ^1.1.2