docs: document core host and ssh modules

This commit is contained in:
Christian Visintin
2026-04-19 01:54:46 +05:30
parent 89de2d2dfa
commit 08509caf1b
6 changed files with 35 additions and 0 deletions
+6
View File
@@ -1,5 +1,11 @@
//! ## SSH Utilities
//!
//! Provides small helpers for loading SSH configuration files used by bookmarks
//! and setup flows.
use ssh2_config::{ParseRule, SshConfig};
/// Parses an OpenSSH-style config file into an `ssh2_config::SshConfig`.
pub fn parse_ssh2_config(path: &str) -> Result<SshConfig, String> {
use std::fs::File;
use std::io::BufReader;