cuprate-hinto-janai/Cargo.toml

86 lines
3.8 KiB
TOML
Raw Permalink Normal View History

2023-02-08 22:03:15 +00:00
[workspace]
2023-09-06 14:54:49 +00:00
resolver = "2"
2023-02-07 14:44:32 +00:00
2023-02-08 22:03:15 +00:00
members = [
"common",
"consensus",
"cryptonight",
"cuprate",
# "database",
"net/levin",
"net/monero-wire",
"p2p/monero-peer",
"test-utils"
2023-02-08 22:03:15 +00:00
]
[profile.release]
lto = true # Build with LTO
strip = "none" # Keep panic stack traces
codegen-units = 1 # Optimize for binary speed over compile times
opt-level = 3
[profile.dev]
lto = false
strip = "none"
# Not much slower compile times than opt-level 0, but much faster code.
opt-level = 1
[profile.dev.package."*"]
# Compile dependencies with max optimization.
# This is obviously slower on a cold build,
# but you only build these once.
opt-level = 3
[workspace.dependencies]
anyhow = { version = "1.0.75" }
async-trait = { version = "0.1.74" }
bincode = { version = "2.0.0-rc.3" }
bytes = { version = "1.5.0" }
2023-12-07 02:36:07 +00:00
clap = { version = "4.4.7", features = ["derive"] }
chrono = { version = "0.4.31" }
const_format = { version = "0.2.32" }
crypto-bigint = { version = "0.5.3" }
curve25519-dalek = { version = "4.11" }
dalek-ff-group = { git = "https://github.com/Cuprate/serai.git", rev = "39eafae" }
dirs = { version = "5.0.1" }
futures = { version = "0.3.29" }
hex = { version = "0.4.3" }
memmap2 = { version = "0.9.0" }
monero-epee-bin-serde = { git = "https://github.com/monero-rs/monero-epee-bin-serde.git", rev = "e4a585a" }
monero-serai = { git = "https://github.com/Cuprate/serai.git", rev = "39eafae" }
multiexp = { git = "https://github.com/Cuprate/serai.git", rev = "39eafae" }
once_cell = { version = "1.18.0" }
open = { version = "5.0.0" }
randomx-rs = { version = "1.2.1" }
rand = { version = "0.8.5" }
rayon = { version = "1.8.0" }
serde_bytes = { version = "0.11.12" }
serde_json = { version = "1.0.108" }
serde = { version = "1.0.190", features = ["derive"] }
2023-12-07 02:36:07 +00:00
strum = { version = "0.25.0", features = ["derive"] }
thiserror = { version = "1.0.50" }
toml_edit = { version = "0.21.0" }
tokio-util = { version = "0.7.10", features = ["codec"]}
tokio = { version = "1.33.0", features = ["full"] }
tower = { version = "0.4.13", features = ["util", "steer"] }
tracing-subscriber = { version = "0.3.17" }
tracing = { version = "0.1.40" }
walkdir = { version = "2.4.0" }
zeroize = { version = "1.7.0" }
zip = { version = "0.6.6" }
## TODO:
## Potential dependencies.
# arc-swap = { version = "1.6.0" } # Atomically swappable Arc<T> | https://github.com/vorner/arc-swap
# crossbeam = { version = "0.8.2" } # Channels, concurrent primitives | https://github.com/crossbeam-rs/crossbeam
# itoa = { version = "1.0.9" } # Fast integer to string formatting | https://github.com/dtolnay/itoa
# notify = { version = "6.1.1" } # Filesystem watching | https://github.com/notify-rs/notify
# paste = { version = "1.0.14" } # Macro `ident` pasting | https://github.com/dtolnay/paste
# regex = { version = "1.10.2" } # Regular expressions | https://github.com/rust-lang/regex
# ryu = { version = "1.0.15" } # Fast float to string formatting | https://github.com/dtolnay/ryu
# Maybe one day.
2023-12-07 02:36:07 +00:00
disk = { version = "0.1.21", features = ["bincode2", "toml", "plain", "json", "empty"] }
# readable = { version = "*" } # Stack-based string formatting utilities | https://github.com/hinto-janai/readable
# json-rpc = { git = "https://github.com/hinto-janai/json-rpc" } # JSON-RPC 2.0 types