Cargo Features

[dependencies]
crypto-utils = { version = "0.4.1", default-features = false, features = ["full", "sha", "jwt"] }
default = full

The full feature is set by default whenever crypto-utils is added without default-features = false somewhere in the dependency tree.

full default = jwt, sha
sha full = hmac, sha1, sha2

Affects crypto-utils::sha

jwt full = chrono, jsonwebtoken, serde

Affects crypto-utils::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.

sha1 sha?
sha2 sha?
hmac sha?
chrono jwt?
serde jwt?
jsonwebtoken jwt?

Enables jsonwebtoken ^8.1.1