docs: complete remaining core module docs

This commit is contained in:
Christian Visintin
2026-03-21 14:50:35 +01:00
parent 663e1ec38b
commit 95672bd67b
3 changed files with 15 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
//! ## termscp
//!
//! Binary entry point for argument parsing, logging setup, and activity
//! manager startup.
mod activity_manager;
mod cli;
mod config;

View File

@@ -1,3 +1,8 @@
//! ## Parser Port Helpers
//!
//! Shared helpers for resolving default protocol ports and parsing explicit
//! port captures from remote connection strings.
use crate::filetransfer::FileTransferProtocol;
pub(super) fn default_port_for_protocol(protocol: FileTransferProtocol) -> u16 {

View File

@@ -1,3 +1,8 @@
//! ## Parser Protocol Helpers
//!
//! Detects the protocol prefix for remote connection strings and returns the
//! remaining address payload.
use std::str::FromStr;
use super::REMOTE_OPT_PROTOCOL_REGEX;