ursa 0.1.1-dev-2

This is the shared crypto library for Hyperledger components.
Documentation
# 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 believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
name = "ursa"
version = "0.1.1-dev-2"
authors = ["Michael Lodder <redmike7@gmail.com>"]
description = "This is the shared crypto library for Hyperledger components."
homepage = "https://crates.io/crates/ursa"
documentation = "https://docs.rs/ursa"
readme = "../README.md"
license = "Apache-2.0"
repository = "https://github.com/hyperledger/ursa"
[package.metadata.deb]
assets = [["target/release/libursa.a", "usr/lib", "644"], ["target/release/libursa.so", "usr/lib", "644"], ["include/ursa.h", "usr/include", "644"]]
copyright = "2018, Hyperledger"
depends = "$auto"
extended-description = "Rust written reliable, secure, easy-to-use, and pluggable cryptographic implementations."
license-file = ["../LICENSE", "0"]
maintainer = "Hyperledger"
priority = "optional"
revision = "1"
section = "admin"

[package.metadata.rpm]
copyright = "2018, Hyperledger"
depends = "$auto"
extended-description = "Rust written reliable, secure, easy-to-use, and pluggable cryptographic implementations."
license-file = ["../LICENSE", "0"]
maintainer = "Hyperledger"
priority = "optional"
revision = "1"
section = "admin"
[profile.release]
lto = true

[lib]
name = "ursa"
crate-type = ["staticlib", "rlib", "cdylib"]
path = "src/lib.rs"

[[bin]]
name = "test_secp256k1"
path = "bin/test_secp256k1.rs"
required-features = ["benchmarksecp256k1"]

[[bin]]
name = "test_ed25519"
path = "bin/test_ed25519.rs"
required-features = ["benchmarked25519"]
[dependencies.amcl]
version = "0.2"
features = ["bn254", "secp256k1"]
optional = true
default-features = false

[dependencies.arrayref]
version = "0.3.5"

[dependencies.blake2]
version = "0.8"

[dependencies.console_error_panic_hook]
version = "0.1.5"
optional = true

[dependencies.ed25519-dalek]
version = "1.0.0-pre.1"

[dependencies.env_logger]
version = "0.5.10"

[dependencies.failure]
version = "0.1.5"

[dependencies.generic-array]
version = "0.12"

[dependencies.glass_pumpkin]
version = "0.3"
optional = true

[dependencies.int_traits]
version = "0.1.1"
optional = true

[dependencies.js-sys]
version = "0.3.13"
optional = true

[dependencies.lazy_static]
version = "1.0"

[dependencies.libsodium-ffi]
version = "0.1.12"
optional = true

[dependencies.log]
version = "0.4.1"

[dependencies.num-bigint]
version = "0.2"
features = ["rand"]
optional = true

[dependencies.num-integer]
version = "0.1"
optional = true

[dependencies.num-traits]
version = "0.2"
optional = true

[dependencies.openssl]
version = "0.10"
optional = true

[dependencies.rand]
version = "0.6"
features = ["wasm-bindgen"]

[dependencies.rand_chacha]
version = "0.1"

[dependencies.rustlibsecp256k1]
version = "0.2.2"
optional = true
package = "libsecp256k1"

[dependencies.secp256k1]
version = "0.12.0"
features = ["rand", "serde"]
optional = true

[dependencies.serde]
version = "1.0"
optional = true

[dependencies.serde_derive]
version = "1.0"
optional = true

[dependencies.serde_json]
version = "1.0"
optional = true

[dependencies.sha2]
version = "0.8"

[dependencies.sha3]
version = "0.8"

[dependencies.time]
version = "0.1.36"

[dependencies.wasm-bindgen]
version = "0.2"
features = ["serde-serialize"]
optional = true

[dependencies.zeroize]
version = "0.5"
[dev-dependencies.libsodium-ffi]
version = "0.1.13"

[dev-dependencies.openssl]
version = "0.10"

[dev-dependencies.rustlibsecp256k1]
version = "0.2.2"
package = "libsecp256k1"

[dev-dependencies.secp256k1]
version = "0.12.2"

[features]
benchmarked25519 = ["libsodium-ffi"]
benchmarksecp256k1 = ["secp256k1", "openssl"]
bls = []
bn_openssl = ["openssl", "int_traits"]
bn_rust = ["num-bigint", "glass_pumpkin", "int_traits", "num-integer", "num-traits"]
cl = []
default = ["bn_openssl", "pair_amcl", "serialization", "native", "ffi", "cl", "bls"]
ffi = []
native = ["secp256k1"]
pair_amcl = ["amcl"]
portable = ["bn_rust", "pair_amcl", "serialization", "rustlibsecp256k1", "cl", "bls"]
serialization = ["serde", "serde_json", "serde_derive"]
wasm = ["wasm-bindgen", "console_error_panic_hook", "portable", "js-sys"]