This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Move bitswap to its own crate #12242
Merged
Merged
Changes from 4 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
8574914
Introduce `sc-network-bitswap`
altonen c172d00
Improve test coverage
altonen 6aac4e0
Remove mention of bitswap from `sc-network`
altonen 92fff8c
Fix documentation
altonen 8ccaaf9
Fix clippy and remove the void dependency
altonen 0a98e87
Remove unneeded trait bound and bump prost to 0.11
altonen a5429a0
Merge remote-tracking branch 'origin/master' into sc-network-bitswap
altonen 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| [package] | ||
| description = "Substrate bitswap protocol" | ||
| name = "sc-network-bitswap" | ||
| version = "0.10.0-dev" | ||
| license = "GPL-3.0-or-later WITH Classpath-exception-2.0" | ||
| authors = ["Parity Technologies <[email protected]>"] | ||
| edition = "2021" | ||
| homepage = "https://substrate.io" | ||
| repository = "https://github.com/paritytech/substrate/" | ||
| documentation = "https://docs.rs/sc-network-bitswap" | ||
| readme = "README.md" | ||
|
|
||
| [package.metadata.docs.rs] | ||
| targets = ["x86_64-unknown-linux-gnu"] | ||
|
|
||
| [build-dependencies] | ||
| prost-build = "0.10" | ||
|
|
||
| [dependencies] | ||
| cid = "0.8.6" | ||
| futures = "0.3.21" | ||
| libp2p = "0.46.1" | ||
| log = "0.4.17" | ||
| prost = "0.10" | ||
altonen marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| thiserror = "1.0" | ||
| unsigned-varint = { version = "0.7.1", features = ["futures", "asynchronous_codec"] } | ||
| void = "1.0.2" | ||
| sc-client-api = { version = "4.0.0-dev", path = "../../api" } | ||
| sc-network-common = { version = "0.10.0-dev", path = "../common" } | ||
| sp-blockchain = { version = "4.0.0-dev", path = "../../../primitives/blockchain" } | ||
| sp-runtime = { version = "6.0.0", path = "../../../primitives/runtime" } | ||
|
|
||
| [dev-dependencies] | ||
| tokio = { version = "1", features = ["full"] } | ||
| sc-block-builder = { version = "0.10.0-dev", path = "../../block-builder" } | ||
| sc-consensus = { version = "0.10.0-dev", path = "../../consensus/common" } | ||
| sp-core = { version = "6.0.0", path = "../../../primitives/core" } | ||
| sp-consensus = { version = "0.10.0-dev", path = "../../../primitives/consensus/common" } | ||
| substrate-test-runtime = { version = "2.0.0", path = "../../../test-utils/runtime" } | ||
| substrate-test-runtime-client = { version = "2.0.0", path = "../../../test-utils/runtime/client" } | ||
This file contains hidden or 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.
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.
Uh oh!
There was an error while loading. Please reload this page.