Cargo Features

[dependencies]
did-simple = { version = "0.0.2", default-features = false, features = ["ed25519", "random", "allow-unsafe"] }
default = ed25519, random

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

ed25519 default

Enables curve25519-dalek and ed25519-dalek

Affects crypto::ed25519

random default

Enables rand_core, rand_core of optional ed25519-dalek

allow-unsafe

Only applications should enable this! If you use did-simple as a dependency,
don't enable this feature - let applications set it instead.
Enabling this feature removes the #[forbid(unsafe_code)] crate attribute.