# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" 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)." readme = "README.md" keywords = [ "hyperledger", "indy", "ssi", "verifiable", "credentials", ] categories = [ "authentication", "cryptography", ] license = "Apache-2.0" repository = "https://github.com/hyperledger/indy-shared-rs/" [lib] name = "indy_data_types" crate-type = ["rlib"] path = "src/lib.rs" [dependencies.anoncreds-clsignatures] version = "0.2.4" optional = true [dependencies.bs58] version = "0.5" [dependencies.curve25519-dalek] version = "4.1" optional = true default-features = false [dependencies.ed25519-dalek] version = "2.0" features = ["zeroize"] optional = true default-features = false [dependencies.hex] version = "0.4" optional = true [dependencies.once_cell] version = "1" [dependencies.rand] version = "0.8" optional = true [dependencies.regex] version = "1" [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.serde_json] version = "1.0" features = ["raw_value"] optional = true [dependencies.sha2] version = "0.10" optional = true [dependencies.thiserror] version = "1" [dependencies.x25519-dalek] version = "2.0" features = [ "static_secrets", "zeroize", ] optional = true default-features = false [dependencies.zeroize] version = "1" features = ["zeroize_derive"] [dev-dependencies.hex] version = "0.4" [dev-dependencies.rand] version = "0.8" [dev-dependencies.serde_json] version = "1.0" [features] anoncreds = ["serde_support"] cl = [ "anoncreds", "anoncreds-clsignatures", "serde_support", ] cl_native = [ "anoncreds", "anoncreds-clsignatures/openssl_bn", "serde_support", ] default = [ "anoncreds", "ed25519", "merkle_tree", ] 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"]