Debian Patches
Status for rust-nostr-rs-relay/0.8.12-1
| Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
|---|---|---|---|---|---|---|
| 0006-forward-port-nostr.patch | Forward port nostr usage to nostr 0.45 Update event/key/event-builder APIs for nostr 0.45: use nostr::event::Event and nostr::error::Error, replace the removed Keys::from_pk_str/from_sk_str helpers with PublicKey::from_hex and Keys::parse, represent public-key-only accounts with nostr::key::PublicKey, and build NIP-04 direct messages with nip04_encrypt plus EventBuilder/FinalizeEvent. =================================================================== |
Ying-Chun Liu (PaulLiu) <paulliu@debian.org> | not-needed | backport | 2026-11-08 | |
| 0007-forward-port-rusqlite.patch | Forward port rusqlite usage to rusqlite 0.40 rusqlite does not implement ToSql/FromSql for u64/usize, so store integer columns/parameters as i64 and read them back as i64 before casting. Connection::limit now returns a Result, and the removed "bundled" feature is no longer referenced by this code. =================================================================== |
Ying-Chun Liu (PaulLiu) <paulliu@debian.org> | not-needed | backport | 2026-11-08 | |
| 0008-forward-port-sqlx.patch | Forward port sqlx usage to sqlx 0.9 Use the owned ConnectOptions builder methods for log_statements, execute statements on a transaction via &mut *tx because Transaction no longer implements Executor by shared reference, and format the QueryBuilder SqlStr with as_ref(). =================================================================== |
Ying-Chun Liu (PaulLiu) <paulliu@debian.org> | not-needed | backport | 2026-11-08 | |
| 0009-forward-port-tungstenite.patch | Forward port tungstenite usage to tungstenite 0.28 WebSocketConfig is now non-exhaustive and no longer has max_send_queue, so build it from Default and set the size limits; wrap the hyper Upgraded stream in hyper_util's TokioIo before handing it to WebSocketStream; and use Utf8Bytes/Bytes payloads in Message variants. =================================================================== |
Ying-Chun Liu (PaulLiu) <paulliu@debian.org> | not-needed | backport | 2026-11-08 | |
| 0001-relax-dependencies.patch | Adjust Cargo.toml dependencies and features for Debian's crates This is the only patch in this package that touches Cargo.toml; all other patches only change source code. . Upstream pins its dependencies to versions that are not all available in Debian, and uses strict version requirements, so most requirements are relaxed to ">=". The dependency set and the feature selection are also adjusted to match the crate versions available in Debian: . * relax the version requirement to ">=" for bech32, bitcoin_hashes, config, console-subscriber, governor, http, hyper, hyper-tls, nostr, prometheus, prost, qrcode, r2d2, r2d2_sqlite, rusqlite, secp256k1, sqlx, tokio-tungstenite, tungstenite and tikv-jemallocator, because Debian has newer versions packaged; * add http-body-util and hyper-util, both part of the hyper 1.x split, and drop the "tcp" feature of hyper, which no longer exists * nostr: select the "std" and "os-rng" features instead of the removed "base" and "nip19" ones (source side: 0006-forward-port-nostr.patch); * rusqlite: drop the "bundled" feature, we link against the system SQLite * sqlx: replace "runtime-tokio-rustls" with "runtime-tokio" plus "tls-rustls" (source side: 0008-forward-port-sqlx.patch); * secp256k1: drop the "rand", "rand-std", "serde" and "bitcoin_hashes" features, which the crate packaged in Debian is not built with * tonic is the exception: the requirement is pinned to the 0.14 series because Debian's hand-packaged librust-tonic only provides the versioned metapackage name that debcargo emits for a caret requirement, and tonic-prost-build replaces tonic-build as build dependency =================================================================== |
Ying-Chun Liu (PaulLiu) <paulliu@debian.org> | not-needed | 2026-11-10 | ||
| 0002-forward-port-bech32.patch | Forward port to bech32 0.11 =================================================================== |
Ying-Chun Liu (PaulLiu) <paulliu@debian.org> | not-needed | upstream | 2026-11-08 | |
| 0003-forward-port-secp256k1.patch | Forward port to secp256k1 0.33 =================================================================== |
Ying-Chun Liu (PaulLiu) <paulliu@debian.org> | not-needed | upstream | 2026-11-10 | |
| 0004-forward-port-tonic.patch | Forward port to tonic 0.14 / tonic-prost-build =================================================================== |
Ying-Chun Liu (PaulLiu) <paulliu@debian.org> | not-needed | upstream | 2026-11-10 | |
| 0005-forward-port-hyper.patch | Forward port hyper usage to hyper 1.x Reimplement the HTTP server and client code for hyper 1.x: use an explicit tokio TcpListener accept loop with hyper-util's server::conn::auto::Builder and serve_connection_with_upgrades, switch request/response bodies to hyper::body::Incoming and http-body-util's Full<Bytes>, replace hyper::body::to_bytes with BodyExt::collect, and build the client with hyper-util's legacy Client. =================================================================== |
Ying-Chun Liu (PaulLiu) <paulliu@debian.org> | not-needed | backport | 2026-11-08 |
All known versions for source package 'rust-nostr-rs-relay'
- 0.8.12-1 (sid)
