-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Version bump to v0.3.1 (#203) * fix docs (#204) * refactor for removing `Discv5` prefix (#206) * goodbye prefix * adjust docs * fix rpc decoding to reject extra data (#208) * reject extra data * reduce diff * expected_responses remains after challenge has been completed (#210) * Replace `Handler::spawn` with `build_handler()` and `Handler::start()` * Test the handler's states after the handler has been terminated * Remove expected response on handle_auth_message() * Rename variables for readability * Expose local ENR Arc (#214) * Use zero ports in tests (#216) * update dependencies (#219) * Changing port of ReponseBody::Pong to NonZeroU16 (#220) * Change `port` from u16 to NonZeroU16 * Fix tests * Fix test: the PONG port can't be zero * Fix clippy warnings * Update 'enr' dependency (#223) * Add support for concurrent requests to a single peer. (#200) Co-authored-by: ackintosh <[email protected]> Co-authored-by: Diva M <[email protected]> Co-authored-by: Age Manning <[email protected]> * Adjust some logs (#225) * remove log for timed out query. This is always informed in the callback * expand common logs, unify info on startup * adjust auth header log * Update src/service.rs * Appease clippy * Realised I was wrong. Don't need this log, my bad * fmt --------- Co-authored-by: Age Manning <[email protected]> * Version bump to v0.4.0 * make tracing-subscriber a dev dep (#226) * Fix warnings and bump libp2p (#232) * Update session_cache_capacity from usize to NonZeroUsize since the argument of LruCache::new is NonZeroUsize. * Fix rustdoc * cargo fmt * Fix a merging mistake: lost validation in Message::decode --------- Co-authored-by: Age Manning <[email protected]> Co-authored-by: Divma <[email protected]> Co-authored-by: Jack McPherson <[email protected]> Co-authored-by: João Oliveira <[email protected]> Co-authored-by: Milos Stankovic <[email protected]> Co-authored-by: Nick Gheorghita <[email protected]> Co-authored-by: Diva M <[email protected]>
- Loading branch information
1 parent
04f2dc6
commit 088a171
Showing
26 changed files
with
1,549 additions
and
611 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "discv5" | ||
authors = ["Age Manning <[email protected]>"] | ||
edition = "2018" | ||
version = "0.3.0" | ||
version = "0.4.1" | ||
description = "Implementation of the p2p discv5 discovery protocol" | ||
license = "Apache-2.0" | ||
repository = "https://github.com/sigp/discv5" | ||
|
@@ -12,43 +12,42 @@ categories = ["network-programming", "asynchronous"] | |
exclude = [".gitignore", ".github/*"] | ||
|
||
[dependencies] | ||
enr = { version = "0.8.1", features = ["k256", "ed25519"] } | ||
tokio = { version = "1.15.0", features = ["net", "sync", "macros", "rt"] } | ||
libp2p-core = { version = "0.40.0", optional = true } | ||
libp2p-identity = { version = "0.2.1", features = ["ed25519", "secp256k1"], optional = true } | ||
zeroize = { version = "1.4.3", features = ["zeroize_derive"] } | ||
futures = "0.3.19" | ||
uint = { version = "0.9.1", default-features = false } | ||
rlp = "0.5.1" | ||
enr = { version = "0.10", features = ["k256", "ed25519"] } | ||
tokio = { version = "1", features = ["net", "sync", "macros", "rt"] } | ||
libp2p = { version = "0.53", features = ["ed25519", "secp256k1"], optional = true } | ||
zeroize = { version = "1", features = ["zeroize_derive"] } | ||
futures = "0.3" | ||
uint = { version = "0.9", default-features = false } | ||
rlp = "0.5" | ||
# This version must be kept up to date do it uses the same dependencies as ENR | ||
hkdf = "0.12.3" | ||
hex = "0.4.3" | ||
fnv = "1.0.7" | ||
arrayvec = "0.7.2" | ||
rand = { version = "0.8.4", package = "rand" } | ||
socket2 = "0.4.4" | ||
smallvec = "1.7.0" | ||
parking_lot = "0.11.2" | ||
lazy_static = "1.4.0" | ||
aes = { version = "0.7.5", features = ["ctr"] } | ||
aes-gcm = "0.9.4" | ||
tracing = { version = "0.1.29", features = ["log"] } | ||
tracing-subscriber = { version = "0.3.3", features = ["env-filter"] } | ||
lru = {version = "0.7.1", default-features = false } | ||
hashlink = "0.7.0" | ||
delay_map = "0.3.0" | ||
more-asserts = "0.2.2" | ||
derive_more = { version = "0.99.17", default-features = false, features = ["from", "display", "deref", "deref_mut"] } | ||
hkdf = "0.12" | ||
hex = "0.4" | ||
fnv = "1" | ||
arrayvec = "0.7" | ||
rand = { version = "0.8", package = "rand" } | ||
socket2 = "0.4" | ||
smallvec = "1" | ||
parking_lot = "0.11" | ||
lazy_static = "1" | ||
aes = { version = "0.7", features = ["ctr"] } | ||
aes-gcm = "0.9" | ||
tracing = { version = "0.1", features = ["log"] } | ||
lru = { version = "0.12", default-features = false } | ||
hashlink = "0.8" | ||
delay_map = "0.3" | ||
more-asserts = "0.3" | ||
derive_more = { version = "0.99", default-features = false, features = ["from", "display", "deref", "deref_mut"] } | ||
|
||
[dev-dependencies] | ||
clap = { version = "4", features = ["derive"] } | ||
if-addrs = "0.10" | ||
quickcheck = "0.9" | ||
rand_07 = { package = "rand", version = "0.7" } | ||
quickcheck = "0.9.2" | ||
tokio = { version = "1.15.0", features = ["full"] } | ||
rand_xorshift = "0.3.0" | ||
rand_core = "0.6.3" | ||
clap = { version = "3.1", features = ["derive"] } | ||
if-addrs = "0.10.1" | ||
rand_core = "0.6" | ||
rand_xorshift = "0.3" | ||
tokio = { version = "1", features = ["full"] } | ||
tracing-subscriber = { version = "0.3", features = ["env-filter"] } | ||
|
||
[features] | ||
libp2p = ["libp2p-core", "libp2p-identity"] | ||
libp2p = ["dep:libp2p"] | ||
serde = ["enr/serde"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.