# 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 = "noah-api" version = "0.4.0" authors = ["Findora "] description = "Noah Platform Interface" license = "BUSL-1.1" [lib] name = "noah_api" crate-type = ["rlib"] [[bin]] name = "gen-params" path = "src/gen-params.rs" required-features = ["gen"] [[bench]] name = "bulletproofs" path = "benches/bulletproofs.rs" harness = false [[bench]] name = "xfr" path = "benches/xfr.rs" harness = false [[bench]] name = "anon_xfr" path = "benches/anon_xfr.rs" harness = false [[bench]] name = "merkle_tree" path = "benches/merkle_tree.rs" harness = false [dependencies.aes] version = "0.8.1" [dependencies.aes-gcm] version = "0.10.1" [dependencies.ark-bulletproofs] version = "4.0.0" features = ["yoloproofs"] default-features = false [dependencies.ark-ec] version = "0.4.0-alpha" default-features = false [dependencies.ark-ff] version = "0.4.0-alpha" default-features = false [dependencies.ark-serialize] version = "0.4.0-alpha" default-features = false [dependencies.ark-std] version = "0.4.0-alpha" default-features = false [dependencies.bincode] version = "1.3.1" [dependencies.bulletproofs] version = "4.0.0" package = "noah-bulletproofs" [dependencies.curve25519-dalek] version = "4.0.0" features = ["serde"] default-features = false package = "noah-curve25519-dalek" [dependencies.digest] version = "0.10" [dependencies.ed25519-dalek] version = "4.0.0" package = "noah-ed25519-dalek" [dependencies.lazy_static] version = "1.4.0" [dependencies.libsecp256k1] version = "0.7" [dependencies.linear-map] version = "1.2.0" [dependencies.merlin] version = "3.0" [dependencies.noah-algebra] version = "0.4.0" [dependencies.noah-crypto] version = "0.4.0" [dependencies.noah-plonk] version = "0.4.0" [dependencies.num-bigint] version = "0.4.0" features = ["rand"] [dependencies.num-integer] version = "0.1.43" [dependencies.num-traits] version = "0.2.12" [dependencies.rand_chacha] version = "0.3" [dependencies.rand_core] version = "0.6" features = ["alloc"] default-features = false [dependencies.rayon] version = "1.5" optional = true [dependencies.rmp-serde] version = "1.0.0" [dependencies.ruc] version = "1.0" [dependencies.serde] version = "1.0" [dependencies.serde_derive] version = "1.0" [dependencies.serde_str] version = "0.1.0" [dependencies.sha2] version = "0.10" [dependencies.sha3] version = "0.10" [dependencies.structopt] version = "0.3.26" optional = true [dependencies.wasm-bindgen] version = "0.2.50" features = ["serde-serialize"] [dev-dependencies.bit-array] version = "0.4.3" [dev-dependencies.criterion] version = "0.4.0" default-features = false [dev-dependencies.hex] version = "0.4" [dev-dependencies.lazy_static] version = "1.4.0" [dev-dependencies.parking_lot] version = "0.12" [dev-dependencies.rand] version = "0.8" default-features = false [dev-dependencies.serde_json] version = "1.0" [dev-dependencies.typenum] version = "1.11.2" [features] alloc = ["curve25519-dalek/alloc"] asm = ["noah-algebra/asm"] avx2_backend = ["curve25519-dalek/avx2_backend"] debug = ["noah-plonk/debug"] default = [ "std", "u64_backend", ] gen = [ "parallel", "structopt", ] lightweight = [] nightly = [ "curve25519-dalek/nightly", "rand/nightly", ] no_srs = [] no_urs = [] no_vk = [] parallel = [ "default", "rayon", "noah-algebra/parallel", "noah-plonk/parallel", ] print-trace = ["noah-algebra/print-trace"] std = [ "curve25519-dalek/std", "bulletproofs/std", "ark-bulletproofs/std", "ark-std/std", "ark-ec/std", ] u32_backend = ["curve25519-dalek/u32_backend"] u64_backend = ["curve25519-dalek/u64_backend"]