mirror of
https://github.com/hinto-janai/cuprate.git
synced 2024-09-29 01:41:24 +00:00
a187d9a357
* init * save * use macro to create the levin body enum * add protocol docs and cargo fmt * add response validation * add client functionality to connection + fmt * Add new cuprate-common crate this crate will hold stuff needed across cuprate crates + init handshaker * add stagenet & testnet hardforks + tests + cargo fmt * split peer and protocol into separate crates + add sync state watcher * finish initial sync states and add some tests * save * add initial address book * cargo fmt * save * add pruning module to cuprate-common * more address book updates - added an address book client - add some more address book requests - add "NetZone" * lots of changes * cargo fmt * combine p2p into one crate they were all linked anyway * cargo fmt * turn the handshaker into a statemachine * cargo fmt * reduce the amt of copies when decoding + remove reliance on monero-rs * update time_from_timestamp func * cargo fmt + change qr code link + remove clippy.toml
55 lines
No EOL
1,004 B
TOML
55 lines
No EOL
1,004 B
TOML
[package]
|
|
name = "cuprate"
|
|
version = "0.0.1"
|
|
edition = "2021"
|
|
rust-version = "1.68.0"
|
|
description = "An upcoming experimental, modern & secure monero node"
|
|
readme = "readme.md"
|
|
license = "AGPL-3.0-only"
|
|
repository = "https://github.com/SyntheticBird45/cuprate"
|
|
|
|
|
|
# All Contributors on github
|
|
authors=[
|
|
"SyntheticBird45",
|
|
"Boog900"
|
|
]
|
|
|
|
[workspace]
|
|
|
|
members = [
|
|
"common",
|
|
"cuprate",
|
|
"database",
|
|
"net/levin",
|
|
"net/monero-wire",
|
|
"p2p",
|
|
# "p2p/sync-states"
|
|
]
|
|
|
|
[workspace.dependencies]
|
|
monero = { version = "*" }
|
|
bincode = { version = "2.0.0-rc.3" }
|
|
serde = { version = "*", features =["derive"]}
|
|
tracing = "*"
|
|
tracing-subscriber = "*"
|
|
|
|
# As suggested by /u/danda :
|
|
thiserror = "*"
|
|
|
|
[profile.release]
|
|
opt-level = 3
|
|
debug = 0
|
|
strip = "symbols"
|
|
lto = "thin"
|
|
panic = "abort"
|
|
|
|
[build]
|
|
linker="clang"
|
|
rustflags=[
|
|
"-Clink-arg=-fuse-ld=mold",
|
|
"-Zcf-protection=full",
|
|
"-Zsanitizer=cfi",
|
|
"-Crelocation-model=pie",
|
|
"-Cstack-protector=all",
|
|
] |