The Rust Implementation of the libp2p networking stack. https://libp2p.io
  • Rust 99.7%
  • Shell 0.2%
Find a file
2026-07-24 13:49:12 +00:00
.github deps: bump actions/upload-pages-artifact from 4.0.0 to 5.0.0 2026-07-24 13:49:12 +00:00
core chore(deps): update overall deps 2026-07-22 19:12:12 +00:00
docs chore: fix spelling mistakes using crate-ci/typos 2025-02-08 13:25:01 +00:00
examples deps: bump opentelemetry group 2026-07-23 14:25:01 +00:00
hole-punching-tests deps: bump redis from 0.24.1 to 1.4.1 2026-07-24 12:52:21 +00:00
identity deps: bump criterion from 0.5.1 to 0.8.2 2026-07-24 13:06:41 +00:00
interop-tests deps: bump redis from 0.24.1 to 1.4.1 2026-07-24 12:52:21 +00:00
libp2p chore: cargo fmt 2026-07-23 08:17:33 +00:00
misc chore(deps): update overall deps 2026-07-22 19:12:12 +00:00
muxers deps: bump criterion from 0.5.1 to 0.8.2 2026-07-24 13:06:41 +00:00
protocols chore(deps): update overall deps 2026-07-22 19:12:12 +00:00
scripts fix: RELEASED_VERSION in bash script 2025-07-18 07:08:47 +00:00
swarm chore(deps): update overall deps 2026-07-22 19:12:12 +00:00
swarm-derive chore(deps): update overall deps 2026-07-22 19:12:12 +00:00
swarm-test chore(deps): update overall deps 2026-07-22 19:12:12 +00:00
transports chore(deps): update overall deps 2026-07-22 19:12:12 +00:00
wasm-tests chore(deps): bump golang.org/x/net from 0.54.0 to 0.56.0 in wasm-tests 2026-07-23 15:20:32 +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: bump criterion from 0.5.1 to 0.8.2 2026-07-24 13:06:41 +00:00
Cargo.toml deps: bump criterion from 0.5.1 to 0.8.2 2026-07-24 13:06:41 +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(ci): fix cargo deny to address RUSTSEC-2025-0134 2025-12-15 15:24:18 +00: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 Kinetic to Notable Users 2026-07-21 16:09:03 +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 - BitcoinMonero 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.