Cargo Features

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

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

v3 default = aes, ctr, hmac, p384, pbkdf2, sha2

V3 contains NIST approved algoritms only

Enables v3_local and v3_public of rusty_paseto

Affects pbkw::Pbkdf2State

v4 default = argon2, blake2, chacha20, curve25519-dalek, ed25519-dalek, sha2

V4 is recommended

Enables v4_local and v4_public of rusty_paseto

Affects pbkw::Argon2State

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.

chacha20 v4

Enables chacha20

V4

blake2 v4
ed25519-dalek v4
curve25519-dalek v4
argon2 v4
aes v3

Enables aes

V3

ctr v3
hmac v3
sha2 v3 v4
p384 v3
pbkdf2 v3
serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework

arbitrary implicit feature

Enables arbitrary

arbitrary:

The trait for generating structured data from unstructured data