interface: note RNode TCP feature-gate cleanup

This commit is contained in:
DeFiDude committed 2026-05-17 14:20:41 -06:00
1 parent eb2972510c
commit a8df6d0b36
2 files changed
+7

No files matched your search

+4
View File
@@ -116,6 +116,10 @@ const RNODE_TCP_CONNECT_TIMEOUT_SECS: u64 = 5;
// Transport abstraction
// TODO: Split TCP-backed RNode support out of the `serial` feature. The current
// shared stream keeps the initial TCP implementation small, but non-serial
// builds cannot use `port = tcp://...` until this module has transport-specific
// feature gates.
/// Parsed representation of the `port` config field.
#[cfg(feature = "serial")]
#[derive(Debug, Clone)]
@@ -274,6 +274,9 @@ pub fn synthesize_interface(
"RNodeInterface '{name}' is an Android USB-OTG entry — skipped at startup; re-add from the UI after plugging the device in"
)));
}
// TODO: Once rns-interface exposes TCP-backed RNode without the
// `serial` feature, route `tcp://` ports through that path instead
// of rejecting them in non-serial builds.
#[cfg(feature = "serial")]
{
synthesize_rnode(name, section, mode)