Cargo Features
[dependencies]
rust_utilities = { version = "0.2.0", default-features = false, features = ["full", "crypto", "sha", "jsonwebtoken"] }
- default = full
-
The
full
feature is set by default wheneverrust_utilities
is added without
somewhere in the dependency tree.default-features = false - full default = crypto, jsonwebtoken, sha
- crypto full jsonwebtoken? sha?
-
Affects
rust_utilities::crypto
… - sha full = crypto, hex, sha-1, sha2
-
Affects
crypto::sha
… - jsonwebtoken full = chrono, crypto
-
Enables jsonwebtoken ^8.1.0
Affects
crypto::jsonwebtoken
…
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.