Cargo Features

[dependencies]
indy-data-types = { version = "0.7.1", default-features = false, features = ["anoncreds", "cl", "cl_native", "ed25519", "merkle_tree", "rich_schema", "serde_support", "vendored"] }
default = anoncreds, ed25519, merkle_tree

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

anoncreds default cl? cl_native? = serde_support

Affects indy-data-types::anoncreds

cl = anoncreds, anoncreds-clsignatures, serde_support

Affects anoncreds::link_secret

cl_native = anoncreds, serde_support

Enables openssl_bn of anoncreds-clsignatures ^0.2.4

Affects anoncreds::link_secret

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

Affects did::generate_did

merkle_tree default = hex, sha2

Affects indy-data-types::merkle_tree

rich_schema
serde_support anoncreds cl? cl_native? = serde, serde_json

Enables serde of optional anoncreds-clsignatures ^0.2.4

vendored

Enables openssl_vendored of optional anoncreds-clsignatures ^0.2.4

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.

anoncreds-clsignatures cl? cl_native?

Enables anoncreds-clsignatures ^0.2.4

curve25519-dalek ed25519
ed25519-dalek ed25519
hex merkle_tree
rand ed25519
serde serde_support?
serde_json serde_support?
sha2 ed25519 merkle_tree
x25519-dalek ed25519