mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-24 04:29:26 +00:00
1e448dec21
transcript, dalek-ff-group, ed449, and ciphersuite are all usable with no_std alone. The rest additionally require alloc. Part of #279.
31 lines
894 B
TOML
31 lines
894 B
TOML
[package]
|
|
name = "monero-generators"
|
|
version = "0.3.0"
|
|
description = "Monero's hash_to_point and generators"
|
|
license = "MIT"
|
|
repository = "https://github.com/serai-dex/serai/tree/develop/coins/monero/generators"
|
|
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
|
|
edition = "2021"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[dependencies]
|
|
std-shims = { path = "../../../common/std-shims", version = "0.1", default-features = false }
|
|
|
|
lazy_static = "1"
|
|
|
|
subtle = { version = "^2.4", default-features = false }
|
|
|
|
sha3 = { version = "0.10", default-features = false }
|
|
|
|
curve25519-dalek = { version = "3", default-features = false }
|
|
|
|
group = { version = "0.13", default-features = false }
|
|
dalek-ff-group = { path = "../../../crypto/dalek-ff-group", version = "0.3" }
|
|
|
|
[features]
|
|
alloc = ["lazy_static/spin_no_std"]
|
|
std = ["std-shims/std"]
|
|
default = ["std"]
|