Cargo Features
nanoservices-utils has no features set by default.
[dependencies]
nanoservices-utils = { version = "0.1.4", features = ["full", "actix", "networking", "tcp-messaging", "wasm-messaging", "jwt"] }
- full = actix, jwt, networking, tcp-messaging, wasm-messaging
- actix full? = actix-web
- networking full? tcp-messaging? wasm-messaging? = bincode, bytes, 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? = 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.