mirror of
https://github.com/hinto-janai/cuprate.git
synced 2024-12-23 03:59:37 +00:00
Boog900
159c8a3b48
* levin: fix fragmented messages & use bitflags * levin: add a method to fragment a message * levin: add tests for fragmented messages and fix issues * fix docs * tests: don't include bytes length * levin: add support for sending fragmented / dummy messages * fmt * add fragmented handshake tests. * fix handshake detection when fragmented and alt (non-monero) protocol info * add tracing logs * remove `already_built`, this was an old way I was thinking of sending raw buckets * clippy * clippy 2 * Update net/levin/src/message.rs Co-authored-by: hinto-janai <hinto.janai@protonmail.com> * review comments * add timeout to tests * Update net/levin/src/header.rs Co-authored-by: hinto-janai <hinto.janai@protonmail.com> --------- Co-authored-by: hinto-janai <hinto.janai@protonmail.com>
34 lines
1.1 KiB
TOML
34 lines
1.1 KiB
TOML
[package]
|
|
name = "monero-p2p"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
license = "MIT"
|
|
authors = ["Boog900"]
|
|
|
|
[features]
|
|
default = ["borsh"]
|
|
borsh = ["dep:borsh", "monero-pruning/borsh"]
|
|
|
|
[dependencies]
|
|
cuprate-helper = { path = "../../helper" }
|
|
monero-wire = { path = "../../net/monero-wire", features = ["tracing"] }
|
|
monero-pruning = { path = "../../pruning" }
|
|
|
|
tokio = { workspace = true, features = ["net", "sync", "macros", "time"]}
|
|
tokio-util = { workspace = true, features = ["codec"] }
|
|
tokio-stream = { workspace = true, features = ["sync"]}
|
|
futures = { workspace = true, features = ["std", "async-await"] }
|
|
async-trait = { workspace = true }
|
|
tower = { workspace = true, features = ["util"] }
|
|
|
|
thiserror = { workspace = true }
|
|
tracing = { workspace = true, features = ["std"] }
|
|
|
|
borsh = { workspace = true, default-features = false, features = ["derive", "std"], optional = true }
|
|
|
|
[dev-dependencies]
|
|
cuprate-test-utils = {path = "../../test-utils"}
|
|
|
|
hex = { workspace = true, features = ["std"] }
|
|
tokio = { workspace = true, features = ["net", "rt-multi-thread", "rt", "macros"]}
|
|
tracing-subscriber = { workspace = true }
|