-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge master
into discv5.2
#234
Merged
+1,549
−611
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
756791b
Version bump to v0.3.1 (#203)
AgeManning 3135833
fix docs (#204)
divagant-martian a9f1e99
refactor for removing `Discv5` prefix (#206)
divagant-martian 1439dec
fix rpc decoding to reject extra data (#208)
divagant-martian d2e30e0
expected_responses remains after challenge has been completed (#210)
ackintosh 299638d
Expose local ENR Arc (#214)
jmcph4 faa5801
Use zero ports in tests (#216)
jmcph4 f289bbd
update dependencies (#219)
jxs e64446b
Changing port of ReponseBody::Pong to NonZeroU16 (#220)
ackintosh aa12e38
Update 'enr' dependency (#223)
morph-dev 546e19c
Add support for concurrent requests to a single peer. (#200)
njgheorghita ce7531c
Adjust some logs (#225)
divagant-martian 4009f0d
Version bump to v0.4.0
AgeManning f0220e2
make tracing-subscriber a dev dep (#226)
divagant-martian 5a61b6b
Fix warnings and bump libp2p (#232)
AgeManning b0b8569
Merge branch 'master' into discv5.2-merge-master
ackintosh 6d4fce2
Update session_cache_capacity from usize to NonZeroUsize
ackintosh 630828f
Fix rustdoc
ackintosh 238dbc0
cargo fmt
ackintosh c58677e
Fix a merging mistake: lost validation in Message::decode
ackintosh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
appropriate. always wondering what message to write when calling expect on this with a value > 0.