Skip to content
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

sync to rust-libp2p/master #566

Merged
merged 76 commits into from
Jan 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
543408b
ci: unset `RUSTFLAGS` value in semver job
obi1kenobi Nov 29, 2023
e889e2e
deps(webrtc): bump alpha versions
DougAnderson444 Nov 30, 2023
7b7cf5f
feat(request-response): derive `PartialOrd`,`Ord` for `{Out,In}Reques…
dariusc93 Nov 30, 2023
ec2258e
refactor(connection-limits): make `check_limit` a free-function
zhiqiangxu Nov 30, 2023
6d21e6e
chore(webrtc-utils): bump version to allow for new release
thomaseizinger Dec 1, 2023
c1925e5
feat(webrtc-websys): hide `libp2p_noise` from the public API
thomaseizinger Dec 1, 2023
d8d5482
fix(kad): iterator progress to be decided by any of new peers
maqi Dec 1, 2023
9584ee3
chore(quic): set `max_idle_timeout` to quinn default timeout
dariusc93 Dec 1, 2023
a83c30a
feat(core): impl Display on ListenerId
stormshield-frb Dec 1, 2023
4f0013c
feat(server): support websocket
mxinden Dec 1, 2023
ce24938
feat(swarm): implement `Copy` and `Clone` for `FromSwarm`
thomaseizinger Dec 3, 2023
2b28970
deps: bump wasm-bindgen-futures from 0.4.38 to 0.4.39
dependabot[bot] Dec 4, 2023
111f9b1
feat(connection-limit): add function to mutate `ConnectionLimits`
dariusc93 Dec 4, 2023
1361ead
deps: bump web-sys from 0.3.65 to 0.3.66
dependabot[bot] Dec 4, 2023
0f98c98
deps: bump wasm-bindgen-test from 0.3.38 to 0.3.39
dependabot[bot] Dec 5, 2023
f12dabc
fix(kad): don't assume `QuerId`s are unique
thomaseizinger Dec 5, 2023
0f28528
fix(webrtc example): clarify idle connection timeout
DougAnderson444 Dec 5, 2023
06d80fb
docs(examples/readme): fix broken link
trueNAHO Dec 5, 2023
f40cc4e
feat(yamux): auto-tune (dynamic) stream receive window
mxinden Dec 6, 2023
cfb248f
deps: bump actions/deploy-pages from 2 to 3
dependabot[bot] Dec 6, 2023
914c8aa
deps: bump the axum group with 2 updates
dependabot[bot] Dec 6, 2023
b7914e4
chore(webrtc-websys): remove unused dependencies
thomaseizinger Dec 6, 2023
084b123
chore(quic): fix link to PR in changelog
thomaseizinger Dec 11, 2023
34d04c2
deps: bump tokio from 1.34.0 to 1.35.0
dependabot[bot] Dec 11, 2023
fc53d4e
deps: bump syn from 2.0.39 to 2.0.40
dependabot[bot] Dec 11, 2023
305e02c
deps: bump once_cell from 1.18.0 to 1.19.0
dependabot[bot] Dec 11, 2023
4d1a539
deps: bump hkdf from 0.12.3 to 0.12.4
dependabot[bot] Dec 18, 2023
f719089
deps: bump clap from 4.4.10 to 4.4.11
dependabot[bot] Dec 18, 2023
191396e
deps: bump thiserror from 1.0.50 to 1.0.51
dependabot[bot] Dec 18, 2023
9323bc0
deps: bump syn from 2.0.40 to 2.0.41
dependabot[bot] Dec 18, 2023
e580f34
deps: bump async-io from 2.2.1 to 2.2.2
dependabot[bot] Dec 18, 2023
c115cdd
deps: bump rust-embed from 8.0.0 to 8.1.0
dependabot[bot] Dec 18, 2023
848bb74
chore(deps): bump golang.org/x/crypto from 0.7.0 to 0.17.0
dependabot[bot] Dec 19, 2023
c3500bb
deps: bump libc from 0.2.150 to 0.2.151
dependabot[bot] Dec 19, 2023
1d04b1e
docs: remove [email protected]
mxinden Dec 19, 2023
bdcb081
chore: fix typos
bodhi-crypo Dec 20, 2023
be1cfda
fix(derive): restore support for inline generic type constraints
aakoshh Dec 21, 2023
b6bb02b
deps: bump actions/deploy-pages from 3 to 4
dependabot[bot] Dec 22, 2023
2c6da31
chore: fix several typos in documentation
Frierened Dec 24, 2023
71c9170
deps: bump async-trait from 0.1.74 to 0.1.75
dependabot[bot] Dec 25, 2023
14c47c6
deps: bump anyhow from 1.0.75 to 1.0.76
dependabot[bot] Dec 25, 2023
be5bd0e
deps: bump futures-util from 0.3.29 to 0.3.30
dependabot[bot] Dec 25, 2023
3751773
deps: bump syn from 2.0.41 to 2.0.43
dependabot[bot] Dec 25, 2023
0e3843c
deps: bump tokio from 1.35.0 to 1.35.1
dependabot[bot] Dec 25, 2023
4260702
deps: bump reqwest from 0.11.22 to 0.11.23
dependabot[bot] Dec 25, 2023
d5ba324
deps: bump futures from 0.3.29 to 0.3.30
dependabot[bot] Dec 27, 2023
499928c
deps: bump trybuild from 1.0.85 to 1.0.86
dependabot[bot] Dec 27, 2023
507d94a
deps: bump proc-macro2 from 1.0.69 to 1.0.71
dependabot[bot] Dec 27, 2023
4fc911e
deps: bump actions/upload-pages-artifact from 2.0.0 to 3.0.0
dependabot[bot] Dec 27, 2023
9862187
deps: bump Rust to 1.75 and fix clippy lints
thomaseizinger Dec 30, 2023
0289824
deps: bump thiserror from 1.0.51 to 1.0.53
dependabot[bot] Jan 1, 2024
e0628e5
deps: bump clap from 4.4.11 to 4.4.12
dependabot[bot] Jan 1, 2024
af989f6
deps: bump tempfile from 3.8.1 to 3.9.0
dependabot[bot] Jan 2, 2024
99a6ad4
deps: bump rust-embed from 8.1.0 to 8.2.0
dependabot[bot] Jan 3, 2024
c71b7c1
deps: bump serde_json from 1.0.108 to 1.0.109
dependabot[bot] Jan 3, 2024
fed424e
deps: bump anyhow from 1.0.76 to 1.0.78
dependabot[bot] Jan 3, 2024
e688ee7
deps: bump proc-macro2 from 1.0.71 to 1.0.73
dependabot[bot] Jan 5, 2024
1913fb4
deps: bump quote from 1.0.33 to 1.0.34
dependabot[bot] Jan 5, 2024
08728b1
deps: bump anyhow from 1.0.78 to 1.0.79
dependabot[bot] Jan 8, 2024
53500e2
deps: bump serde_json from 1.0.109 to 1.0.111
dependabot[bot] Jan 9, 2024
3e06e0b
deps: bump thiserror from 1.0.53 to 1.0.56
dependabot[bot] Jan 9, 2024
92b2414
deps: bump libc from 0.2.151 to 0.2.152
dependabot[bot] Jan 9, 2024
48de34e
deps: bump trybuild from 1.0.86 to 1.0.88
dependabot[bot] Jan 10, 2024
3a94460
deps: bump proc-macro2 from 1.0.73 to 1.0.76
dependabot[bot] Jan 10, 2024
fa3e5b6
deps: bump clap from 4.4.12 to 4.4.13
dependabot[bot] Jan 11, 2024
5ad9485
deps: bump Swatinem/rust-cache from 2.7.1 to 2.7.2
dependabot[bot] Jan 12, 2024
ca376f1
deps: bump tj-actions/glob from 17 to 18
dependabot[bot] Jan 14, 2024
830f93f
deps: bump the axum group with 1 update
dependabot[bot] Jan 14, 2024
1e40ee6
deps: bump quote from 1.0.34 to 1.0.35
dependabot[bot] Jan 15, 2024
577e387
deps: bump async-trait from 0.1.75 to 0.1.77
dependabot[bot] Jan 15, 2024
9317726
ci: add dependabot group for webrtc
thomaseizinger Jan 15, 2024
795c856
deps: bump base64 from 0.21.5 to 0.21.7
dependabot[bot] Jan 15, 2024
ad2579d
deps: bump trybuild from 1.0.88 to 1.0.89
dependabot[bot] Jan 15, 2024
1e3b839
deps: bump js-sys from 0.3.66 to 0.3.67
dependabot[bot] Jan 15, 2024
5f90ab3
deps: bump wasm-bindgen from 0.2.89 to 0.2.90
dependabot[bot] Jan 15, 2024
b901215
add PeerId to ListenFailure
jxs Jan 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ updates:
- "axum"
- "tower"
- "tower-http"
webrtc:
patterns:
- "rcgen"
- "webrtc"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cache-factory.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

- uses: dtolnay/rust-toolchain@stable

- uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 # v2.7.1
- uses: Swatinem/rust-cache@a22603398250b864f7190077025cf752307154dc # v2.7.2
with:
shared-key: stable-cache

Expand Down
36 changes: 22 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:

- uses: dtolnay/rust-toolchain@stable

- uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 # v2.7.1
- uses: Swatinem/rust-cache@a22603398250b864f7190077025cf752307154dc # v2.7.2
with:
shared-key: stable-cache
save-if: false
Expand Down Expand Up @@ -158,7 +158,7 @@ jobs:

- uses: r7kamura/rust-problem-matchers@2c2f1016021a7455a6b5b4bbae31145f3b3cd83a #v1.4.0

- uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 # v2.7.1
- uses: Swatinem/rust-cache@a22603398250b864f7190077025cf752307154dc # v2.7.2
with:
key: ${{ matrix.target }}
save-if: ${{ github.ref == 'refs/heads/master' }}
Expand All @@ -183,7 +183,7 @@ jobs:

- uses: r7kamura/rust-problem-matchers@2c2f1016021a7455a6b5b4bbae31145f3b3cd83a #v1.4.0

- uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 # v2.7.1
- uses: Swatinem/rust-cache@a22603398250b864f7190077025cf752307154dc # v2.7.2
with:
save-if: ${{ github.ref == 'refs/heads/master' }}

Expand All @@ -204,7 +204,7 @@ jobs:

- uses: r7kamura/rust-problem-matchers@2c2f1016021a7455a6b5b4bbae31145f3b3cd83a #v1.4.0

- uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 # v2.7.1
- uses: Swatinem/rust-cache@a22603398250b864f7190077025cf752307154dc # v2.7.2
with:
key: ${{ matrix.features }}
save-if: ${{ github.ref == 'refs/heads/master' }}
Expand All @@ -221,7 +221,7 @@ jobs:

- uses: r7kamura/rust-problem-matchers@2c2f1016021a7455a6b5b4bbae31145f3b3cd83a #v1.4.0

- uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 # v2.7.1
- uses: Swatinem/rust-cache@a22603398250b864f7190077025cf752307154dc # v2.7.2
with:
save-if: ${{ github.ref == 'refs/heads/master' }}

Expand All @@ -234,9 +234,8 @@ jobs:
fail-fast: false
matrix:
rust-version: [
# 1.72.0, # current stable
# beta,
nightly-2023-09-10
1.75.0, # current stable
beta,
]
steps:
- uses: actions/checkout@v4
Expand All @@ -248,7 +247,7 @@ jobs:

- uses: r7kamura/rust-problem-matchers@2c2f1016021a7455a6b5b4bbae31145f3b3cd83a #v1.4.0

- uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 # v2.7.1
- uses: Swatinem/rust-cache@a22603398250b864f7190077025cf752307154dc # v2.7.2
with:
save-if: ${{ github.ref == 'refs/heads/master' }}

Expand All @@ -264,7 +263,7 @@ jobs:

- uses: r7kamura/rust-problem-matchers@2c2f1016021a7455a6b5b4bbae31145f3b3cd83a #v1.4.0

- uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 # v2.7.1
- uses: Swatinem/rust-cache@a22603398250b864f7190077025cf752307154dc # v2.7.2
with:
save-if: ${{ github.ref == 'refs/heads/master' }}

Expand All @@ -283,7 +282,7 @@ jobs:

- uses: r7kamura/rust-problem-matchers@2c2f1016021a7455a6b5b4bbae31145f3b3cd83a #v1.4.0

- uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 # v2.7.1
- uses: Swatinem/rust-cache@a22603398250b864f7190077025cf752307154dc # v2.7.2
with:
shared-key: stable-cache
save-if: false
Expand All @@ -307,6 +306,15 @@ jobs:

semver:
runs-on: ubuntu-latest
env:
# Unset the global `RUSTFLAGS` env to allow warnings.
# cargo-semver-checks intentionally re-locks dependency versions
# before checking, and we shouldn't fail here if a dep has a warning.
#
# More context:
# https://github.com/libp2p/rust-libp2p/pull/4932#issuecomment-1829014527
# https://github.com/obi1kenobi/cargo-semver-checks/issues/589
RUSTFLAGS: ''
steps:
- uses: actions/checkout@v4
- run: wget -q -O- https://github.com/obi1kenobi/cargo-semver-checks/releases/download/v0.25.0/cargo-semver-checks-x86_64-unknown-linux-gnu.tar.gz | tar -xz -C ~/.cargo/bin
Expand Down Expand Up @@ -366,12 +374,12 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 # v2.7.1
- uses: Swatinem/rust-cache@a22603398250b864f7190077025cf752307154dc # v2.7.2

- run: cargo install --version 0.10.0 pb-rs --locked

- name: Glob match
uses: tj-actions/glob@v17
uses: tj-actions/glob@v18
id: glob
with:
files: |
Expand All @@ -392,7 +400,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 # v2.7.1
- uses: Swatinem/rust-cache@a22603398250b864f7190077025cf752307154dc # v2.7.2
- run: cargo metadata --locked --format-version=1 > /dev/null

cargo-deny:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
echo "<meta http-equiv=\"refresh\" content=\"0; url=libp2p\">" > target/doc/index.html
cp -r target/doc/* ./host-docs
- name: Upload documentation
uses: actions/upload-pages-artifact@v2.0.0
uses: actions/upload-pages-artifact@v3.0.0
with:
path: "host-docs/"

Expand All @@ -42,5 +42,5 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4

Loading
Loading