mirror of
https://github.com/Cuprate/cuprate.git
synced 2024-12-22 19:49:28 +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>
27 lines
No EOL
686 B
TOML
27 lines
No EOL
686 B
TOML
[package]
|
|
name = "cuprate-test-utils"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
license = "MIT"
|
|
authors = ["Boog900"]
|
|
|
|
[dependencies]
|
|
monero-wire = {path = "../net/monero-wire"}
|
|
monero-p2p = {path = "../p2p/monero-p2p", features = ["borsh"] }
|
|
|
|
futures = { workspace = true, features = ["std"] }
|
|
async-trait = { workspace = true }
|
|
tokio = { workspace = true, features = ["full"] }
|
|
tokio-util = { workspace = true }
|
|
reqwest = { workspace = true }
|
|
bytes = { workspace = true, features = ["std"] }
|
|
tempfile = { workspace = true }
|
|
|
|
borsh = { workspace = true, features = ["derive"]}
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
tar = "0.4.40"
|
|
bzip2 = "0.4.4"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
zip = "0.6" |