zkp-elliptic-curve-crypto 0.2.0

Pedersen commitments and digital signatures
[package]
name = "zkp-elliptic-curve-crypto"
version = "0.2.0"
description = "Pedersen commitments and digital signatures"
repository = "https://github.com/0xProject/starkcrypto/tree/master/crypto/elliptic-curve-crypto"
keywords = ["elliptic", "ecdsa", "pedersen", "no-std", "wasm"]
categories = ["cryptography", "algorithms", "no-std", "wasm"]
authors = [
    "Remco Bloemen <remco@0x.org>",
    "Mason Liang <mason@0x.org>",
    "Paul Vienhage <paul@0x.org>"]
readme = "Readme.md"
license = "Apache-2.0"
edition = "2018"

[dependencies]
itertools = { version = "0.9.0", default_features = false }
lazy_static = { version = "1.3.0", features = [ "spin_no_std" ] } # TODO: When `std` is set we want this feature off!
parity-scale-codec = { version = "1.3.0", default-features = false, optional = true }
no-std-compat = { version = "0.4.0", features = [ "alloc" ] }
tiny-keccak = { version = "2.0.1", features = ["sha3"] }
serde = { version = "1.0", features = ["derive"], default-features = false, optional = true }
zkp-elliptic-curve = { version = "0.2.0", path = "../../algebra/elliptic-curve", default-features = false }
zkp-macros-decl = { version = "0.2.0", path = "../../utils/macros-decl", default-features = false }
zkp-primefield = { version = "0.2.0", path = "../../algebra/primefield", default-features = false }
zkp-u256 = { version = "0.2.0", path = "../../algebra/u256", default-features = false }

[dev-dependencies]
criterion = "0.3.0"
proptest = "0.9.4"
proptest-derive = "0.1.2"
zkp-primefield = { version = "0.2.0", path = "../../algebra/primefield", features = ["proptest"] }
zkp-u256 = { version = "0.2.0", path = "../../algebra/u256", features = ["proptest", "proptest-derive"] }

[[bench]]
name = "benchmark"
harness = false

[features]
default = [ "std", "serde" ]
std = [
    "serde/std",
    "itertools/use_std",
    "no-std-compat/std",
    "parity-scale-codec/std",
    "zkp-elliptic-curve/std",
    "zkp-macros-decl/std",
    "zkp-primefield/std",
    "zkp-u256/std",
]
unsafe_ecdsa = []
parity_codec = [
    "parity-scale-codec/derive",
    "zkp-elliptic-curve/parity_codec",
    "zkp-primefield/parity_codec",
    "zkp-u256/parity_codec",
]

# Allow math in docs
[package.metadata.docs.rs]
rustdoc-args = ["--html-in-header", ".cargo/katex-header.html"]