[package] name = "indy-utils" version = "0.6.0" authors = ["Hyperledger Indy Contributors "] description = "Utilities for Hyperledger Indy (https://www.hyperledger.org/projects), which provides a distributed-ledger-based foundation for self-sovereign identity (https://sovrin.org)." edition = "2018" 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_utils" path = "src/lib.rs" crate-type = ["rlib"] [features] default = ["ed25519"] ed25519 = ["curve25519-dalek", "ed25519-dalek", "rand", "sha2", "x25519-dalek"] [dependencies] bs58 = "0.5" curve25519-dalek = { version = "3.1", default-features = false, features = [ "u64_backend", ], optional = true } ed25519-dalek = { version = "1.0", default-features = false, features = [ "u64_backend", ], optional = true } once_cell = "1.9" rand = { version = "0.8", optional = true } regex = "1.3" serde = { version = "1.0", optional = true, features = ["derive"] } serde_json = { version = "1.0", optional = true } sha2 = { version = "0.10", optional = true } thiserror = "1.0" x25519-dalek = { version = "=1.2", default-features = false, features = [ "u64_backend", ], optional = true } zeroize = { version = "1.3" } [dev-dependencies] async-global-executor = "2.3" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0"