The Rust Implementation of the libp2p networking stack. https://libp2p.io
  • Rust 99.7%
  • Shell 0.2%
Find a file
gerald 78f6c206c2
chore(docs): deprecate doc_auto_cfg (#6687)
to fix building on `docs.rs`




Approved-by: jxs <1204690+jxs@users.noreply.github.com>
2026-11-22 13:49:06 +00:00
.github chore: address clippy lints (#6766) 2026-11-15 16:41:13 +00:00
core chore(docs): deprecate doc_auto_cfg (#6687) 2026-11-22 13:49:06 +00:00
docs chore: fix spelling mistakes using crate-ci/typos 2025-02-08 13:25:01 +00:00
examples chore: update MSRV to 1.89 (#6777) 2026-11-16 23:03:10 +00:00
hole-punching-tests chore: update MSRV to 1.89 (#6777) 2026-11-16 23:03:10 +00:00
identity chore(docs): deprecate doc_auto_cfg (#6687) 2026-11-22 13:49:06 +00:00
interop-tests chore: update MSRV to 1.89 (#6777) 2026-11-16 23:03:10 +00:00
libp2p chore(docs): deprecate doc_auto_cfg (#6687) 2026-11-22 13:49:06 +00:00
misc chore(docs): deprecate doc_auto_cfg (#6687) 2026-11-22 13:49:06 +00:00
muxers chore(docs): deprecate doc_auto_cfg (#6687) 2026-11-22 13:49:06 +00:00
protocols chore(docs): deprecate doc_auto_cfg (#6687) 2026-11-22 13:49:06 +00:00
scripts fix: RELEASED_VERSION in bash script 2025-07-18 07:08:47 +00:00
swarm chore(docs): deprecate doc_auto_cfg (#6687) 2026-11-22 13:49:06 +00:00
swarm-derive chore(docs): deprecate doc_auto_cfg (#6687) 2026-11-22 13:49:06 +00:00
swarm-test chore: update MSRV to 1.89 (#6777) 2026-11-16 23:03:10 +00:00
transports chore(docs): deprecate doc_auto_cfg (#6687) 2026-11-22 13:49:06 +00:00
wasm-tests deps: unpin wasm-bindgen-futures (#6747) 2026-11-19 18:52:21 +00:00
.dockerignore feat(interop-tests): build test binary inside container (#3441) 2023-02-10 06:14:25 +00:00
.editorconfig feat(.editorconfig): set insert_final_newline to true 2023-03-13 07:29:29 +00:00
.git-blame-ignore-revs .git-blame-ignore-revs/: Initialize and add rustfmt commit (#2864) 2022-09-04 14:29:39 +02:00
.gitignore feat: track Cargo.lock in CI (#3399) 2023-01-30 11:59:37 +00:00
Cargo.lock deps: unpin wasm-bindgen-futures (#6747) 2026-11-19 18:52:21 +00:00
Cargo.toml deps: unpin wasm-bindgen-futures (#6747) 2026-11-19 18:52:21 +00:00
CHANGELOG.md chore: Fix identity changelog link 2024-08-13 15:08:07 +00:00
clippy.toml chore: address clippy beta lints 2025-05-13 10:03:08 +00:00
CONTRIBUTING.md docs: add CONTRIBUTING.md 2023-06-30 13:10:31 +00:00
deny.toml chore: upgrade all deps to rand 0.10 ecosystem (#6559) 2026-07-28 20:47:30 +01:00
FUNDING.json chore: update FUNDING.json 2024-11-22 13:24:17 +00:00
LICENSE Some petty changes head of QUIC (#1854) 2020-11-24 12:40:11 +01:00
README.md docs: add Kursal to notable users (#6768) 2026-11-16 04:24:25 +00:00
ROADMAP.md docs(roadmap): clarify community-driven roadmap 2025-02-25 21:09:40 +00:00
rustfmt.toml chore: Add edition to rustfmt.toml 2026-05-06 10:57:52 +00:00
SECURITY.md docs: remove security@libp2p.io 2023-12-19 12:37:47 +00:00

Central repository for work on libp2p

dependency status Crates.io docs.rs docs.rs master

This repository is the central place for Rust development of the libp2p spec.

Getting started

Repository Structure

The main components of this repository are structured as follows:

  • core/: The implementation of libp2p-core with its Transport and StreamMuxer API on which almost all other crates depend.

  • transports/: Implementations of transport protocols (e.g. TCP) and protocol upgrades (e.g. for authenticated encryption, compression, ...) based on the libp2p-core Transport API.

  • muxers/: Implementations of the StreamMuxer interface of libp2p-core, e.g. (sub)stream multiplexing protocols on top of (typically TCP) connections. Multiplexing protocols are (mandatory) Transport upgrades.

  • swarm/: The implementation of libp2p-swarm building on libp2p-core with the central interfaces NetworkBehaviour and ConnectionHandler used to implement application protocols (see protocols/).

  • protocols/: Implementations of application protocols based on the libp2p-swarm APIs.

  • misc/: Utility libraries.

  • libp2p/examples/: Worked examples of built-in application protocols (see protocols/) with common Transport configurations.

Community Guidelines

The libp2p project operates under the IPFS Code of Conduct.

tl;dr

  • Be respectful.
  • We're here to help: abuse@ipfs.io
  • Abusive behavior is never tolerated.
  • Violations of this code may result in swift and permanent expulsion from the IPFS [and libp2p] community.
  • "Too long, didn't read" is not a valid excuse for not knowing what is in this document.

Maintainers

(In alphabetical order.)

Notable users

(open a pull request if you want your project to be added here)

  • COMIT - Bitcoin–Monero Cross-chain Atomic Swap.
  • Forest - An implementation of Filecoin written in Rust.
  • fuel-core - A Rust implementation of the Fuel protocol.
  • HotShot - Decentralized sequencer in Rust developed by Espresso Systems.
  • ipfs-embed - A small embeddable ipfs implementation used and maintained by Actyx.
  • Homestar - An InterPlanetary Virtual Machine (IPVM) implementation used and maintained by Fission.
  • beetle - Next-generation implementation of IPFS for Cloud & Mobile platforms.
  • Lighthouse - Ethereum consensus client in Rust.
  • Locutus - Global, observable, decentralized key-value store.
  • Neptune - post-quantum, scalable, and private blockchain with zk-STARKs on Layer-1.
  • OpenMina - In-browser Mina Rust implementation.
  • qaul قول - Internet Independent Wireless Mesh Communication App
  • rust-ipfs - IPFS implementation in Rust.
  • Safe Network - Safe Network implementation in Rust.
  • SQD Network - A decentralized storage for Web3 data.
  • Starcoin - A smart contract blockchain network that scales by layering.
  • Subspace - Subspace Network reference implementation
  • Substrate - Framework for blockchain innovation, used by Polkadot.
  • Swarm NL - A library that makes it easy to configure the networking requirements for any distributed application.
  • Taple - Sustainable DLT for asset and process traceability by OpenCanarias.
  • Ceylon - A Multi-Agent System (MAS) Development Framework.
  • Fungi - A platform built for seamless multi-device integration.
  • Kinetic - Stateless, Sybil-resistant naming system with permanent identities using VDFs and drand.
  • Kursal - Decentralized, post-quantum end-to-end encrypted messenger.