mirror of
https://github.com/serai-dex/serai.git
synced 2024-11-17 01:17:36 +00:00
46 lines
1.2 KiB
TOML
46 lines
1.2 KiB
TOML
[package]
|
|
name = "dleq"
|
|
version = "0.2.0"
|
|
description = "Implementation of single and cross-curve Discrete Log Equality proofs"
|
|
license = "MIT"
|
|
repository = "https://github.com/serai-dex/serai/tree/develop/crypto/dleq"
|
|
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
|
|
edition = "2021"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[dependencies]
|
|
thiserror = { version = "1", optional = true }
|
|
rand_core = "0.6"
|
|
|
|
zeroize = { version = "^1.5", features = ["zeroize_derive"] }
|
|
|
|
digest = "0.10"
|
|
|
|
transcript = { package = "flexible-transcript", path = "../transcript", version = "0.2" }
|
|
|
|
ff = "0.12"
|
|
group = "0.12"
|
|
|
|
multiexp = { path = "../multiexp", version = "0.2", features = ["batch"], optional = true }
|
|
|
|
[dev-dependencies]
|
|
hex-literal = "0.3"
|
|
|
|
blake2 = "0.10"
|
|
|
|
k256 = { version = "0.12", features = ["arithmetic", "bits"] }
|
|
dalek-ff-group = { path = "../dalek-ff-group" }
|
|
|
|
transcript = { package = "flexible-transcript", path = "../transcript", features = ["recommended"] }
|
|
|
|
[features]
|
|
std = []
|
|
serialize = ["std"]
|
|
experimental = ["std", "thiserror", "multiexp"]
|
|
secure_capacity_difference = []
|
|
|
|
# Only applies to experimental, yet is default to ensure security
|
|
default = ["secure_capacity_difference"]
|