Cargo Features

[dependencies]
rusty_paserk = { version = "0.4.0", default-features = false, features = ["v3", "v4", "serde", "arbitrary"] }
default = v4

The v4 feature is set by default whenever rusty_paserk is added without default-features = false somewhere in the dependency tree.

v3

V3 contains NIST approved algoritms only

Enables sha2, v3_local and v3_public of rusty_paseto and aes, ctr, hmac, p384, and pbkdf2

aes:

V3

Affects pbkw::Pbkdf2State, pke::fuzz_tests.V3SealInput

v4 default

V4 is recommended

Enables sha2, v4_local and v4_public of rusty_paseto and argon2, blake2, chacha20, curve25519-dalek, and ed25519-dalek

chacha20:

V4

Affects pbkw::Argon2State, pke::fuzz_tests.V4SealInput

serde

Enables serde

arbitrary

Enables arbitrary