mirror of
https://github.com/serai-dex/serai.git
synced 2024-11-17 09:27:36 +00:00
d25c668ee4
lazy_static, if no_std environments were used, effectively required always using spin locks. This resolves the ergonomics of that while adopting Rust std code. no_std does still use a spin based solution. Theoretically, we could use atomics, yet writing our own Mutex wasn't a priority.
28 lines
839 B
TOML
28 lines
839 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 }
|
|
|
|
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]
|
|
std = ["std-shims/std"]
|
|
default = ["std"]
|