[package] name = "indy-data-types" version = "0.7.1" authors = ["Hyperledger Indy Contributors "] description = "Common data types for Hyperledger Indy (https://www.hyperledger.org/projects), which provides a distributed-ledger-based foundation for self-sovereign identity (https://sovrin.org)." edition = "2021" license = "Apache-2.0" readme = "../README.md" repository = "https://github.com/hyperledger/indy-shared-rs/" categories = ["authentication", "cryptography"] keywords = ["hyperledger", "indy", "ssi", "verifiable", "credentials"] [lib] name = "indy_data_types" path = "src/lib.rs" crate-type = ["rlib"] [features] default = ["anoncreds", "ed25519", "merkle_tree"] anoncreds = ["serde_support"] cl = ["anoncreds", "anoncreds-clsignatures", "serde_support"] cl_native = ["anoncreds", "anoncreds-clsignatures/openssl_bn", "serde_support"] ed25519 = ["curve25519-dalek", "ed25519-dalek", "rand", "sha2", "x25519-dalek"] merkle_tree = ["hex", "sha2"] rich_schema = [] serde_support = ["serde", "serde_json", "anoncreds-clsignatures?/serde"] vendored = ["anoncreds-clsignatures?/openssl_vendored"] [dependencies] anoncreds-clsignatures = { version = "0.2.4", optional = true } bs58 = "0.5" curve25519-dalek = { version = "4.1", default-features = false, optional = true } ed25519-dalek = { version = "2.0", default-features = false, features = [ "zeroize", ], optional = true } hex = { version = "0.4", optional = true } once_cell = "1" rand = { version = "0.8", optional = true } regex = "1" serde = { version = "1.0", optional = true, features = ["derive"] } serde_json = { version = "1.0", optional = true, features = ["raw_value"] } sha2 = { version = "0.10", optional = true } thiserror = "1" x25519-dalek = { version = "2.0", default-features = false, optional = true, features = [ "static_secrets", "zeroize", ] } zeroize = { version = "1", features = ["zeroize_derive"] } [dev-dependencies] hex = "0.4" rand = "0.8" serde_json = "1.0"