forked from libp2p/rust-libp2p
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:libp2p/rust-libp2p into quic/muxer
- Loading branch information
Showing
100 changed files
with
1,424 additions
and
768 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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[alias] | ||
# Temporary solution to have clippy config in a single place until https://github.com/rust-lang/rust-clippy/blob/master/doc/roadmap-2021.md#lintstoml-configuration is shipped. | ||
custom-clippy = "clippy --all-features -- -A clippy::type_complexity -A clippy::pedantic -D warnings" | ||
custom-clippy = "clippy --all-features --all-targets -- -A clippy::type_complexity -A clippy::pedantic -D warnings" |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# This file contains revisions that are to be ignored by git when running `git blame`. | ||
# | ||
# This does NOT work automatically, you first need to tell Git about this file. | ||
# To do so, run `git config --global blame.ignoreRevsFile .git-blame-ignore-revs`. | ||
# You may want to run this without `--global` if you have a different naming convention for this file in other repositories. | ||
# | ||
# Format with rustfmt | ||
f701b24ec0f99be49444a6e7de950c66b01b2f3f |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: cargo deny | ||
on: | ||
push: | ||
paths: | ||
- '**/Cargo.toml' | ||
pull_request: | ||
paths: | ||
- '**/Cargo.toml' | ||
jobs: | ||
cargo-deny: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
checks: | ||
- advisories | ||
- bans licenses sources | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: EmbarkStudios/cargo-deny-action@v1 | ||
with: | ||
command: check ${{ matrix.checks }} |
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
name: Interoperability Testing | ||
|
||
jobs: | ||
# NOTE: during a pull request run, github creates a merge commit referenced in `github.sha` | ||
# that merge commit is not a regular commit. You won't find it with a regular `git checkout SHA` and | ||
# tools like `go get repo@SHA` won't find it. | ||
# | ||
# As a workaround, we generate a path to the actual pull request's commit, it looks like: | ||
# `github.com/external-org/go-libp2p@latest-commit-on-their-branch` | ||
run-ping-interop-cross-version: | ||
uses: "libp2p/test-plans/.github/workflows/run-composition.yml@master" | ||
with: | ||
composition_file: "ping/_compositions/rust-cross-versions.toml" | ||
custom_git_target: github.com/${{ github.event.pull_request.head.repo.full_name || github.event.repository.full_name }} | ||
custom_git_reference: ${{ github.event.pull_request.head.sha || github.sha }} | ||
run-ping-interop-cross-implementation: | ||
uses: "libp2p/test-plans/.github/workflows/run-composition.yml@master" | ||
with: | ||
composition_file: "ping/_compositions/go-rust-interop-latest.toml" | ||
custom_git_target: github.com/${{ github.event.pull_request.head.repo.full_name || github.event.repository.full_name }} | ||
custom_git_reference: ${{ github.event.pull_request.head.sha || github.sha }} | ||
custom_interop_target: rust |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
disallowed-methods = [ | ||
{ path = "futures::channel::mpsc::unbounded", reason = "does not enforce backpressure" }, | ||
] |
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.