Cargo Features

[dependencies]
rusty_paseto = { version = "0.7.1", default-features = false, features = ["v1", "v2", "v3", "v4", "public", "local", "v1_local", "v2_local", "v3_local", "v4_local", "v1_public", "v2_public", "v3_public", "v4_public", "core", "generic", "batteries_included"] }
default = batteries_included, v4_local, v4_public

These default features are set whenever rusty_paseto is added without default-features = false somewhere in the dependency tree.

v1 v1_local? v1_public?
v2 v2_local? v2_public?
v3 v3_local? v3_public?
v4 v4_local v4_public
public v1_public? v2_public? v3_public? v4_public
local v1_local? v2_local? v3_local? v4_local
v1_local = aes, blake2, chacha20, core, hmac, local, sha2, v1
v2_local = blake2, chacha20poly1305, core, local, v2
v3_local = aes, chacha20, core, hmac, local, sha2, v3
v4_local default = blake2, chacha20, core, local, v4
v1_public = core, ed25519-dalek, public, v1
v2_public = core, ed25519-dalek, public, v2

Enables ring

v3_public = core, p384, public, sha2, v3
v4_public default = core, ed25519-dalek, public, v4

Enables ring

core generic? v1_local? v1_public? v2_local? v2_public? v3_local? v3_public? v4_local v4_public

Affects rusty_paseto::core

generic batteries_included = core, erased-serde, serde, serde_json

Affects rusty_paseto::generic

batteries_included default = generic

Affects rusty_paseto::prelude

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.

p384 v3_public?
chacha20 v1_local? v3_local? v4_local
blake2 v1_local? v2_local? v4_local
chacha20poly1305 v2_local?
serde generic?
ed25519-dalek v1_public? v2_public? v4_public
serde_json generic?
erased-serde generic?
aes v1_local? v3_local?

Enables aes ^0.7.5

hmac v1_local? v3_local?
sha2 v1_local? v3_local? v3_public?