# 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" rust-version = "1.64" name = "iq-crypto" version = "0.0.1" authors = ["Tony Arcieri "] description = """ General-purpose pure Rust cryptography library providing a facade over a number of cryptographic algorithm implementations including hash functions and digital signature algorithms. """ homepage = "https://github.com/iqlusioninc/iqkms/" readme = "README.md" keywords = [ "crypto", "digest", "ecdsa", ] categories = ["cryptography"] license = "Apache-2.0 OR MIT" repository = "https://github.com/iqlusioninc/iqkms/tree/main/iq-crypto" [dependencies.digest] version = "0.10" [dependencies.ecdsa] version = "0.14" features = [ "sign", "verify", ] optional = true default-features = false [dependencies.elliptic-curve] version = "0.12" optional = true default-features = false [dependencies.generic-array] version = "0.14" [dependencies.k256] version = "0.11.6" features = [ "ecdsa", "pkcs8", ] optional = true default-features = false [dependencies.pkcs8] version = "0.9" optional = true default-features = false [dependencies.rand_core] version = "0.6.4" [dependencies.sec1] version = "0.3" features = ["point"] optional = true default-features = false [dependencies.sha2] version = "0.10" optional = true default-features = false [dependencies.sha3] version = "0.10" optional = true default-features = false [dependencies.signature] version = ">=1.6.3, <1.7" features = ["hazmat-preview"] optional = true default-features = false [features] alloc = [ "elliptic-curve?/alloc", "ecdsa?/alloc", "sec1?/alloc", "pkcs8?/alloc", ] ecdsa = [ "dep:ecdsa", "elliptic-curve", "signature", ] elliptic-curve = [ "dep:elliptic-curve", "dep:sec1", ] getrandom = ["rand_core/getrandom"] secp256k1 = [ "alloc", "ecdsa", "pkcs8", "sha3", "signature", "dep:k256", ] std = [ "alloc", "elliptic-curve?/std", "ecdsa?/std", "k256?/std", "pkcs8?/std", "sec1?/std", "signature?/std", ]