#waku #p2p-communication #p2p #networking

sys waku-sys

Waku networking library generated bindings

15 releases (5 breaking)

0.6.0 Feb 19, 2024
0.5.0 Dec 11, 2023
0.4.0 Oct 30, 2023
0.2.0 Jul 13, 2023
0.1.0-beta1 Nov 29, 2022

#5 in #waku

Download history 12/week @ 2024-03-18 25/week @ 2024-03-25 62/week @ 2024-04-01 1/week @ 2024-04-08 412/week @ 2024-04-22 7/week @ 2024-04-29 6/week @ 2024-05-06 20/week @ 2024-05-13 21/week @ 2024-05-20 66/week @ 2024-05-27 33/week @ 2024-06-03 22/week @ 2024-06-10 24/week @ 2024-06-17 21/week @ 2024-06-24

68 downloads per month
Used in 7 crates (via waku-bindings)

MIT/Apache

1MB
29K SLoC

Go 29K SLoC // 0.1% comments SQL 94 SLoC Rust 85 SLoC // 0.1% comments C 21 SLoC // 0.2% comments Shell 15 SLoC // 0.2% comments

Waku rust bindgen bindings

github crates.io docs.rs build status

Rust layer on top of go-waku c ffi bindings.

Usage

These are autogenerated, if you are looking for a proper Rust API version check on waku-bindings

Add this to your Cargo.toml:

[dependencies]
waku-sys = "0.1.0"

About Waku

Waku is the communication layer for Web3. Decentralized communication that scales.

Private. Secure. Runs anywhere.

What is Waku?

Waku is a suite of privacy-preserving, peer-to-peer messaging protocols.

Waku removes centralized third parties from messaging, enabling private, secure, censorship-free communication with no single point of failure.

Waku provides privacy-preserving capabilities, such as sender anonymity,metadata protection and unlinkability to personally identifiable information.

Waku is designed for generalized messaging, enabling human-to-human, machine-to-machine or hybrid communication.

Waku runs everywhere: desktop, server, including resource-restricted devices, such as mobile devices and browsers. How does it work?

The first version of Waku had its origins in the Whisper protocol, with optimizations for scalability and usability. Waku v2 is a complete rewrite. Its relay protocol implements pub/sub over libp2p, and also introduces additional capabilities:

  1. Retrieving historical messages for mostly-offline devices.
  2. Adaptive nodes, allowing for heterogeneous nodes to contribute.
  3. Bandwidth preservation for light nodes.

This makes it ideal for running a p2p protocol on mobile, or in other similarly resource-restricted environments.

Read the Waku docs

No runtime deps

~0–1.9MB
~37K SLoC