mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-23 12:09:37 +00:00
19488cf446
Updated missing fields/sections, even if some won't be used, to standardize. Also made FROST tests feature-gated.
46 lines
1.1 KiB
TOML
46 lines
1.1 KiB
TOML
[package]
|
|
name = "dleq"
|
|
version = "0.1.1"
|
|
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 = "1"
|
|
rand_core = "0.6"
|
|
|
|
zeroize = "1.3"
|
|
|
|
digest = "0.10"
|
|
|
|
transcript = { package = "flexible-transcript", path = "../transcript", version = "0.1" }
|
|
|
|
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.11", features = ["arithmetic", "bits"] }
|
|
dalek-ff-group = { path = "../dalek-ff-group" }
|
|
|
|
transcript = { package = "flexible-transcript", path = "../transcript", features = ["recommended"] }
|
|
|
|
[features]
|
|
std = []
|
|
serialize = ["std"]
|
|
experimental = ["std", "multiexp"]
|
|
secure_capacity_difference = []
|
|
|
|
# Only applies to experimental, yet is default to ensure security
|
|
default = ["secure_capacity_difference"]
|