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 whenever rust_utilities is added without default-features = false somewhere in the dependency tree.

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.

chrono jsonwebtoken?
hex sha?
sha-1 sha?
sha2 sha?