#p2p-communication #waku #p2p #networking #generated-bindings

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 23/week @ 2024-01-10 4/week @ 2024-01-17 4/week @ 2024-01-31 5/week @ 2024-02-07 160/week @ 2024-02-14 54/week @ 2024-02-21 97/week @ 2024-02-28 70/week @ 2024-03-06 67/week @ 2024-03-13 18/week @ 2024-03-20 36/week @ 2024-03-27 41/week @ 2024-04-03 1/week @ 2024-04-10 14/week @ 2024-04-17 400/week @ 2024-04-24

471 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.8MB
~37K SLoC