Cargo Features

[dependencies]
ratchet-x2 = { version = "0.3.0", default-features = false, features = ["std", "serde_derive"] }
default = cryptimitives, serde_derive, std

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

std default

Enables std of cryptimitives ^0.17.0, cryptraits ^0.13.0, and rand_core

serde_derive default = serde, serde_json

Enables serde_derive of cryptimitives ^0.17.0

Affects ratchet::DrPkToVec, ratchet::DoubleRatchet

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.

cryptimitives default serde_derive std

Enables cryptimitives ^0.17.0

serde serde_derive
serde_json serde_derive