mirror of
https://github.com/ratspeak/rsReticulum
synced 2026-11-27 13:52:16 +00:00
interface: note RNode TCP feature-gate cleanup
This commit is contained in:
1 parent
eb2972510c
commit
a8df6d0b36
2 files changed
+7
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user