[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" authors = ["Luke Parker "] 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"]