diff --git a/crates/rns-interface/src/rnode.rs b/crates/rns-interface/src/rnode.rs index 674ad96..b7c2504 100644 --- a/crates/rns-interface/src/rnode.rs +++ b/crates/rns-interface/src/rnode.rs @@ -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)] diff --git a/crates/rns-runtime/src/interface_factory.rs b/crates/rns-runtime/src/interface_factory.rs index a412358..47dd953 100644 --- a/crates/rns-runtime/src/interface_factory.rs +++ b/crates/rns-runtime/src/interface_factory.rs @@ -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)