Cargo Features
[dependencies]
moonrise = { version = "0.0.1-rc.1", default-features = false, features = ["server", "simdjson"] }
- default = server
-
The
server
feature is set by default whenevermoonrise
is added without
somewhere in the dependency tree.default-features = false - server default = hyper, tokio
- simdjson = simd-json
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 server
- hyper server
-
Enables hyper ^0.14
- simd-json simdjson?
-
Enables simd-json ^0.6