mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-28 22:49:42 +00:00
45 lines
1.2 KiB
TOML
45 lines
1.2 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 }
|
||
|
|
||
|
[dev-dependencies]
|
||
|
hex = { version = "0.4", default-features = false, features = ["alloc"] }
|
||
|
|
||
|
[features]
|
||
|
std = [
|
||
|
"std-shims/std",
|
||
|
|
||
|
"zeroize/std",
|
||
|
|
||
|
"sha3/std",
|
||
|
|
||
|
"monero-generators/std",
|
||
|
]
|
||
|
default = ["std"]
|