#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 5/week @ 2024-08-31 12/week @ 2024-09-07 23/week @ 2024-09-14 57/week @ 2024-09-21 43/week @ 2024-09-28 3/week @ 2024-10-05 1/week @ 2024-10-12 6/week @ 2024-10-19 26/week @ 2024-10-26 30/week @ 2024-11-02 71/week @ 2024-11-09 67/week @ 2024-11-16 19/week @ 2024-11-23 138/week @ 2024-11-30 313/week @ 2024-12-07 70/week @ 2024-12-14

549 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–2MB
~39K SLoC