mirror of
https://github.com/serai-dex/serai.git
synced 2024-11-17 09:27:36 +00:00
5d115f1e1c
While Serai only needs the simple DLEq which was already present under monero, this migrates the implementation of the cross-group DLEq I maintain into Serai. This was to have full access to the ecosystem of libraries built under Serai while also ensuring support for it. The cross_group curve, which is extremely experimental, is feature flagged off. So is the built in serialization functionality, as this should be possible to make nostd once const generics are full featured, yet the implemented serialization adds the additional barrier of std::io.
46 lines
1.3 KiB
TOML
46 lines
1.3 KiB
TOML
[package]
|
|
name = "monero-serai"
|
|
version = "0.1.0"
|
|
description = "A modern Monero wallet library"
|
|
license = "MIT"
|
|
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
hex-literal = "0.3"
|
|
lazy_static = "1"
|
|
thiserror = "1"
|
|
|
|
rand_core = "0.6"
|
|
rand_chacha = { version = "0.3", optional = true }
|
|
rand = "0.8"
|
|
rand_distr = "0.4"
|
|
|
|
tiny-keccak = { version = "2", features = ["keccak"] }
|
|
blake2 = { version = "0.10", optional = true }
|
|
|
|
curve25519-dalek = { version = "3", features = ["std"] }
|
|
|
|
group = { version = "0.12", optional = true }
|
|
|
|
dalek-ff-group = { path = "../../crypto/dalek-ff-group", optional = true }
|
|
transcript = { package = "flexible-transcript", path = "../../crypto/transcript", features = ["recommended"], optional = true }
|
|
frost = { package = "modular-frost", path = "../../crypto/frost", features = ["ed25519"], optional = true }
|
|
dleq = { path = "../../crypto/dleq", features = ["serialize"], optional = true }
|
|
|
|
base58-monero = "1"
|
|
monero = "0.16"
|
|
|
|
hex = "0.4"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
monero-epee-bin-serde = "1.0"
|
|
reqwest = { version = "0.11", features = ["json"] }
|
|
|
|
[features]
|
|
experimental = []
|
|
multisig = ["rand_chacha", "blake2", "group", "dalek-ff-group", "transcript", "frost", "dleq"]
|
|
|
|
[dev-dependencies]
|
|
sha2 = "0.10"
|
|
tokio = { version = "1", features = ["full"] }
|