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 = [
|
2023-11-16 01:10:46 +00:00
|
|
|
"consensus",
|
2023-12-14 15:39:16 +00:00
|
|
|
"consensus/rules",
|
2023-11-16 01:10:46 +00:00
|
|
|
"cryptonight",
|
2024-01-21 00:04:09 +00:00
|
|
|
"helper",
|
2024-01-29 22:32:16 +00:00
|
|
|
"net/epee-encoding",
|
|
|
|
"net/fixed-bytes",
|
2023-11-16 01:10:46 +00:00
|
|
|
"net/levin",
|
|
|
|
"net/monero-wire",
|
2023-12-08 15:03:01 +00:00
|
|
|
"p2p/monero-p2p",
|
|
|
|
"p2p/address-book",
|
2024-01-22 01:56:34 +00:00
|
|
|
"pruning",
|
|
|
|
"test-utils",
|
2023-02-08 22:03:15 +00:00
|
|
|
]
|
2023-11-16 01:10:46 +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]
|
2024-01-21 14:46:03 +00:00
|
|
|
async-trait = { version = "0.1.74", default-features = false }
|
|
|
|
borsh = { version = "1.2.1", default-features = false }
|
|
|
|
bytes = { version = "1.5.0", default-features = false }
|
|
|
|
clap = { version = "4.4.7", default-features = false }
|
|
|
|
chrono = { version = "0.4.31", default-features = false }
|
2024-01-21 15:18:25 +00:00
|
|
|
crypto-bigint = { version = "0.5.5", default-features = false }
|
2024-02-10 23:19:12 +00:00
|
|
|
crossbeam = { version = "0.8.4", default-features = false }
|
2024-01-21 14:46:03 +00:00
|
|
|
curve25519-dalek = { version = "4.1.1", default-features = false }
|
2024-02-13 00:51:11 +00:00
|
|
|
dalek-ff-group = { git = "https://github.com/Cuprate/serai.git", rev = "347d4cf", default-features = false }
|
2024-01-21 14:46:03 +00:00
|
|
|
dirs = { version = "5.0.1", default-features = false }
|
|
|
|
futures = { version = "0.3.29", default-features = false }
|
|
|
|
hex = { version = "0.4.3", default-features = false }
|
|
|
|
hex-literal = { version = "0.4", default-features = false }
|
2024-02-13 00:51:11 +00:00
|
|
|
monero-serai = { git = "https://github.com/Cuprate/serai.git", rev = "347d4cf", default-features = false }
|
|
|
|
multiexp = { git = "https://github.com/Cuprate/serai.git", rev = "347d4cf", default-features = false }
|
2024-01-21 14:46:03 +00:00
|
|
|
pin-project = { version = "1.1.3", default-features = false }
|
2024-02-12 13:39:15 +00:00
|
|
|
randomx-rs = { git = "https://github.com/Cuprate/randomx-rs.git", rev = "0028464", default-features = false }
|
2024-01-21 14:46:03 +00:00
|
|
|
rand = { version = "0.8.5", default-features = false }
|
|
|
|
rayon = { version = "1.8.0", default-features = false }
|
|
|
|
serde_bytes = { version = "0.11.12", default-features = false }
|
|
|
|
serde_json = { version = "1.0.108", default-features = false }
|
|
|
|
serde = { version = "1.0.190", default-features = false }
|
|
|
|
thiserror = { version = "1.0.50", default-features = false }
|
|
|
|
thread_local = { version = "1.1.7", default-features = false }
|
|
|
|
tokio-util = { version = "0.7.10", default-features = false }
|
|
|
|
tokio-stream = { version = "0.1.14", default-features = false }
|
|
|
|
tokio = { version = "1.33.0", default-features = false }
|
|
|
|
tower = { version = "0.4.13", default-features = false }
|
|
|
|
tracing-subscriber = { version = "0.3.17", default-features = false }
|
|
|
|
tracing = { version = "0.1.40", default-features = false }
|
2023-11-16 01:10:46 +00:00
|
|
|
|
2023-12-14 15:39:16 +00:00
|
|
|
## workspace.dev-dependencies
|
2024-02-12 13:39:15 +00:00
|
|
|
reqwest = { version = "0.11.24" }
|
|
|
|
proptest = { version = "1" }
|
|
|
|
proptest-derive = { version = "0.4.0" }
|
2023-12-14 15:39:16 +00:00
|
|
|
|
|
|
|
|
2023-11-16 01:10:46 +00:00
|
|
|
## TODO:
|
|
|
|
## Potential dependencies.
|
|
|
|
# arc-swap = { version = "1.6.0" } # Atomically swappable Arc<T> | https://github.com/vorner/arc-swap
|
|
|
|
# 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
|
|
|
|
# once_cell = { version = "1.18.0" } # Lazy/one-time initialization | https://github.com/matklad/once_cell
|
|
|
|
# open = { version = "5.0.0" } # Open PATH/URL, probably for binaries | https://github.com/byron/open-rs
|
|
|
|
# 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
|
|
|
|
# strum = { version = "0.25.0" } # Enum macros/traits | https://github.com/Peternator7/strum
|
|
|
|
|
|
|
|
# Maybe one day.
|
|
|
|
# disk = { version = "*" } # (De)serialization to/from disk with various file formats | https://github.com/hinto-janai/disk
|
|
|
|
# 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
|