mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-26 13:39:37 +00:00
56 lines
1.7 KiB
TOML
56 lines
1.7 KiB
TOML
|
[package]
|
||
|
name = "monero-bulletproofs"
|
||
|
version = "0.1.0"
|
||
|
description = "Bulletproofs(+) range proofs, as defined by the Monero protocol"
|
||
|
license = "MIT"
|
||
|
repository = "https://github.com/serai-dex/serai/tree/develop/coins/monero/ringct/bulletproofs"
|
||
|
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
|
||
|
edition = "2021"
|
||
|
rust-version = "1.79"
|
||
|
|
||
|
[package.metadata.docs.rs]
|
||
|
all-features = true
|
||
|
rustdoc-args = ["--cfg", "docsrs"]
|
||
|
|
||
|
[lints]
|
||
|
workspace = true
|
||
|
|
||
|
[dependencies]
|
||
|
std-shims = { path = "../../../../common/std-shims", version = "^0.1.1", default-features = false }
|
||
|
|
||
|
thiserror = { version = "1", default-features = false, optional = true }
|
||
|
|
||
|
rand_core = { version = "0.6", default-features = false }
|
||
|
zeroize = { version = "^1.5", default-features = false, features = ["zeroize_derive"] }
|
||
|
|
||
|
# Cryptographic dependencies
|
||
|
curve25519-dalek = { version = "4", default-features = false, features = ["alloc", "zeroize"] }
|
||
|
|
||
|
# Other Monero dependencies
|
||
|
monero-io = { path = "../../io", version = "0.1", default-features = false }
|
||
|
monero-generators = { path = "../../generators", version = "0.4", default-features = false }
|
||
|
monero-primitives = { path = "../../primitives", version = "0.1", default-features = false }
|
||
|
|
||
|
[build-dependencies]
|
||
|
curve25519-dalek = { version = "4", default-features = false, features = ["alloc", "zeroize"] }
|
||
|
monero-generators = { path = "../../generators", version = "0.4", default-features = false }
|
||
|
|
||
|
[dev-dependencies]
|
||
|
hex-literal = "0.4"
|
||
|
|
||
|
[features]
|
||
|
std = [
|
||
|
"std-shims/std",
|
||
|
|
||
|
"thiserror",
|
||
|
|
||
|
"rand_core/std",
|
||
|
"zeroize/std",
|
||
|
|
||
|
"monero-io/std",
|
||
|
"monero-generators/std",
|
||
|
"monero-primitives/std",
|
||
|
]
|
||
|
compile-time-generators = ["curve25519-dalek/precomputed-tables"]
|
||
|
default = ["std", "compile-time-generators"]
|