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

Enables full of tokio

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.

actix-web actix?
jsonwebtoken jwt?
bincode networking?
tokio-util networking?
bytes networking?
tokio tcp-messaging? wasm-messaging?