Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
99 commits
Select commit Hold shift + click to select a range
4517161
feat!: add Schnorrkel-Ristretto support (tari_crypto version)
sdbondi Nov 23, 2023
5459d4d
add multiaddr to repo
sdbondi Dec 6, 2023
430b49c
update tari-crypto
sdbondi Jan 26, 2024
9b73988
Merge remote-tracking branch 'upstream/master' into add-sr25519-support
sdbondi Jan 26, 2024
49ca2a8
update carglo.lock
sdbondi Feb 5, 2024
0dccc6c
Merge branch 'master' into add-sr25519-support
sdbondi May 2, 2024
2a0d8ae
update tari_crypto 0.20.3
sdbondi Oct 7, 2024
ae8b4af
Merge tag 'v0.54.1' into add-sr25519-support
sdbondi Oct 7, 2024
95f4691
add equality check for sr25519
sdbondi Oct 7, 2024
2d5af69
make sr25519::PublicKey::inner public
sdbondi Oct 10, 2024
1ec5b8b
tari_crypto 0.21.0
sdbondi Oct 14, 2024
93fa716
add impl From<RistrettoSecretKey>
sdbondi Oct 14, 2024
3d918cc
add missing keypair functions
sdbondi Oct 16, 2024
ed117ca
Merge branch 'master' into add-sr25519-support
sdbondi Nov 1, 2024
8f1ceee
Merge branch 'master' into add-sr25519-support
sdbondi Jan 8, 2025
e26cd4e
update tari crypto 0.22.0
sdbondi Apr 3, 2025
d322272
Merge branch 'master' into add-sr25519-support
sdbondi Apr 3, 2025
daa0aad
Merge branch 'master' into add-sr25519-support
sdbondi Jun 17, 2025
debc012
update from master, upgrade hickory
sdbondi Jun 17, 2025
5e413c3
chore(request-reponse): use tokio test-swarm
elenaf9 Jun 18, 2025
a4220eb
feat(swarm-test): remove `async-std` support
elenaf9 Jun 21, 2025
4dc9431
chore(multistream-select): replace async-std with tokio in tests
PoulavBhowmick03 Jun 23, 2025
7a4310d
chore(swarm-tests): remove `async-std` feature
elenaf9 Jun 24, 2025
7cdf4d5
feat: deprecate async_std support in DNS crate
gitToki Jun 24, 2025
c476bce
chore: address clippy beta lints
jxs Jun 24, 2025
f47e38e
chore(tcp): remove async_std support
gitToki Jun 24, 2025
e4cbc1a
chore(deps): bump hickory-resolver and hickory-proto
hanabi1224 Jun 25, 2025
ef24b6f
chore(kad): deprecate async-std for tokio on the tests
jxs Jun 25, 2025
a53c85f
feat(libp2p/tcp): remove async_std from uds
PoulavBhowmick03 Jun 25, 2025
d578e08
chore(relay): use tokio on the tests instead of async-std
jxs Jun 25, 2025
1a3816a
fix(identity): drop `rand_core` feature in `ed25519-dalek`
hanabi1224 Jun 25, 2025
cf4f1a1
feat(swarm, libp2p): remove async-std
jxs Jun 25, 2025
fb01fd4
chore: remove async-std leftovers
jxs Jun 25, 2025
d996465
deps: bump Swatinem/rust-cache from 2.7.8 to 2.8.0
dependabot[bot] Jun 26, 2025
f4e5a8d
chore(kad): rename substreams_timeout
elenaf9 Jun 26, 2025
d92dabc
fix(relay): expose Deny reason for circuits and reservations
SaadTalaat Jun 26, 2025
c9bd92b
chore(webrtc): bump crate version, fix changelog
elenaf9 Jun 27, 2025
7b9a558
fix: propagate swarm bump through all protocols
elenaf9 Jun 27, 2025
70082df
chore(libp2p): don't re-export libp2p-peer-store
elenaf9 Jun 27, 2025
1aa4337
feat(kad): impl `Copy` for kademlia query progression types
tqwewe Jul 2, 2025
37040ee
feat(gossipsub): remove Rpc from the public API
jxs Jul 8, 2025
6e729d9
fix: only apply and log p3 and p6 when they are not zero
diegomrsantos Jul 15, 2025
3f1ee1e
fix(gossipsub): don't panic on mcache while adding fanout peers
AgeManning Jul 16, 2025
28fa068
fix(gossipsub): Always construct mesh
AgeManning Jul 16, 2025
2435b60
chore: update to socket2 dependency to v0.6
Thomasdezeeuw Jul 16, 2025
e6b0e34
fix: RELEASED_VERSION in bash script
hanabi1224 Jul 18, 2025
ad9a1b2
fix(kad): Remove no longer constructed GetRecordError::QuorumFailed
jxs Jul 23, 2025
5f68f73
fix(ci): mergify script
jxs Aug 5, 2025
eef67f6
feat: support SNI multiaddrs in WebSocket transport
rose2221 Aug 5, 2025
19a6887
fix(gossipsub): relax Behaviour::with_metrics,
jxs Aug 5, 2025
6433611
chore(gossipsub): update CHANGELOG.md
jxs Aug 5, 2025
e29dad6
fix(gossipsub): Remove penalty for duplicate publish messages
AgeManning Aug 5, 2025
d0a6509
chore(libp2p): add #[allow(allow_deadcode)]
jxs Aug 12, 2025
dd8107a
chore(memory-connection-limits): fix tests
jxs Aug 12, 2025
6dcfe73
docs(readme): add fungi to notable users
Heap-Hop Aug 12, 2025
3b518c4
chore(deps): bump hashlink
hanabi1224 Aug 13, 2025
172bbed
fix(gossipsub): Changed unsubscribe_backoff to expect Duration
sirandreww-starkware Aug 14, 2025
f50685f
chore: favor hashlink::LruCache over lru::LruCache
hanabi1224 Aug 19, 2025
fb5553c
chore: fix typos on the repositories doc
jxs Aug 19, 2025
dd11bab
deps: bump actions/upload-pages-artifact from 3.0.1 to 4.0.0
dependabot[bot] Aug 19, 2025
1bf4f73
deps: bump actions/checkout from 4 to 5
dependabot[bot] Aug 19, 2025
79fc6f1
fix(gossipsub): fixed incorrect default values in ConfigBuilder
sirandreww-starkware Aug 20, 2025
d63dab1
feat(peer-store): Limit number of peers in memory store
dknopik Aug 22, 2025
1755bca
fix(upnp): skip port mapping when an active port mapping is present
RolandSherwin Aug 22, 2025
aefbfbd
fix(upnp): add exponential backoff for failed port mappings
RolandSherwin Sep 1, 2025
62f0e65
fix: swarm panic while metric collection
kamuik16 Sep 5, 2025
6e18dd4
fix: reduce allocations in `or_insert` and `get_or_insert` (#6136)
hanabi1224 Sep 8, 2025
4b50fec
feat(upnp): emit local listen address when a port is mapped
RolandSherwin Sep 11, 2025
b433556
deps: bump Swatinem/rust-cache from 2.8.0 to 2.8.1
dependabot[bot] Sep 18, 2025
e1929e0
chore(ci): remove usage of self-hosted runners (#6170)
galargh Oct 1, 2025
9d2eb00
chore: Address latest clippy lints
jxs Oct 2, 2025
e7fea6c
chore(ci): address cargo deny issues
jxs Oct 2, 2025
79f097e
fix(gossipsub): remove duplicate config builder method
skaunov Oct 3, 2025
2fb2486
feat(gossipsub): upgrade internal message queue,
jxs Oct 7, 2025
0e52451
fix(libp2p): delegate metrics feature to gossipsub when enabled
jxs Oct 14, 2025
a753ab0
fix(gossipsub): Fix underflow when shuffling peers after prunning.
AgeManning Oct 17, 2025
0a81a74
chore(dpes): bump `prometheus-client`
hanabi1224 Oct 17, 2025
6b3c57a
chore(deps): bump quic-go/quic-go from 0.50.1 to 0.54.1 in /wasm-tests
dependabot[bot] Oct 20, 2025
dd3fb5d
chore(README.md): Add Links to mentioned tech
hoijui Oct 20, 2025
e0e6037
fix(gossisub): prevent mesh exceeding mesh_n_high
jxs Oct 24, 2025
61d436a
chore: prepare libp2p-upnp v0.6.0 (#6188)
jxs Oct 27, 2025
0c25004
chore(ci): fix intra doc links job
jxs Nov 4, 2025
3954cfd
chore: fix clippy lints
jxs Nov 5, 2025
b3d3167
chore: updated rustwasm links to new org home
mattyg Nov 5, 2025
c89444f
chore(uds): Renamed UDS Confing to follow re-export convention
momoshell Nov 6, 2025
ac1404e
fix(webtransport-websys): Allow `poll_flush` after `poll_close`
oblique Nov 12, 2025
0125fa9
refactor(gossipsub): do early return in for an empty input
onur-ozkan Nov 18, 2025
a0bf993
deps: bump Swatinem/rust-cache from 2.8.1 to 2.8.2
dependabot[bot] Nov 27, 2025
b0edc68
refactor(gossipsub): in-place negative-score peer removal
onur-ozkan Dec 7, 2025
2a7e1fe
fix(identity): make quick-protobuf dep optional
jxs Dec 8, 2025
285cd64
fix(gossipsub): avoid direct casting from u128 to u64
onur-ozkan Dec 13, 2025
93a63d9
chore(ci): fix cargo deny to address RUSTSEC-2025-0134
jxs Dec 15, 2025
7505305
update tari-crypto
sdbondi Dec 17, 2025
1c9fd89
chore(gossipsub): improve test structure
jxs Dec 18, 2025
646fd16
feat(gossipsub): log when sending and receiving gossipsub messages
jxs Dec 19, 2025
e10ce4c
fix: use standard peer-record domain and payload type
r-zig Dec 22, 2025
5e3519f
feat(tcp): expose socket2 `set_linger`
jxs Jan 7, 2026
341340a
Merge branch 'master' into add-sr25519-support
sdbondi Jan 12, 2026
6929685
update multiaddr
sdbondi Jan 12, 2026
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
1 change: 0 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ updates:
hickory-dns:
patterns:
- "hickory-*"
- "async-std-resolver"
opentelemetry:
patterns:
- "opentelemetry*"
Expand Down
3 changes: 3 additions & 0 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
merge_queue:
max_parallel_checks: 1

pull_request_rules:
- name: Ask to resolve conflict
conditions:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cache-factory.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ jobs:
make_stable_rust_cache:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- uses: dtolnay/rust-toolchain@stable

- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
- uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
with:
shared-key: stable-cache

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cargo-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
60 changes: 27 additions & 33 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,7 @@ env:
jobs:
test:
name: Test ${{ matrix.crate }}
runs-on: ${{ fromJSON(
github.repository == 'libp2p/rust-libp2p' && (
(contains(fromJSON('["libp2p-webrtc", "libp2p"]'), matrix.crate) && '["self-hosted", "linux", "x64", "2xlarge"]') ||
(contains(fromJSON('["libp2p-quic", "libp2p-perf"]'), matrix.crate) && '["self-hosted", "linux", "x64", "xlarge"]') ||
'["self-hosted", "linux", "x64", "large"]'
) || '"ubuntu-latest"') }}
runs-on: ubuntu-latest
timeout-minutes: 10
needs: gather_published_crates
strategy:
Expand All @@ -33,15 +28,15 @@ jobs:
env:
CRATE: ${{ matrix.crate }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0

- uses: r7kamura/rust-problem-matchers@9fe7ca9f6550e5d6358e179d451cc25ea6b54f98 #v1.5.0

- uses: dtolnay/rust-toolchain@stable

- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
- uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
with:
shared-key: stable-cache
save-if: false
Expand Down Expand Up @@ -109,7 +104,7 @@ jobs:
name: Run all WASM tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- uses: dtolnay/rust-toolchain@stable
with:
Expand Down Expand Up @@ -142,15 +137,15 @@ jobs:
os: windows-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- uses: dtolnay/rust-toolchain@stable
with:
target: ${{ matrix.target }}

- uses: r7kamura/rust-problem-matchers@9fe7ca9f6550e5d6358e179d451cc25ea6b54f98 #v1.5.0

- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
- uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
with:
key: ${{ matrix.target }}
save-if: ${{ github.ref == 'refs/heads/master' }}
Expand All @@ -161,7 +156,7 @@ jobs:
name: Compile with MSRV
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- name: Extract MSRV from workspace manifest
shell: bash
Expand All @@ -175,7 +170,7 @@ jobs:

- uses: r7kamura/rust-problem-matchers@9fe7ca9f6550e5d6358e179d451cc25ea6b54f98 #v1.5.0

- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
- uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
with:
save-if: ${{ github.ref == 'refs/heads/master' }}

Expand All @@ -188,15 +183,14 @@ jobs:
matrix:
include:
- features: "mdns tcp dns tokio"
- features: "mdns tcp dns async-std"
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- uses: dtolnay/rust-toolchain@stable

- uses: r7kamura/rust-problem-matchers@9fe7ca9f6550e5d6358e179d451cc25ea6b54f98 #v1.5.0

- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
- uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
with:
key: ${{ matrix.features }}
save-if: ${{ github.ref == 'refs/heads/master' }}
Expand All @@ -207,13 +201,13 @@ jobs:
name: Check rustdoc intra-doc links
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- uses: dtolnay/rust-toolchain@stable

- uses: r7kamura/rust-problem-matchers@9fe7ca9f6550e5d6358e179d451cc25ea6b54f98 #v1.5.0

- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
- uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
with:
save-if: ${{ github.ref == 'refs/heads/master' }}

Expand All @@ -230,7 +224,7 @@ jobs:
beta,
]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- uses: dtolnay/rust-toolchain@master
with:
Expand All @@ -239,7 +233,7 @@ jobs:

- uses: r7kamura/rust-problem-matchers@9fe7ca9f6550e5d6358e179d451cc25ea6b54f98 #v1.5.0

- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
- uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
with:
save-if: ${{ github.ref == 'refs/heads/master' }}

Expand All @@ -249,13 +243,13 @@ jobs:
name: IPFS Integration tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- uses: dtolnay/rust-toolchain@stable

- uses: r7kamura/rust-problem-matchers@9fe7ca9f6550e5d6358e179d451cc25ea6b54f98 #v1.5.0

- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
- uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
with:
save-if: ${{ github.ref == 'refs/heads/master' }}

Expand All @@ -268,13 +262,13 @@ jobs:
examples:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- uses: dtolnay/rust-toolchain@stable

- uses: r7kamura/rust-problem-matchers@9fe7ca9f6550e5d6358e179d451cc25ea6b54f98 #v1.5.0

- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
- uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
with:
shared-key: stable-cache
save-if: false
Expand Down Expand Up @@ -308,14 +302,14 @@ jobs:
# https://github.com/obi1kenobi/cargo-semver-checks/issues/589
RUSTFLAGS: ''
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- uses: obi1kenobi/cargo-semver-checks-action@v2
- run: cargo semver-checks

rustfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- uses: dtolnay/rust-toolchain@nightly
with:
Expand All @@ -329,7 +323,7 @@ jobs:
manifest_lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- uses: dtolnay/rust-toolchain@stable

Expand All @@ -350,7 +344,7 @@ jobs:
outputs:
members: ${{ steps.cargo-metadata.outputs.members }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- uses: dtolnay/rust-toolchain@stable

Expand All @@ -363,9 +357,9 @@ jobs:
name: Check for changes in proto files
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
- uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2

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

Expand All @@ -390,14 +384,14 @@ jobs:
name: Ensure that `Cargo.lock` is up-to-date
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
- uses: actions/checkout@v5
- uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
- run: cargo metadata --locked --format-version=1 > /dev/null

cargo-deny:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- uses: EmbarkStudios/cargo-deny-action@v2
with:
command: check advisories bans licenses sources
2 changes: 1 addition & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
server:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- uses: docker/login-action@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Install nightly toolchain
run: rustup toolchain install nightly
- name: Build Documentation
Expand All @@ -23,7 +23,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@v3.0.1
uses: actions/upload-pages-artifact@v4.0.0
with:
path: "host-docs/"

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/interop-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
run-transport-interop:
name: Run transport interoperability tests
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository
runs-on: ${{ fromJSON(github.repository == 'libp2p/rust-libp2p' && '["self-hosted", "linux", "x64", "4xlarge"]' || '"ubuntu-latest"') }}
runs-on: ubuntu-latest
strategy:
matrix:
flavour: [chromium, native]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- uses: docker/setup-buildx-action@v3

Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository
runs-on: ${{ fromJSON(github.repository == 'libp2p/rust-libp2p' && '["self-hosted", "linux", "x64", "4xlarge"]' || '"ubuntu-latest"') }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- uses: docker/setup-buildx-action@v3
- name: Build image
run: docker buildx build --load -t rust-libp2p-head . -f hole-punching-tests/Dockerfile
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
target
.idea/
Loading
Loading