Cargo Features

[dependencies]
indy-utils = { version = "0.6.0", default-features = false, features = ["ed25519", "serde", "serde_json"] }
default = ed25519

The ed25519 feature is set by default whenever indy-utils is added without default-features = false somewhere in the dependency tree.

ed25519 default = curve25519-dalek, ed25519-dalek, rand, sha2, x25519-dalek

Affects did::generate_did

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.

curve25519-dalek ed25519

Enables curve25519-dalek ^3.1

ed25519-dalek ed25519

Enables ed25519-dalek ^1.0

rand ed25519
serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework

serde_json implicit feature

Enables serde_json

serde_json:

A JSON serialization file format

sha2 ed25519
x25519-dalek ed25519

Enables x25519-dalek =1.2