mirror of
https://github.com/logos-messaging/logos-delivery-rust-bindings.git
synced 2026-07-29 22:43:34 +00:00
The `rln` dependency exists only to force RLN symbols into the link, but it had drifted two majors from the library it is meant to mirror: the vendor pins `LIBRLN_VERSION := v2.0.2` and build.rs links that `librln_v2.0.2.a`, while this crate still asked for 0.3.4. That drift was invisible in isolation and fatal downstream. Every rln up to 0.6.1 pins `serde = "=1.0.163"` exactly, so any consumer resolving waku-bindings alongside a crate needing a newer serde -- openmls' tls_codec wants ^1.0.184 -- fails to resolve at all, since cargo will not duplicate serde 1.x. libchat cannot depend on this crate without it. 2.0.2 relaxes the pin to ^1.0.228 and matches what is linked. Verified by building and linking libchat against it: no duplicate-symbol clash with the vendor's archive. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ai43sF2rymPFMG9iki9fwL
50 lines
1.5 KiB
TOML
50 lines
1.5 KiB
TOML
[package]
|
|
name = "waku-bindings"
|
|
version = "1.0.0"
|
|
edition = "2021"
|
|
authors = [
|
|
"Daniel Sanchez Quiros <danielsq@status.im>",
|
|
"Richard Ramos <richard@waku.org>",
|
|
"Ivan Folgueira Bande <ivansete@status.im>"
|
|
]
|
|
description = "Waku networking library"
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/logos-messaging/logos-messaging-rust-bindings"
|
|
keywords = ["waku", "peer-to-peer", "libp2p", "networking"]
|
|
categories = ["network-programming"]
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
[dependencies]
|
|
aes-gcm = { version = "0.10", features = ["aes"] }
|
|
base64 = "0.21"
|
|
enr = { version = "0.7", features = ["serde", "rust-secp256k1"] }
|
|
hex = "0.4"
|
|
multiaddr = "0.17"
|
|
once_cell = "1.15"
|
|
rand = "0.8"
|
|
secp256k1 = { version = "0.26", features = ["rand", "recovery", "serde"] }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
sscanf = "0.4"
|
|
smart-default = "0.6"
|
|
url = "2.3"
|
|
libc = "0.2"
|
|
serde-aux = "4.3.1"
|
|
rln = "2.0.2"
|
|
tokio = { version = "1", features = ["full"] }
|
|
regex = "1"
|
|
chrono = "0.4"
|
|
uuid = { version = "1.3", features = ["v4"] }
|
|
# Runtime deps of the generated FFI bindings (formerly waku-sys), now consumed
|
|
# directly from the vendor submodule.
|
|
ciborium = "0.2"
|
|
flume = { version = "0.11", default-features = false, features = ["async"] }
|
|
|
|
[build-dependencies]
|
|
cc = "1.0.73"
|
|
|
|
[dev-dependencies]
|
|
futures = "0.3.25"
|
|
serial_test = "1.0.0"
|
|
tokio = { version = "1.24.2", features = ["macros", "rt", "sync", "time"] }
|