Cargo Features
[dependencies]
paseto = { version = "2.0.2+1.0.3", default-features = false, features = ["v1", "v2", "easy_tokens_chrono", "easy_tokens_time"] }
- default = easy_tokens_chrono, v1, v2
-
These default features are set whenever
paseto
is added without
somewhere in the dependency tree.default-features = false - v1 default = openssl
-
Affects
paseto::v1
… - v2 default = blake2, chacha20poly1305
-
Affects
paseto::v2
… - easy_tokens_chrono default = chrono, serde_json
-
Affects
paseto::tokens
… - easy_tokens_time = serde_json, time
-
Affects
paseto::tokens
…
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.