mirror of
https://github.com/ratspeak/rsLXST
synced 2026-11-22 23:10:37 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
19ac89ec7a | ||
|
|
92baad3898 | ||
|
|
09a47976fb | ||
|
|
4370a4153a | ||
|
|
e9e053a038 | ||
|
|
fe3128964b | ||
|
|
f323457be5 | ||
|
|
f52c805d7b | ||
|
|
0a5c434fc8 | ||
|
|
d41528031f |
No files matched your search
@@ -10,10 +10,10 @@ permissions:
|
||||
contents: read
|
||||
|
||||
env:
|
||||
RSLXST_RSRETICULUM_VERSION: 1.5.0
|
||||
RSLXST_RSRETICULUM_COMMIT: 184bbfe59f1e089af802df2de706688b82dd49d2
|
||||
RSLXST_RSRETICULUM_VERSION: 1.5.1
|
||||
RSLXST_RSRETICULUM_COMMIT: f6d0d698dd7e6edc180f9c3697ab1c873571f372
|
||||
RSLXST_PYTHON_LXST_COMMIT: 6a329bf6d956ca8b15077d4c470afe4cb7c669cc
|
||||
RSLXST_PYTHON_RNS_COMMIT: cb1260891d1b6da8f6e9b21542c4f0cc0725cac4
|
||||
RSLXST_PYTHON_RNS_COMMIT: cff4d03fdbd6bfb63b765280cd944756ac5cce8d
|
||||
|
||||
jobs:
|
||||
api-compat:
|
||||
|
||||
Generated
+14
-33
@@ -83,15 +83,6 @@ dependencies = [
|
||||
"generic-array",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "block2"
|
||||
version = "0.5.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "2c132eebf10f5cad5289222520a4a058514204aed6d791f1cf4fe8088b82d15f"
|
||||
dependencies = [
|
||||
"objc2",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "bytes"
|
||||
version = "1.11.1"
|
||||
@@ -737,29 +728,21 @@ dependencies = [
|
||||
"autocfg",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "objc-sys"
|
||||
version = "0.3.5"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "cdb91bdd390c7ce1a8607f35f3ca7151b65afc0ff5ff3b34fa350f7d7c7e4310"
|
||||
|
||||
[[package]]
|
||||
name = "objc2"
|
||||
version = "0.5.2"
|
||||
version = "0.6.5"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "46a785d4eeff09c14c487497c162e92766fbb3e4059a71840cecc03d9a50b804"
|
||||
checksum = "08849bbd4767dfae9457696856ae1c84fe4e0281bbe4a7abff2d0e06fb7981f8"
|
||||
dependencies = [
|
||||
"objc-sys",
|
||||
"objc2-encode",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "objc2-core-bluetooth"
|
||||
version = "0.2.2"
|
||||
version = "0.3.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "5a644b62ffb826a5277f536cf0f701493de420b13d40e700c452c36567771111"
|
||||
checksum = "79b30b9eacc37434a61377866f68b27acef9fa5496f25cc9ca8b2549032e0394"
|
||||
dependencies = [
|
||||
"bitflags",
|
||||
"objc2",
|
||||
"objc2-foundation",
|
||||
]
|
||||
@@ -772,13 +755,11 @@ checksum = "ef25abbcd74fb2609453eb695bd2f860d389e457f67dc17cafc8b8cbc89d0c33"
|
||||
|
||||
[[package]]
|
||||
name = "objc2-foundation"
|
||||
version = "0.2.2"
|
||||
version = "0.3.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "0ee638a5da3799329310ad4cfa62fbf045d5f56e3ef5ba4149e7452dcf89d5a8"
|
||||
checksum = "e3e0adef53c21f888deb4fa59fc59f7eb17404926ee8a6f59f5df0fd7f9f3272"
|
||||
dependencies = [
|
||||
"bitflags",
|
||||
"block2",
|
||||
"libc",
|
||||
"objc2",
|
||||
]
|
||||
|
||||
@@ -1028,7 +1009,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rns-crypto"
|
||||
version = "1.5.0"
|
||||
version = "1.5.1"
|
||||
dependencies = [
|
||||
"aes",
|
||||
"cbc",
|
||||
@@ -1046,7 +1027,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rns-identity"
|
||||
version = "1.5.0"
|
||||
version = "1.5.1"
|
||||
dependencies = [
|
||||
"hex",
|
||||
"libc",
|
||||
@@ -1066,7 +1047,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rns-interface"
|
||||
version = "1.5.0"
|
||||
version = "1.5.1"
|
||||
dependencies = [
|
||||
"bytes",
|
||||
"hex",
|
||||
@@ -1094,7 +1075,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rns-link"
|
||||
version = "1.5.0"
|
||||
version = "1.5.1"
|
||||
dependencies = [
|
||||
"hex",
|
||||
"libc",
|
||||
@@ -1111,7 +1092,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rns-protocol"
|
||||
version = "1.5.0"
|
||||
version = "1.5.1"
|
||||
dependencies = [
|
||||
"bzip2",
|
||||
"hex",
|
||||
@@ -1128,7 +1109,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rns-runtime"
|
||||
version = "1.5.0"
|
||||
version = "1.5.1"
|
||||
dependencies = [
|
||||
"bytes",
|
||||
"hex",
|
||||
@@ -1156,7 +1137,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rns-transport"
|
||||
version = "1.5.0"
|
||||
version = "1.5.1"
|
||||
dependencies = [
|
||||
"bytes",
|
||||
"hex",
|
||||
@@ -1176,7 +1157,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rns-wire"
|
||||
version = "1.5.0"
|
||||
version = "1.5.1"
|
||||
dependencies = [
|
||||
"rns-crypto",
|
||||
"sha2",
|
||||
|
||||
+7
-7
@@ -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.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" }
|
||||
rns-crypto = { path = "../rsReticulum/crates/rns-crypto", version = "~1.5.1" }
|
||||
rns-identity = { path = "../rsReticulum/crates/rns-identity", version = "~1.5.1" }
|
||||
rns-interface = { path = "../rsReticulum/crates/rns-interface", version = "~1.5.1" }
|
||||
rns-link = { path = "../rsReticulum/crates/rns-link", version = "~1.5.1" }
|
||||
rns-runtime = { path = "../rsReticulum/crates/rns-runtime", version = "~1.5.1" }
|
||||
rns-transport = { path = "../rsReticulum/crates/rns-transport", version = "~1.5.1" }
|
||||
rns-wire = { path = "../rsReticulum/crates/rns-wire", version = "~1.5.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": "841c611b2e2f26085c85bebcf9727a132ccfbfa6939b52a4575ef8d13e92abaa",
|
||||
"cargoLockSha256": "ce5a11b52a7c3d39e944b8dfc48831c6793e42e8e0f04c1d35c9efafbcf6e15d",
|
||||
"packages": [
|
||||
{
|
||||
"name": "aes",
|
||||
@@ -59,13 +59,6 @@
|
||||
"repository": "https://github.com/RustCrypto/utils",
|
||||
"source": "registry+https://github.com/rust-lang/crates.io-index"
|
||||
},
|
||||
{
|
||||
"name": "block2",
|
||||
"version": "0.5.1",
|
||||
"license": "MIT",
|
||||
"repository": "https://github.com/madsmtm/objc2",
|
||||
"source": "registry+https://github.com/rust-lang/crates.io-index"
|
||||
},
|
||||
{
|
||||
"name": "bytes",
|
||||
"version": "1.11.1",
|
||||
@@ -542,24 +535,17 @@
|
||||
"repository": "https://github.com/rust-num/num-traits",
|
||||
"source": "registry+https://github.com/rust-lang/crates.io-index"
|
||||
},
|
||||
{
|
||||
"name": "objc-sys",
|
||||
"version": "0.3.5",
|
||||
"license": "MIT",
|
||||
"repository": "https://github.com/madsmtm/objc2",
|
||||
"source": "registry+https://github.com/rust-lang/crates.io-index"
|
||||
},
|
||||
{
|
||||
"name": "objc2",
|
||||
"version": "0.5.2",
|
||||
"version": "0.6.5",
|
||||
"license": "MIT",
|
||||
"repository": "https://github.com/madsmtm/objc2",
|
||||
"source": "registry+https://github.com/rust-lang/crates.io-index"
|
||||
},
|
||||
{
|
||||
"name": "objc2-core-bluetooth",
|
||||
"version": "0.2.2",
|
||||
"license": "MIT",
|
||||
"version": "0.3.2",
|
||||
"license": "Zlib OR Apache-2.0 OR MIT",
|
||||
"repository": "https://github.com/madsmtm/objc2",
|
||||
"source": "registry+https://github.com/rust-lang/crates.io-index"
|
||||
},
|
||||
@@ -572,7 +558,7 @@
|
||||
},
|
||||
{
|
||||
"name": "objc2-foundation",
|
||||
"version": "0.2.2",
|
||||
"version": "0.3.2",
|
||||
"license": "MIT",
|
||||
"repository": "https://github.com/madsmtm/objc2",
|
||||
"source": "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
Generated
+14
-33
@@ -62,15 +62,6 @@ dependencies = [
|
||||
"generic-array",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "block2"
|
||||
version = "0.5.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "2c132eebf10f5cad5289222520a4a058514204aed6d791f1cf4fe8088b82d15f"
|
||||
dependencies = [
|
||||
"objc2",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "bytes"
|
||||
version = "1.12.1"
|
||||
@@ -608,29 +599,21 @@ dependencies = [
|
||||
"autocfg",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "objc-sys"
|
||||
version = "0.3.5"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "cdb91bdd390c7ce1a8607f35f3ca7151b65afc0ff5ff3b34fa350f7d7c7e4310"
|
||||
|
||||
[[package]]
|
||||
name = "objc2"
|
||||
version = "0.5.2"
|
||||
version = "0.6.5"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "46a785d4eeff09c14c487497c162e92766fbb3e4059a71840cecc03d9a50b804"
|
||||
checksum = "08849bbd4767dfae9457696856ae1c84fe4e0281bbe4a7abff2d0e06fb7981f8"
|
||||
dependencies = [
|
||||
"objc-sys",
|
||||
"objc2-encode",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "objc2-core-bluetooth"
|
||||
version = "0.2.2"
|
||||
version = "0.3.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "5a644b62ffb826a5277f536cf0f701493de420b13d40e700c452c36567771111"
|
||||
checksum = "79b30b9eacc37434a61377866f68b27acef9fa5496f25cc9ca8b2549032e0394"
|
||||
dependencies = [
|
||||
"bitflags",
|
||||
"objc2",
|
||||
"objc2-foundation",
|
||||
]
|
||||
@@ -643,13 +626,11 @@ checksum = "ef25abbcd74fb2609453eb695bd2f860d389e457f67dc17cafc8b8cbc89d0c33"
|
||||
|
||||
[[package]]
|
||||
name = "objc2-foundation"
|
||||
version = "0.2.2"
|
||||
version = "0.3.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "0ee638a5da3799329310ad4cfa62fbf045d5f56e3ef5ba4149e7452dcf89d5a8"
|
||||
checksum = "e3e0adef53c21f888deb4fa59fc59f7eb17404926ee8a6f59f5df0fd7f9f3272"
|
||||
dependencies = [
|
||||
"bitflags",
|
||||
"block2",
|
||||
"libc",
|
||||
"objc2",
|
||||
]
|
||||
|
||||
@@ -814,7 +795,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rns-crypto"
|
||||
version = "1.5.0"
|
||||
version = "1.5.1"
|
||||
dependencies = [
|
||||
"aes",
|
||||
"cbc",
|
||||
@@ -832,7 +813,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rns-identity"
|
||||
version = "1.5.0"
|
||||
version = "1.5.1"
|
||||
dependencies = [
|
||||
"hex",
|
||||
"libc",
|
||||
@@ -852,7 +833,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rns-interface"
|
||||
version = "1.5.0"
|
||||
version = "1.5.1"
|
||||
dependencies = [
|
||||
"bytes",
|
||||
"hex",
|
||||
@@ -880,7 +861,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rns-link"
|
||||
version = "1.5.0"
|
||||
version = "1.5.1"
|
||||
dependencies = [
|
||||
"hex",
|
||||
"libc",
|
||||
@@ -897,7 +878,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rns-protocol"
|
||||
version = "1.5.0"
|
||||
version = "1.5.1"
|
||||
dependencies = [
|
||||
"bzip2",
|
||||
"hex",
|
||||
@@ -914,7 +895,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rns-runtime"
|
||||
version = "1.5.0"
|
||||
version = "1.5.1"
|
||||
dependencies = [
|
||||
"bytes",
|
||||
"hex",
|
||||
@@ -942,7 +923,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rns-transport"
|
||||
version = "1.5.0"
|
||||
version = "1.5.1"
|
||||
dependencies = [
|
||||
"bytes",
|
||||
"hex",
|
||||
@@ -962,7 +943,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rns-wire"
|
||||
version = "1.5.0"
|
||||
version = "1.5.1"
|
||||
dependencies = [
|
||||
"rns-crypto",
|
||||
"sha2",
|
||||
|
||||
@@ -190,7 +190,7 @@
|
||||
"rename": null,
|
||||
"kind": null,
|
||||
"target": null,
|
||||
"requirement": "~1.5.0",
|
||||
"requirement": "~1.5.1",
|
||||
"optional": false,
|
||||
"defaultFeatures": true,
|
||||
"features": [],
|
||||
@@ -201,7 +201,7 @@
|
||||
"rename": null,
|
||||
"kind": null,
|
||||
"target": null,
|
||||
"requirement": "~1.5.0",
|
||||
"requirement": "~1.5.1",
|
||||
"optional": false,
|
||||
"defaultFeatures": true,
|
||||
"features": [],
|
||||
@@ -212,7 +212,7 @@
|
||||
"rename": null,
|
||||
"kind": null,
|
||||
"target": null,
|
||||
"requirement": "~1.5.0",
|
||||
"requirement": "~1.5.1",
|
||||
"optional": false,
|
||||
"defaultFeatures": true,
|
||||
"features": [],
|
||||
@@ -315,7 +315,7 @@
|
||||
"rename": null,
|
||||
"kind": null,
|
||||
"target": null,
|
||||
"requirement": "~1.5.0",
|
||||
"requirement": "~1.5.1",
|
||||
"optional": false,
|
||||
"defaultFeatures": true,
|
||||
"features": [],
|
||||
@@ -326,7 +326,7 @@
|
||||
"rename": null,
|
||||
"kind": null,
|
||||
"target": null,
|
||||
"requirement": "~1.5.0",
|
||||
"requirement": "~1.5.1",
|
||||
"optional": false,
|
||||
"defaultFeatures": true,
|
||||
"features": [],
|
||||
@@ -337,7 +337,7 @@
|
||||
"rename": null,
|
||||
"kind": null,
|
||||
"target": null,
|
||||
"requirement": "~1.5.0",
|
||||
"requirement": "~1.5.1",
|
||||
"optional": false,
|
||||
"defaultFeatures": true,
|
||||
"features": [],
|
||||
@@ -348,7 +348,7 @@
|
||||
"rename": null,
|
||||
"kind": null,
|
||||
"target": null,
|
||||
"requirement": "~1.5.0",
|
||||
"requirement": "~1.5.1",
|
||||
"optional": false,
|
||||
"defaultFeatures": true,
|
||||
"features": [],
|
||||
@@ -359,7 +359,7 @@
|
||||
"rename": null,
|
||||
"kind": null,
|
||||
"target": null,
|
||||
"requirement": "~1.5.0",
|
||||
"requirement": "~1.5.1",
|
||||
"optional": false,
|
||||
"defaultFeatures": true,
|
||||
"features": [],
|
||||
@@ -370,7 +370,7 @@
|
||||
"rename": null,
|
||||
"kind": null,
|
||||
"target": null,
|
||||
"requirement": "~1.5.0",
|
||||
"requirement": "~1.5.1",
|
||||
"optional": false,
|
||||
"defaultFeatures": true,
|
||||
"features": [],
|
||||
|
||||
@@ -18,6 +18,18 @@ fn link(byte: u8) -> LinkId {
|
||||
[byte; 16]
|
||||
}
|
||||
|
||||
/// Announces leave at once: by default the process stamper holds them for a
|
||||
/// value-25 stamp, seconds in a debug build.
|
||||
fn unstamped_announces() {
|
||||
rns_runtime::destination_stamper::configure(
|
||||
rns_transport::stamps::StampPolicy {
|
||||
stamp_destinations: false,
|
||||
..rns_runtime::destination_stamper::policy()
|
||||
},
|
||||
None,
|
||||
);
|
||||
}
|
||||
|
||||
fn identity(byte: u8) -> IdentityHash {
|
||||
[byte; 16]
|
||||
}
|
||||
@@ -1449,6 +1461,7 @@ async fn await_path_to_identity_uses_telephony_destination_hash() {
|
||||
|
||||
#[tokio::test]
|
||||
async fn endpoint_announce_sends_lxst_telephony_announce_with_public_key() {
|
||||
unstamped_announces();
|
||||
let identity = Identity::new();
|
||||
let destination_hash = telephony_destination_hash(&identity.hash);
|
||||
let public_key = identity.get_public_key();
|
||||
@@ -1646,6 +1659,7 @@ async fn telephony_service_registered_helper_wires_channels_and_lifecycle() {
|
||||
|
||||
#[tokio::test(start_paused = true)]
|
||||
async fn telephony_service_announces_once_after_first_job_interval() {
|
||||
unstamped_announces();
|
||||
let local_identity = Identity::new();
|
||||
let destination_hash = telephony_destination_hash(&local_identity.hash);
|
||||
let (transport_tx, mut transport_rx) = mpsc::channel(8);
|
||||
@@ -1707,6 +1721,7 @@ async fn telephony_service_announces_once_after_first_job_interval() {
|
||||
|
||||
#[tokio::test(start_paused = true)]
|
||||
async fn telephony_service_startup_announce_burst_is_opt_in() {
|
||||
unstamped_announces();
|
||||
let local_identity = Identity::new();
|
||||
let destination_hash = telephony_destination_hash(&local_identity.hash);
|
||||
let (transport_tx, mut transport_rx) = mpsc::channel(8);
|
||||
@@ -1769,6 +1784,7 @@ async fn telephony_service_startup_announce_burst_is_opt_in() {
|
||||
|
||||
#[tokio::test]
|
||||
async fn telephony_service_announce_control_queues_telephony_announce() {
|
||||
unstamped_announces();
|
||||
let local_identity = Identity::new();
|
||||
let destination_hash = telephony_destination_hash(&local_identity.hash);
|
||||
let (transport_tx, mut transport_rx) = mpsc::channel(8);
|
||||
@@ -1821,6 +1837,7 @@ async fn telephony_service_announce_control_queues_telephony_announce() {
|
||||
|
||||
#[tokio::test]
|
||||
async fn telephony_service_outgoing_discovery_does_not_block_controls() {
|
||||
unstamped_announces();
|
||||
let local_identity = Identity::new();
|
||||
let remote_identity = Identity::new();
|
||||
let remote_hash = remote_identity.hash;
|
||||
|
||||
@@ -70,7 +70,7 @@ fn python_telephone_helper_loads_reference_and_creates_destination() {
|
||||
assert_eq!(ready["app_name"], "lxst");
|
||||
assert_eq!(ready["primitive_name"], "telephony");
|
||||
assert_eq!(ready["lxst_version"], "0.6.0");
|
||||
assert_eq!(ready["rns_version"], "1.6.0");
|
||||
assert_eq!(ready["rns_version"], "1.6.1");
|
||||
let lxst_root = PathBuf::from(ready["lxst_root"].as_str().expect("LXST root"));
|
||||
if let Ok(configured) = std::env::var("LXST_UPSTREAM_DIR") {
|
||||
let configured = PathBuf::from(configured)
|
||||
|
||||
@@ -289,6 +289,7 @@ async fn spawn_rust_actor_and_tcp(
|
||||
rns_interface::traits::InterfaceHandle,
|
||||
mpsc::Receiver<rns_interface::traits::InterfaceHandle>,
|
||||
) {
|
||||
unstamp_rust_announces();
|
||||
let (actor, actor_tx) = TransportActor::new();
|
||||
tokio::spawn(actor.run());
|
||||
|
||||
@@ -316,11 +317,25 @@ async fn spawn_rust_actor_and_tcp_client(
|
||||
}
|
||||
|
||||
async fn spawn_rust_actor() -> mpsc::Sender<TransportMessage> {
|
||||
unstamp_rust_announces();
|
||||
let (actor, actor_tx) = TransportActor::new();
|
||||
tokio::spawn(actor.run());
|
||||
actor_tx
|
||||
}
|
||||
|
||||
/// By default a Rust announce waits for its value-25 stamp, seconds to tens of
|
||||
/// seconds in a debug build. Only stamping is turned off: a stamp test's
|
||||
/// enforcement stays as it configured it.
|
||||
fn unstamp_rust_announces() {
|
||||
rns_runtime::destination_stamper::configure(
|
||||
rns_transport::stamps::StampPolicy {
|
||||
stamp_destinations: false,
|
||||
..rns_runtime::destination_stamper::policy()
|
||||
},
|
||||
None,
|
||||
);
|
||||
}
|
||||
|
||||
async fn attach_rust_tcp_client(
|
||||
actor_tx: mpsc::Sender<TransportMessage>,
|
||||
name: &str,
|
||||
@@ -3709,7 +3724,7 @@ impl PythonCallPair {
|
||||
let caller_ready = caller.wait_event("READY", Duration::from_secs(20));
|
||||
for ready in [&callee_ready, &caller_ready] {
|
||||
assert_eq!(ready["lxst_version"], "0.6.0");
|
||||
assert_eq!(ready["rns_version"], "1.6.0");
|
||||
assert_eq!(ready["rns_version"], "1.6.1");
|
||||
assert_eq!(ready["opus_available"], true, "live voice media needs Opus");
|
||||
}
|
||||
let callee_destination = callee_ready["destination_hash"]
|
||||
@@ -3950,7 +3965,7 @@ impl RustCallPair {
|
||||
let hub =
|
||||
PythonTelephoneHost::spawn_script(&relay_helper_script(), port, "server", true, &[]);
|
||||
let ready = hub.wait_event("READY", Duration::from_secs(20));
|
||||
assert_eq!(ready["rns_version"], "1.6.0");
|
||||
assert_eq!(ready["rns_version"], "1.6.1");
|
||||
assert_eq!(
|
||||
ready["opus_available"], true,
|
||||
"upstream TOC vectors need Opus"
|
||||
|
||||
@@ -14,8 +14,8 @@ ROOT = Path(__file__).resolve().parents[1]
|
||||
EXPECTED_PACKAGES = {"lxst-core", "lxst-codec2", "lxst-embedded", "lxst-rns", "lxst-telephony"}
|
||||
EXPECTED_MSRV = "1.89"
|
||||
EMBEDDED_MSRV = {"lxst-codec2": "1.87", "lxst-embedded": "1.87"}
|
||||
EXPECTED_RETICULUM_VERSION = "1.5.0"
|
||||
EXPECTED_RETICULUM_COMMIT = "184bbfe59f1e089af802df2de706688b82dd49d2"
|
||||
EXPECTED_RETICULUM_VERSION = "1.5.1"
|
||||
EXPECTED_RETICULUM_COMMIT = "f6d0d698dd7e6edc180f9c3697ab1c873571f372"
|
||||
EXPECTED_OPUS_DEPENDENCY = (
|
||||
'opus-rs = { version = "=0.1.42", default-features = false, '
|
||||
'features = ["heap"] }'
|
||||
@@ -143,7 +143,7 @@ python_pins = {
|
||||
"RSLXST_PYTHON_LXST_COMMIT",
|
||||
json.loads((ROOT / "tools/reference/lxst_reference_lock.json").read_text())["commit"],
|
||||
),
|
||||
"Reticulum": ("RSLXST_PYTHON_RNS_COMMIT", "cb1260891d1b6da8f6e9b21542c4f0cc0725cac4"),
|
||||
"Reticulum": ("RSLXST_PYTHON_RNS_COMMIT", "cff4d03fdbd6bfb63b765280cd944756ac5cce8d"),
|
||||
}
|
||||
for name, (variable, revision) in python_pins.items():
|
||||
pin = re.search(rf"^ {variable}: ([0-9a-f]{{40}})$", workflow, re.MULTILINE)
|
||||
|
||||
@@ -421,6 +421,9 @@ def setup_reticulum(storage: Path, tcp_role: str, tcp_host: str, tcp_port: int,
|
||||
+ ("\n[stamps]\n" + os.environ["LXST_HELPER_STAMPS"].replace(";", "\n") + "\n" if os.environ.get("LXST_HELPER_STAMPS") else ""),
|
||||
encoding="utf-8",
|
||||
)
|
||||
# Destination stamping opt-in, as before Reticulum 1.6.1 ([stamps] still turns it on):
|
||||
# macOS stamps on one core, and a value-25 stamp takes about a minute there.
|
||||
_RNS.Transport.STAMP_DESTINATIONS = False
|
||||
|
||||
loglevel = os.environ.get("LXST_PYTHON_LOGLEVEL")
|
||||
if loglevel:
|
||||
|
||||
Reference in new issue
Block a user