runtime: align RNS 1.4.2 utility versions

This commit is contained in:
DeFiDude committed 2026-08-26 21:30:04 -06:00
1 parent 6f2a6e8759
commit 6e723977bd
4 files changed
+11 -6

No files matched your search

+5
View File
@@ -4,6 +4,11 @@
- Match Python RNS 1.4.2 Channel receive-window admission by dropping sequence
numbers more than 48 slots ahead until a retry falls inside the window.
- Report the bundled `rnsh` compatibility level as 0.3.0, matching RNS 1.4.2;
the wire protocol remains version 1 and the authenticated session hardening
was already implemented.
- Report RNS 1.4.2 from the `rnsd-rs` interactive compatibility console instead
of the superseded 1.3.8 floor.
- Promote exact Python RNS 1.4.2 from a selected current-reference lane to the
complete release baseline, including live interop, source oracles, utility
vectors, and regenerated corpus provenance; RNS 1.5.0 remains deferred.
+1 -1
View File
@@ -39,7 +39,7 @@ use crate::link_manager::{
};
pub const RNSH_APP_NAME: &str = "rnsh";
pub const RNSH_SOFTWARE_VERSION: &str = "0.2.0";
pub const RNSH_SOFTWARE_VERSION: &str = "0.3.0";
const CLIENT_CHUNK_LEN: usize = 240;
const CHANNEL_SEND_RETRY: Duration = Duration::from_millis(20);
const CLIENT_PRE_EOF_DRAIN_MIN: Duration = Duration::from_secs(3);
+2 -2
View File
@@ -25,7 +25,7 @@ use tokio::sync::mpsc;
use rns_tools::RS_RETICULUM_VERSION;
const RNSH_PROTOCOL_VERSION: &str = "0.2.0";
const RNSH_PROTOCOL_VERSION: &str = "0.3.0";
const APP_NAME: &str = "rnsh";
const DEFAULT_SERVICE_NAME: &str = "default";
const IDENTITY_HASH_HEX_LEN: usize = 32;
@@ -883,7 +883,7 @@ mod tests {
fn version_string_uses_rust_command_name() {
assert_eq!(
format!("rnsh-rs {RS_RETICULUM_VERSION} (protocol {RNSH_PROTOCOL_VERSION})"),
format!("rnsh-rs {} (protocol 0.2.0)", env!("CARGO_PKG_VERSION"))
format!("rnsh-rs {} (protocol 0.3.0)", env!("CARGO_PKG_VERSION"))
);
}
+3 -3
View File
@@ -6,9 +6,9 @@ pub mod hash;
/// rsReticulum package version printed by CLI `--version` output.
pub const RS_RETICULUM_VERSION: &str = env!("CARGO_PKG_VERSION");
/// Python Reticulum compatibility floor used by version-specific CLI fixtures.
/// Current protocol behavior is additionally checked against newer upstream.
pub const RETICULUM_COMPAT_VERSION: &str = "1.3.8";
/// Python Reticulum release baseline exposed by compatibility-oriented CLI
/// surfaces such as the `rnsd-rs` interactive console.
pub const RETICULUM_COMPAT_VERSION: &str = "1.4.2";
/// Python 1.3.2 `[logging] logtimestamps` (Reticulum.py:459-461,
/// RNS/__init__.py:85 default True): whether log lines carry a timestamp