mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-12 14:09:25 +00:00
Removes usage of dalek-ff-group/multiexp for curve25519-dalek. Makes compiling in the generators an optional feature. Adds a structured batch verifier which should be notably more performant. Documentation and clean up still necessary.
42 lines
1.1 KiB
TOML
42 lines
1.1 KiB
TOML
[package]
|
|
name = "monero-primitives"
|
|
version = "0.1.0"
|
|
description = "Primitives for the Monero protocol"
|
|
license = "MIT"
|
|
repository = "https://github.com/serai-dex/serai/tree/develop/coins/monero/primitives"
|
|
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 }
|
|
|
|
zeroize = { version = "^1.5", default-features = false, features = ["zeroize_derive"] }
|
|
|
|
# Cryptographic dependencies
|
|
sha3 = { version = "0.10", default-features = false }
|
|
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 }
|
|
|
|
[features]
|
|
std = [
|
|
"std-shims/std",
|
|
|
|
"zeroize/std",
|
|
|
|
"sha3/std",
|
|
|
|
"monero-generators/std",
|
|
]
|
|
default = ["std"]
|