No description
  • Rust 99.7%
  • Shell 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2025-10-06 19:54:15 +02:00
.github chore(ci): remove usage of self-hosted runners (#6170) 2025-10-01 16:39:56 +01:00
core chore: fix typos on the repositories doc 2025-08-19 16:22:32 +00:00
docs chore: fix spelling mistakes using crate-ci/typos 2025-02-08 13:25:01 +00:00
examples feat(upnp): emit local listen address when a port is mapped 2025-09-11 22:12:26 +00:00
hole-punching-tests chore: address clippy lints for cargo 1.87.0-beta / clippy 0.1.87 2025-04-09 12:56:44 +00:00
identity fix(identity): drop rand_core feature in ed25519-dalek 2025-06-25 15:26:56 +00:00
interop-tests chore: Add edition to workspace Cargo.toml and inherit workspace edition 2025-03-07 18:52:24 +00:00
libp2p chore(libp2p): add #[allow(allow_deadcode)] 2025-08-12 16:52:20 +00:00
misc fix: reduce allocations in or_insert and get_or_insert (#6136) 2025-09-08 18:29:03 +01:00
muxers chore(tcp): remove async_std support 2025-06-24 20:12:43 +00:00
protocols fix(gossipsub): remove duplicate config builder method 2025-10-03 16:34:16 +00:00
scripts fix: RELEASED_VERSION in bash script 2025-07-18 07:08:47 +00:00
swarm chore: fix typos on the repositories doc 2025-08-19 16:22:32 +00:00
swarm-derive chore: Add edition to workspace Cargo.toml and inherit workspace edition 2025-03-07 18:52:24 +00:00
swarm-test fix: propagate swarm bump through all protocols 2025-06-27 17:12:39 +00:00
transports Hacks to be able to compile with some sort of transport on ESP32 IDF 2025-10-06 19:54:15 +02:00
wasm-tests chore(deps): bump github.com/quic-go/quic-go from 0.50.0 to 0.50.1 in /wasm-tests/webtransport-tests/echo-server 2025-06-03 06:24:03 +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 Hacks to be able to compile with some sort of transport on ESP32 IDF 2025-10-06 19:54:15 +02:00
Cargo.toml feat(upnp): emit local listen address when a port is mapped 2025-09-11 22:12:26 +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): cargo deny, ignore RUSTSEC-2024-0436 2025-03-24 11:16:00 +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(readme): add fungi to notable users 2025-08-12 21:55:06 +00:00
ROADMAP.md docs(roadmap): clarify community-driven roadmap 2025-02-25 21:09:40 +00:00
rustfmt.toml chore: introduce libp2p-test-utils 2024-12-26 23:30:44 +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.)

  • João Oliveira (@jxs)

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.
  • 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.