# 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.65" name = "zkryptium" version = "0.3.1" authors = ["LINKS Foundation"] description = "Rust crypto library for zero-knowledge proofs" readme = "README.md" keywords = [ "crypto", "signatures", "zero-knowledge", "bbs", "blind-signature", ] categories = [ "cryptography", "authentication", ] license = "Apache-2.0" repository = "https://github.com/Cybersecurity-LINKS/zkryptium" [lib] name = "zkryptium" path = "src/lib.rs" [[example]] name = "bbsplus_blind" path = "examples/bbsplus_blind.rs" required-features = ["bbsplus"] [[example]] name = "bbsplus" path = "examples/bbsplus.rs" required-features = ["bbsplus"] [[example]] name = "cl03" path = "examples/cl03.rs" required-features = ["cl03"] [dependencies.bls12_381_plus] version = "0.8.13" optional = true [dependencies.cargo-license] version = "0.5.1" [dependencies.digest] version = "0.10.6" [dependencies.dotenv] version = "0.15.0" [dependencies.elliptic-curve] version = "0.13.4" [dependencies.env_logger] version = "0.10.0" [dependencies.ff] version = "0.13.0" [dependencies.group] version = "0.10" [dependencies.hex] version = "0.4.3" [dependencies.hkdf] version = "0.12.3" [dependencies.log] version = "0.4.0" [dependencies.rand] version = "0.8.5" [dependencies.rug] version = "1.19.2" features = ["serde"] optional = true [dependencies.serde] version = "1.0.25" features = [ "derive", "serde_derive", ] default-features = false [dependencies.serde_json] version = "1.0.59" [dependencies.sha2] version = "0.10.6" [dependencies.sha3] version = "0.10.8" [dependencies.thiserror] version = "1.0.30" [dependencies.zeroize] version = "1.5" [features] bbsplus = ["dep:bls12_381_plus"] cl03 = ["dep:rug"] default = ["bbsplus"]