mirror of
https://github.com/ratspeak/rsLXST
synced 2026-11-22 23:10:37 +00:00
build: version 0.4.0 on rsReticulum 1.5, with the API baselines and migration guide
This commit is contained in:
1 parent
131b592355
commit
e01e28693d
8 files changed
+333
-68
No files matched your search
Generated
+13
-13
@@ -626,14 +626,14 @@ checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897"
|
||||
|
||||
[[package]]
|
||||
name = "lxst-codec2"
|
||||
version = "0.3.1"
|
||||
version = "0.4.0"
|
||||
dependencies = [
|
||||
"libm",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "lxst-core"
|
||||
version = "0.3.1"
|
||||
version = "0.4.0"
|
||||
dependencies = [
|
||||
"half",
|
||||
"hex",
|
||||
@@ -646,7 +646,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "lxst-embedded"
|
||||
version = "0.3.1"
|
||||
version = "0.4.0"
|
||||
dependencies = [
|
||||
"lxst-codec2",
|
||||
"lxst-core",
|
||||
@@ -655,7 +655,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "lxst-rns"
|
||||
version = "0.3.1"
|
||||
version = "0.4.0"
|
||||
dependencies = [
|
||||
"bytes",
|
||||
"lxst-core",
|
||||
@@ -669,7 +669,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "lxst-telephony"
|
||||
version = "0.3.1"
|
||||
version = "0.4.0"
|
||||
dependencies = [
|
||||
"bytes",
|
||||
"hex",
|
||||
@@ -1028,7 +1028,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rns-crypto"
|
||||
version = "1.4.0"
|
||||
version = "1.5.0"
|
||||
dependencies = [
|
||||
"aes",
|
||||
"cbc",
|
||||
@@ -1046,7 +1046,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rns-identity"
|
||||
version = "1.4.0"
|
||||
version = "1.5.0"
|
||||
dependencies = [
|
||||
"hex",
|
||||
"libc",
|
||||
@@ -1066,7 +1066,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rns-interface"
|
||||
version = "1.4.0"
|
||||
version = "1.5.0"
|
||||
dependencies = [
|
||||
"bytes",
|
||||
"hex",
|
||||
@@ -1094,7 +1094,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rns-link"
|
||||
version = "1.4.0"
|
||||
version = "1.5.0"
|
||||
dependencies = [
|
||||
"hex",
|
||||
"libc",
|
||||
@@ -1111,7 +1111,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rns-protocol"
|
||||
version = "1.4.0"
|
||||
version = "1.5.0"
|
||||
dependencies = [
|
||||
"bzip2",
|
||||
"hex",
|
||||
@@ -1128,7 +1128,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rns-runtime"
|
||||
version = "1.4.0"
|
||||
version = "1.5.0"
|
||||
dependencies = [
|
||||
"bytes",
|
||||
"hex",
|
||||
@@ -1156,7 +1156,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rns-transport"
|
||||
version = "1.4.0"
|
||||
version = "1.5.0"
|
||||
dependencies = [
|
||||
"bytes",
|
||||
"hex",
|
||||
@@ -1176,7 +1176,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rns-wire"
|
||||
version = "1.4.0"
|
||||
version = "1.5.0"
|
||||
dependencies = [
|
||||
"rns-crypto",
|
||||
"sha2",
|
||||
|
||||
+10
-10
@@ -9,7 +9,7 @@ members = [
|
||||
]
|
||||
|
||||
[workspace.package]
|
||||
version = "0.3.1"
|
||||
version = "0.4.0"
|
||||
edition = "2024"
|
||||
license-file = "LICENSE"
|
||||
rust-version = "1.89"
|
||||
@@ -27,13 +27,13 @@ proptest = "1"
|
||||
opus-rs = { version = "=0.1.42", default-features = false, features = ["heap"] }
|
||||
serial_test = "3"
|
||||
|
||||
rns-crypto = { path = "../rsReticulum/crates/rns-crypto", version = "~1.4.0" }
|
||||
rns-identity = { path = "../rsReticulum/crates/rns-identity", version = "~1.4.0" }
|
||||
rns-interface = { path = "../rsReticulum/crates/rns-interface", version = "~1.4.0" }
|
||||
rns-link = { path = "../rsReticulum/crates/rns-link", version = "~1.4.0" }
|
||||
rns-runtime = { path = "../rsReticulum/crates/rns-runtime", version = "~1.4.0" }
|
||||
rns-transport = { path = "../rsReticulum/crates/rns-transport", version = "~1.4.0" }
|
||||
rns-wire = { path = "../rsReticulum/crates/rns-wire", version = "~1.4.0" }
|
||||
rns-crypto = { path = "../rsReticulum/crates/rns-crypto", version = "~1.5.0" }
|
||||
rns-identity = { path = "../rsReticulum/crates/rns-identity", version = "~1.5.0" }
|
||||
rns-interface = { path = "../rsReticulum/crates/rns-interface", version = "~1.5.0" }
|
||||
rns-link = { path = "../rsReticulum/crates/rns-link", version = "~1.5.0" }
|
||||
rns-runtime = { path = "../rsReticulum/crates/rns-runtime", version = "~1.5.0" }
|
||||
rns-transport = { path = "../rsReticulum/crates/rns-transport", version = "~1.5.0" }
|
||||
rns-wire = { path = "../rsReticulum/crates/rns-wire", version = "~1.5.0" }
|
||||
|
||||
lxst-core = { path = "crates/lxst-core", version = "0.3.1" }
|
||||
lxst-rns = { path = "crates/lxst-rns", version = "0.3.1" }
|
||||
lxst-core = { path = "crates/lxst-core", version = "0.4.0" }
|
||||
lxst-rns = { path = "crates/lxst-rns", version = "0.4.0" }
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"scope": "Adapted Codec2 and all registry third-party normal/build dependencies reachable from rsLXST workspace members across declared targets; dev-only and first-party path packages are excluded.",
|
||||
"cargoLockSha256": "78c8572a9737a9d60a1970e886c01f11ad301764bc40341381a1a2ba17d955d2",
|
||||
"cargoLockSha256": "841c611b2e2f26085c85bebcf9727a132ccfbfa6939b52a4575ef8d13e92abaa",
|
||||
"packages": [
|
||||
{
|
||||
"name": "aes",
|
||||
@@ -10,6 +10,13 @@
|
||||
"repository": "https://github.com/RustCrypto/block-ciphers",
|
||||
"source": "registry+https://github.com/rust-lang/crates.io-index"
|
||||
},
|
||||
{
|
||||
"name": "ahash",
|
||||
"version": "0.8.12",
|
||||
"license": "MIT OR Apache-2.0",
|
||||
"repository": "https://github.com/tkaitchuck/ahash",
|
||||
"source": "registry+https://github.com/rust-lang/crates.io-index"
|
||||
},
|
||||
{
|
||||
"name": "anyhow",
|
||||
"version": "1.0.102",
|
||||
@@ -80,6 +87,13 @@
|
||||
"repository": "https://github.com/RustCrypto/block-modes",
|
||||
"source": "registry+https://github.com/rust-lang/crates.io-index"
|
||||
},
|
||||
{
|
||||
"name": "cc",
|
||||
"version": "1.11.2",
|
||||
"license": "MIT OR Apache-2.0",
|
||||
"repository": "https://github.com/rust-lang/cc-rs",
|
||||
"source": "registry+https://github.com/rust-lang/crates.io-index"
|
||||
},
|
||||
{
|
||||
"name": "cesu8",
|
||||
"version": "1.1.0",
|
||||
@@ -248,6 +262,20 @@
|
||||
"repository": "https://github.com/lambda-fairy/rust-errno",
|
||||
"source": "registry+https://github.com/rust-lang/crates.io-index"
|
||||
},
|
||||
{
|
||||
"name": "fallible-iterator",
|
||||
"version": "0.3.0",
|
||||
"license": "MIT/Apache-2.0",
|
||||
"repository": "https://github.com/sfackler/rust-fallible-iterator",
|
||||
"source": "registry+https://github.com/rust-lang/crates.io-index"
|
||||
},
|
||||
{
|
||||
"name": "fallible-streaming-iterator",
|
||||
"version": "0.1.9",
|
||||
"license": "MIT/Apache-2.0",
|
||||
"repository": "https://github.com/sfackler/fallible-streaming-iterator",
|
||||
"source": "registry+https://github.com/rust-lang/crates.io-index"
|
||||
},
|
||||
{
|
||||
"name": "fastrand",
|
||||
"version": "2.4.1",
|
||||
@@ -262,6 +290,13 @@
|
||||
"repository": "https://github.com/mit-plv/fiat-crypto",
|
||||
"source": "registry+https://github.com/rust-lang/crates.io-index"
|
||||
},
|
||||
{
|
||||
"name": "find-msvc-tools",
|
||||
"version": "0.1.15",
|
||||
"license": "MIT OR Apache-2.0",
|
||||
"repository": "https://github.com/rust-lang/cc-rs",
|
||||
"source": "registry+https://github.com/rust-lang/crates.io-index"
|
||||
},
|
||||
{
|
||||
"name": "foldhash",
|
||||
"version": "0.1.5",
|
||||
@@ -297,6 +332,13 @@
|
||||
"repository": "https://github.com/VoidStarKat/half-rs",
|
||||
"source": "registry+https://github.com/rust-lang/crates.io-index"
|
||||
},
|
||||
{
|
||||
"name": "hashbrown",
|
||||
"version": "0.14.5",
|
||||
"license": "MIT OR Apache-2.0",
|
||||
"repository": "https://github.com/rust-lang/hashbrown",
|
||||
"source": "registry+https://github.com/rust-lang/crates.io-index"
|
||||
},
|
||||
{
|
||||
"name": "hashbrown",
|
||||
"version": "0.15.5",
|
||||
@@ -311,6 +353,13 @@
|
||||
"repository": "https://github.com/rust-lang/hashbrown",
|
||||
"source": "registry+https://github.com/rust-lang/crates.io-index"
|
||||
},
|
||||
{
|
||||
"name": "hashlink",
|
||||
"version": "0.9.1",
|
||||
"license": "MIT OR Apache-2.0",
|
||||
"repository": "https://github.com/kyren/hashlink",
|
||||
"source": "registry+https://github.com/rust-lang/crates.io-index"
|
||||
},
|
||||
{
|
||||
"name": "heck",
|
||||
"version": "0.5.0",
|
||||
@@ -430,6 +479,13 @@
|
||||
"repository": "https://github.com/rust-lang/compiler-builtins",
|
||||
"source": "registry+https://github.com/rust-lang/crates.io-index"
|
||||
},
|
||||
{
|
||||
"name": "libsqlite3-sys",
|
||||
"version": "0.30.1",
|
||||
"license": "MIT",
|
||||
"repository": "https://github.com/rusqlite/rusqlite",
|
||||
"source": "registry+https://github.com/rust-lang/crates.io-index"
|
||||
},
|
||||
{
|
||||
"name": "linux-raw-sys",
|
||||
"version": "0.12.1",
|
||||
@@ -566,6 +622,13 @@
|
||||
"repository": "https://github.com/RustCrypto/formats/tree/master/pkcs8",
|
||||
"source": "registry+https://github.com/rust-lang/crates.io-index"
|
||||
},
|
||||
{
|
||||
"name": "pkg-config",
|
||||
"version": "0.3.34",
|
||||
"license": "MIT OR Apache-2.0",
|
||||
"repository": "https://github.com/rust-lang/pkg-config-rs",
|
||||
"source": "registry+https://github.com/rust-lang/crates.io-index"
|
||||
},
|
||||
{
|
||||
"name": "ppv-lite86",
|
||||
"version": "0.2.21",
|
||||
@@ -650,6 +713,13 @@
|
||||
"repository": "https://github.com/3Hren/msgpack-rust",
|
||||
"source": "registry+https://github.com/rust-lang/crates.io-index"
|
||||
},
|
||||
{
|
||||
"name": "rusqlite",
|
||||
"version": "0.32.1",
|
||||
"license": "MIT",
|
||||
"repository": "https://github.com/rusqlite/rusqlite",
|
||||
"source": "registry+https://github.com/rust-lang/crates.io-index"
|
||||
},
|
||||
{
|
||||
"name": "rustc_version",
|
||||
"version": "0.4.1",
|
||||
@@ -727,6 +797,13 @@
|
||||
"repository": "https://github.com/RustCrypto/hashes",
|
||||
"source": "registry+https://github.com/rust-lang/crates.io-index"
|
||||
},
|
||||
{
|
||||
"name": "shlex",
|
||||
"version": "2.0.1",
|
||||
"license": "MIT OR Apache-2.0",
|
||||
"repository": "https://github.com/comex/rust-shlex",
|
||||
"source": "registry+https://github.com/rust-lang/crates.io-index"
|
||||
},
|
||||
{
|
||||
"name": "signal-hook-registry",
|
||||
"version": "1.4.8",
|
||||
@@ -874,6 +951,13 @@
|
||||
"repository": "https://github.com/unicode-rs/unicode-xid",
|
||||
"source": "registry+https://github.com/rust-lang/crates.io-index"
|
||||
},
|
||||
{
|
||||
"name": "vcpkg",
|
||||
"version": "0.2.15",
|
||||
"license": "MIT/Apache-2.0",
|
||||
"repository": "https://github.com/mcgoo/vcpkg-rs",
|
||||
"source": "registry+https://github.com/rust-lang/crates.io-index"
|
||||
},
|
||||
{
|
||||
"name": "version_check",
|
||||
"version": "0.9.5",
|
||||
|
||||
Generated
+115
-13
@@ -14,6 +14,18 @@ dependencies = [
|
||||
"zeroize",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "ahash"
|
||||
version = "0.8.12"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "5a15f179cd60c4584b8a8c596927aadc462e27f2ca70c04e0071964a73ba7a75"
|
||||
dependencies = [
|
||||
"cfg-if",
|
||||
"once_cell",
|
||||
"version_check",
|
||||
"zerocopy",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "autocfg"
|
||||
version = "1.5.1"
|
||||
@@ -83,6 +95,16 @@ dependencies = [
|
||||
"cipher",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "cc"
|
||||
version = "1.11.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "33ef9e3e8154a45c7a95cff4c1299702106ad94062d7bb85fdc5d3a5afd91d45"
|
||||
dependencies = [
|
||||
"find-msvc-tools",
|
||||
"shlex",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "cesu8"
|
||||
version = "1.1.0"
|
||||
@@ -236,6 +258,18 @@ dependencies = [
|
||||
"windows-sys 0.61.2",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "fallible-iterator"
|
||||
version = "0.3.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "2acce4a10f12dc2fb14a218589d4f1f62ef011b2d0cc4b3cb1bba8e94da14649"
|
||||
|
||||
[[package]]
|
||||
name = "fallible-streaming-iterator"
|
||||
version = "0.1.9"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "7360491ce676a36bf9bb3c56c1aa791658183a54d2744120f27285738d90465a"
|
||||
|
||||
[[package]]
|
||||
name = "fastrand"
|
||||
version = "2.5.0"
|
||||
@@ -248,6 +282,12 @@ version = "0.2.9"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "28dea519a9695b9977216879a3ebfddf92f1c08c05d984f8996aecd6ecdc811d"
|
||||
|
||||
[[package]]
|
||||
name = "find-msvc-tools"
|
||||
version = "0.1.15"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "1c66915cc5391097de7a2b0b972e8505aa33c0df401fd3a6811dbdb32881ba48"
|
||||
|
||||
[[package]]
|
||||
name = "generic-array"
|
||||
version = "0.14.7"
|
||||
@@ -291,6 +331,24 @@ dependencies = [
|
||||
"zerocopy",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "hashbrown"
|
||||
version = "0.14.5"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"
|
||||
dependencies = [
|
||||
"ahash",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "hashlink"
|
||||
version = "0.9.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "6ba4ff7128dee98c7dc9794b6a411377e1404dba1c97deb8d1a55297bd25d8af"
|
||||
dependencies = [
|
||||
"hashbrown",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "hex"
|
||||
version = "0.4.3"
|
||||
@@ -401,6 +459,17 @@ version = "0.2.16"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b6d2cec3eae94f9f509c767b45932f1ada8350c4bdb85af2fcab4a3c14807981"
|
||||
|
||||
[[package]]
|
||||
name = "libsqlite3-sys"
|
||||
version = "0.30.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "2e99fb7a497b1e3339bc746195567ed8d3e24945ecd636e3619d20b9de9e9149"
|
||||
dependencies = [
|
||||
"cc",
|
||||
"pkg-config",
|
||||
"vcpkg",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "linux-raw-sys"
|
||||
version = "0.12.1"
|
||||
@@ -424,14 +493,14 @@ checksum = "0ceec5bc11778974d1bcb055b18002eba7f4b3518b6a0081b3af5f21666da9ad"
|
||||
|
||||
[[package]]
|
||||
name = "lxst-codec2"
|
||||
version = "0.3.1"
|
||||
version = "0.4.0"
|
||||
dependencies = [
|
||||
"libm",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "lxst-core"
|
||||
version = "0.3.1"
|
||||
version = "0.4.0"
|
||||
dependencies = [
|
||||
"half",
|
||||
"opus-rs",
|
||||
@@ -441,7 +510,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "lxst-embedded"
|
||||
version = "0.3.1"
|
||||
version = "0.4.0"
|
||||
dependencies = [
|
||||
"lxst-codec2",
|
||||
"thiserror 2.0.20",
|
||||
@@ -449,7 +518,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "lxst-rns"
|
||||
version = "0.3.1"
|
||||
version = "0.4.0"
|
||||
dependencies = [
|
||||
"bytes",
|
||||
"lxst-core",
|
||||
@@ -462,7 +531,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "lxst-telephony"
|
||||
version = "0.3.1"
|
||||
version = "0.4.0"
|
||||
dependencies = [
|
||||
"bytes",
|
||||
"lxst-codec2",
|
||||
@@ -635,6 +704,12 @@ dependencies = [
|
||||
"spki",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "pkg-config"
|
||||
version = "0.3.34"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "f6b464fbc74e149a392436b17d523f769e057cb6877f6a5c4618bc6f11800548"
|
||||
|
||||
[[package]]
|
||||
name = "ppv-lite86"
|
||||
version = "0.2.21"
|
||||
@@ -739,7 +814,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rns-crypto"
|
||||
version = "1.4.0"
|
||||
version = "1.5.0"
|
||||
dependencies = [
|
||||
"aes",
|
||||
"cbc",
|
||||
@@ -757,7 +832,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rns-identity"
|
||||
version = "1.4.0"
|
||||
version = "1.5.0"
|
||||
dependencies = [
|
||||
"hex",
|
||||
"libc",
|
||||
@@ -777,7 +852,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rns-interface"
|
||||
version = "1.4.0"
|
||||
version = "1.5.0"
|
||||
dependencies = [
|
||||
"bytes",
|
||||
"hex",
|
||||
@@ -805,7 +880,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rns-link"
|
||||
version = "1.4.0"
|
||||
version = "1.5.0"
|
||||
dependencies = [
|
||||
"hex",
|
||||
"libc",
|
||||
@@ -822,7 +897,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rns-protocol"
|
||||
version = "1.4.0"
|
||||
version = "1.5.0"
|
||||
dependencies = [
|
||||
"bzip2",
|
||||
"hex",
|
||||
@@ -839,7 +914,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rns-runtime"
|
||||
version = "1.4.0"
|
||||
version = "1.5.0"
|
||||
dependencies = [
|
||||
"bytes",
|
||||
"hex",
|
||||
@@ -867,7 +942,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rns-transport"
|
||||
version = "1.4.0"
|
||||
version = "1.5.0"
|
||||
dependencies = [
|
||||
"bytes",
|
||||
"hex",
|
||||
@@ -877,6 +952,7 @@ dependencies = [
|
||||
"rns-crypto",
|
||||
"rns-identity",
|
||||
"rns-wire",
|
||||
"rusqlite",
|
||||
"serde",
|
||||
"subtle",
|
||||
"thiserror 2.0.20",
|
||||
@@ -886,13 +962,27 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rns-wire"
|
||||
version = "1.4.0"
|
||||
version = "1.5.0"
|
||||
dependencies = [
|
||||
"rns-crypto",
|
||||
"sha2",
|
||||
"thiserror 2.0.20",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "rusqlite"
|
||||
version = "0.32.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "7753b721174eb8ff87a9a0e799e2d7bc3749323e773db92e0984debb00019d6e"
|
||||
dependencies = [
|
||||
"bitflags",
|
||||
"fallible-iterator",
|
||||
"fallible-streaming-iterator",
|
||||
"hashlink",
|
||||
"libsqlite3-sys",
|
||||
"smallvec",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "rustc_version"
|
||||
version = "0.4.1"
|
||||
@@ -1000,6 +1090,12 @@ dependencies = [
|
||||
"digest",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "shlex"
|
||||
version = "2.0.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba"
|
||||
|
||||
[[package]]
|
||||
name = "signal-hook-registry"
|
||||
version = "1.4.8"
|
||||
@@ -1207,6 +1303,12 @@ version = "1.0.24"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
|
||||
|
||||
[[package]]
|
||||
name = "vcpkg"
|
||||
version = "0.2.15"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
|
||||
|
||||
[[package]]
|
||||
name = "version_check"
|
||||
version = "0.9.5"
|
||||
|
||||
+88
-9
@@ -1,8 +1,62 @@
|
||||
# Migrating to the next rsLXST release (draft)
|
||||
# Migrating to rsLXST 0.4 (draft)
|
||||
|
||||
This draft covers source changes since the current compatibility floor (commit
|
||||
`1c03765`, LXST 0.6.0 signalling). rsLXST now runs on the rsReticulum release
|
||||
that follows Reticulum 1.6.0. The release number belongs to the owner.
|
||||
This draft covers source and behaviour changes since rsLXST 0.3.1. Telephony
|
||||
now follows LXST 0.6.0 signalling, and rsLXST 0.4 runs on rsReticulum 1.5,
|
||||
which follows Reticulum 1.6.0.
|
||||
|
||||
Move rsReticulum dependencies to `~1.5.0` together with rsLXST 0.4; types from
|
||||
two rsReticulum lines do not mix. rsReticulum types that appear in rsLXST
|
||||
signatures (`TransportMessage`, `Link`, `LinkManager`, and `Identity`) change
|
||||
in 1.5; rsReticulum's own migration guide covers them.
|
||||
|
||||
## Telephony: answering
|
||||
|
||||
LXST 0.6.0 establishes the callee as soon as it answers: CONNECTING and
|
||||
ESTABLISHED are sent once, with no retry and no wait for the caller's echo.
|
||||
|
||||
| Old | New |
|
||||
| --- | --- |
|
||||
| `lxst_core::TelephonyCall::retry_answer()` | removed; `answer()` returns the whole answer and ends with `StartAudioPipelines` |
|
||||
| `lxst_embedded::CallState::retry_answer()` | removed; as above |
|
||||
| `TelephonyServiceConfig::answer_retry_interval` | removed; delete the field |
|
||||
| `TelephonyServiceConfig::answer_timeout` | removed; delete the field |
|
||||
| (none) | `TelephonyServiceConfig::connect_timeout`; a literal without `..TelephonyServiceConfig::default()` must set it |
|
||||
|
||||
`request_answer` and `TelephonyControl::Answer` now reply with an ESTABLISHED
|
||||
snapshot where they replied with CONNECTING.
|
||||
|
||||
A caller is ESTABLISHED once it has handled CONNECTING, so a lost ESTABLISHED
|
||||
no longer ends the call. Its audio still starts only on the callee's
|
||||
ESTABLISHED, so `status()` no longer shows that audio is running: check
|
||||
`audio_started()` (`TelephonyCall`, `CallState`) or wait for
|
||||
`StartAudioPipelines`.
|
||||
|
||||
## Telephony: call modes
|
||||
|
||||
Full and half duplex are signalled with the profile when the callee rings.
|
||||
|
||||
```rust
|
||||
// old
|
||||
TelephonyControl::Call { remote_identity, profile, discovery_timeout }
|
||||
// new; `None` is full duplex
|
||||
TelephonyControl::Call { remote_identity, profile, mode: None, discovery_timeout }
|
||||
```
|
||||
|
||||
These types gain variants or fields, so exhaustive matches need new arms and
|
||||
struct literals need the new fields:
|
||||
|
||||
| Type | Added |
|
||||
| --- | --- |
|
||||
| `Signal` (`lxst-core`, `lxst-embedded`) | `PreferredMode(u8)`; wire values `0xF0` to `0xFE` decode to it, not to `Raw` |
|
||||
| `TelephonyAction` (`lxst-core`, `lxst-embedded`) | `SendSignalPair`, `SelectMode`, `SwitchMode` |
|
||||
| `TelephonyCommand` | `SendSignalPair`, `SelectMode`, `SwitchMode` |
|
||||
| `TelephonyControl` | `SwitchMode`, `SquelchTransmit`, `DisableRemoteModeFollow` |
|
||||
| `ActiveCallSnapshot` | `mode`, `transmit_squelched` |
|
||||
|
||||
A caller that sees RINGING now emits one `SendSignalPair(profile, mode)` where
|
||||
it emitted `SendSignal(profile)`. Both signals travel in one packet:
|
||||
`TelephonyCommand::signal()` returns `None` for the pair, so build the packet
|
||||
with `TelephonyCommand::to_lxst_packet()`.
|
||||
|
||||
## Telephony: outgoing call links
|
||||
|
||||
@@ -14,16 +68,21 @@ request is now async:
|
||||
|
||||
| Old | New |
|
||||
| --- | --- |
|
||||
| `fn TelephonyRnsEndpoint::begin_outgoing_link_with_mode(..) -> Result<LinkId, Error>` | `async fn`; add `.await` |
|
||||
| `fn TelephonyRnsEndpoint::begin_outgoing_link_with_remote_pubkey(..) -> Result<LinkId, Error>` | `async fn`; add `.await` |
|
||||
| (none) | `async fn TelephonyRnsEndpoint::begin_outgoing_link_with_mode(..)`, the same call with an `Option<CallMode>` |
|
||||
|
||||
```rust
|
||||
// old
|
||||
let link_id = endpoint.begin_outgoing_link_with_mode(&mut core, identity, pubkey, profile, mode, hops)?;
|
||||
let link_id = endpoint.begin_outgoing_link_with_remote_pubkey(&mut core, identity, pubkey, profile, hops)?;
|
||||
// new
|
||||
let link_id = endpoint.begin_outgoing_link_with_mode(&mut core, identity, pubkey, profile, mode, hops).await?;
|
||||
let link_id = endpoint.begin_outgoing_link_with_remote_pubkey(&mut core, identity, pubkey, profile, hops).await?;
|
||||
```
|
||||
|
||||
`begin_outgoing_link_with_remote_pubkey` no longer sends a path request, and
|
||||
the new calls send none. When no path is known, call
|
||||
`request_path_to_identity` first, or use `begin_outgoing_link`, which discovers
|
||||
the peer and its path.
|
||||
|
||||
To stamp off the caller's task, call
|
||||
`prepare_outgoing_link_request(&transport_tx, identity, hops).await?` and pass
|
||||
its `OutgoingLinkRequest` to the synchronous
|
||||
@@ -32,13 +91,33 @@ its `OutgoingLinkRequest` to the synchronous
|
||||
`Error` gains `LinkStamp(rns_link::stamp::LinkStampError)`, so exhaustive
|
||||
matches on `lxst_telephony::Error` need a new arm.
|
||||
|
||||
## Embedded sessions
|
||||
|
||||
`SessionConfig` gains `times: CallTimes`; add `times: CallTimes::DEFAULT` to
|
||||
struct literals. The defaults are LXST 0.6.0's: an incoming call rings for
|
||||
60 seconds (was 90), and an outgoing call ends unless the callee rings within
|
||||
5 seconds and the call is established within 70 seconds of the session start.
|
||||
The 10 second answer deadline and its three retries are gone.
|
||||
|
||||
## Behaviour an operator sees
|
||||
|
||||
- Outgoing calls end unless the callee rings within `connect_timeout`
|
||||
(5 seconds by default) of the call request. The 70 second
|
||||
`outgoing_call_timeout` also runs from the call request, path discovery
|
||||
included.
|
||||
- The line is busy while an outgoing call discovers its path.
|
||||
- The first announce follows 5 seconds after the service starts, and
|
||||
`startup_announce_retries` defaults to 0.
|
||||
- The telephony destination announces through the stamped announce builder.
|
||||
Calls stamp and check link requests according to the Reticulum `[stamps]`
|
||||
settings, as upstream does.
|
||||
- Call links signal the next hop's MTU when Reticulum's `link_mtu_discovery`
|
||||
is on (`RNS/Link.py:392-397`).
|
||||
- Received audio is decoded by the codec of each frame. A frame that fails to
|
||||
decode is reported and skipped; the rest of its packet still plays.
|
||||
- Raw frames at `RawBitDepth::Float128` carry IEEE binary128 samples, as
|
||||
numpy's `float128` does on Linux aarch64. rsLXST 0.3.1 wrote an `f64`
|
||||
padded to 16 bytes.
|
||||
- The Medium voice profile still encodes wideband SILK at its 8 kbps ceiling.
|
||||
- `opus-rs` is pinned at 0.1.42 (was 0.1.29).
|
||||
|
||||
- `opus-rs` is pinned at 0.1.42 (was 0.1.29). A peer packet that panics the
|
||||
Opus decoder is rejected, and the decoder is reset.
|
||||
@@ -4,7 +4,7 @@
|
||||
"packages": [
|
||||
{
|
||||
"name": "lxst-codec2",
|
||||
"version": "0.3.1",
|
||||
"version": "0.4.0",
|
||||
"rustVersion": "1.87",
|
||||
"edition": "2024",
|
||||
"features": {},
|
||||
@@ -36,7 +36,7 @@
|
||||
},
|
||||
{
|
||||
"name": "lxst-core",
|
||||
"version": "0.3.1",
|
||||
"version": "0.4.0",
|
||||
"rustVersion": "1.89",
|
||||
"edition": "2024",
|
||||
"features": {},
|
||||
@@ -103,7 +103,7 @@
|
||||
},
|
||||
{
|
||||
"name": "lxst-embedded",
|
||||
"version": "0.3.1",
|
||||
"version": "0.4.0",
|
||||
"rustVersion": "1.87",
|
||||
"edition": "2024",
|
||||
"features": {},
|
||||
@@ -125,7 +125,7 @@
|
||||
"rename": null,
|
||||
"kind": null,
|
||||
"target": null,
|
||||
"requirement": "^0.3.1",
|
||||
"requirement": "^0.4.0",
|
||||
"optional": false,
|
||||
"defaultFeatures": true,
|
||||
"features": [],
|
||||
@@ -146,7 +146,7 @@
|
||||
},
|
||||
{
|
||||
"name": "lxst-rns",
|
||||
"version": "0.3.1",
|
||||
"version": "0.4.0",
|
||||
"rustVersion": "1.89",
|
||||
"edition": "2024",
|
||||
"features": {},
|
||||
@@ -179,7 +179,7 @@
|
||||
"rename": null,
|
||||
"kind": null,
|
||||
"target": null,
|
||||
"requirement": "^0.3.1",
|
||||
"requirement": "^0.4.0",
|
||||
"optional": false,
|
||||
"defaultFeatures": true,
|
||||
"features": [],
|
||||
@@ -190,7 +190,7 @@
|
||||
"rename": null,
|
||||
"kind": null,
|
||||
"target": null,
|
||||
"requirement": "~1.4.0",
|
||||
"requirement": "~1.5.0",
|
||||
"optional": false,
|
||||
"defaultFeatures": true,
|
||||
"features": [],
|
||||
@@ -201,7 +201,7 @@
|
||||
"rename": null,
|
||||
"kind": null,
|
||||
"target": null,
|
||||
"requirement": "~1.4.0",
|
||||
"requirement": "~1.5.0",
|
||||
"optional": false,
|
||||
"defaultFeatures": true,
|
||||
"features": [],
|
||||
@@ -212,7 +212,7 @@
|
||||
"rename": null,
|
||||
"kind": null,
|
||||
"target": null,
|
||||
"requirement": "~1.4.0",
|
||||
"requirement": "~1.5.0",
|
||||
"optional": false,
|
||||
"defaultFeatures": true,
|
||||
"features": [],
|
||||
@@ -249,7 +249,7 @@
|
||||
},
|
||||
{
|
||||
"name": "lxst-telephony",
|
||||
"version": "0.3.1",
|
||||
"version": "0.4.0",
|
||||
"rustVersion": "1.89",
|
||||
"edition": "2024",
|
||||
"features": {},
|
||||
@@ -282,7 +282,7 @@
|
||||
"rename": null,
|
||||
"kind": null,
|
||||
"target": null,
|
||||
"requirement": "^0.3.1",
|
||||
"requirement": "^0.4.0",
|
||||
"optional": false,
|
||||
"defaultFeatures": true,
|
||||
"features": [],
|
||||
@@ -293,7 +293,7 @@
|
||||
"rename": null,
|
||||
"kind": null,
|
||||
"target": null,
|
||||
"requirement": "^0.3.1",
|
||||
"requirement": "^0.4.0",
|
||||
"optional": false,
|
||||
"defaultFeatures": true,
|
||||
"features": [],
|
||||
@@ -304,7 +304,7 @@
|
||||
"rename": null,
|
||||
"kind": null,
|
||||
"target": null,
|
||||
"requirement": "^0.3.1",
|
||||
"requirement": "^0.4.0",
|
||||
"optional": false,
|
||||
"defaultFeatures": true,
|
||||
"features": [],
|
||||
@@ -315,7 +315,7 @@
|
||||
"rename": null,
|
||||
"kind": null,
|
||||
"target": null,
|
||||
"requirement": "~1.4.0",
|
||||
"requirement": "~1.5.0",
|
||||
"optional": false,
|
||||
"defaultFeatures": true,
|
||||
"features": [],
|
||||
@@ -326,7 +326,7 @@
|
||||
"rename": null,
|
||||
"kind": null,
|
||||
"target": null,
|
||||
"requirement": "~1.4.0",
|
||||
"requirement": "~1.5.0",
|
||||
"optional": false,
|
||||
"defaultFeatures": true,
|
||||
"features": [],
|
||||
@@ -337,7 +337,7 @@
|
||||
"rename": null,
|
||||
"kind": null,
|
||||
"target": null,
|
||||
"requirement": "~1.4.0",
|
||||
"requirement": "~1.5.0",
|
||||
"optional": false,
|
||||
"defaultFeatures": true,
|
||||
"features": [],
|
||||
@@ -348,7 +348,7 @@
|
||||
"rename": null,
|
||||
"kind": null,
|
||||
"target": null,
|
||||
"requirement": "~1.4.0",
|
||||
"requirement": "~1.5.0",
|
||||
"optional": false,
|
||||
"defaultFeatures": true,
|
||||
"features": [],
|
||||
@@ -359,7 +359,7 @@
|
||||
"rename": null,
|
||||
"kind": null,
|
||||
"target": null,
|
||||
"requirement": "~1.4.0",
|
||||
"requirement": "~1.5.0",
|
||||
"optional": false,
|
||||
"defaultFeatures": true,
|
||||
"features": [],
|
||||
@@ -370,7 +370,7 @@
|
||||
"rename": null,
|
||||
"kind": null,
|
||||
"target": null,
|
||||
"requirement": "~1.4.0",
|
||||
"requirement": "~1.5.0",
|
||||
"optional": false,
|
||||
"defaultFeatures": true,
|
||||
"features": [],
|
||||
|
||||
@@ -9,7 +9,7 @@ description = "Bounded no_std LXST framing and authenticated PTT session policy"
|
||||
|
||||
[dependencies]
|
||||
thiserror = { version = "2", default-features = false }
|
||||
lxst-codec2 = { path = "../lxst-codec2", version = "0.3.1" }
|
||||
lxst-codec2 = { path = "../lxst-codec2", version = "0.4.0" }
|
||||
|
||||
[dev-dependencies]
|
||||
lxst-core = { path = "../lxst-core", version = "0.3.1" }
|
||||
lxst-core = { path = "../lxst-core", version = "0.4.0" }
|
||||
@@ -9,7 +9,7 @@ publish.workspace = true
|
||||
[dependencies]
|
||||
bytes.workspace = true
|
||||
lxst-core.workspace = true
|
||||
lxst-codec2 = { path = "../lxst-codec2", version = "0.3.1" }
|
||||
lxst-codec2 = { path = "../lxst-codec2", version = "0.4.0" }
|
||||
lxst-rns.workspace = true
|
||||
rns-crypto.workspace = true
|
||||
rns-identity.workspace = true
|
||||
|
||||
Reference in new issue
Block a user