Cargo Features
nanoservices-utils has no features set by default.
[dependencies]
nanoservices-utils = { version = "0.1.6", features = ["full", "actix", "rocket", "axum", "hyper", "networking", "tcp-messaging", "wasm-messaging", "jwt"] }
- full = actix, axum, hyper, jwt, networking, rocket, tcp-messaging, wasm-messaging
- actix full?
-
Enables actix-web
- rocket full?
-
Enables rocket
- axum full?
-
Enables axum
- hyper full?
-
Enables http-body-util, hyper, and serde_json
- networking full? tcp-messaging? wasm-messaging?
-
Enables bincode, bytes, and tokio-util
Affects
nanoservices-utils::networking
… - tcp-messaging full? = networking
-
tokio:
enable everything
Affects
networking::tcp
… - wasm-messaging full? = networking
-
Enables io-util, macros, rt, sync and time of tokio
Affects
networking::wasm
… - jwt full?
-
Enables jsonwebtoken
Affects
nanoservices-utils::jwt
…
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.