ssh2-config 0.7.2

an ssh configuration parser for ssh2-rs
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#[cfg(feature = "reload-ssh-algo")]
mod define_parser;
#[cfg(feature = "reload-ssh-algo")]
mod openssh;
#[cfg(feature = "reload-ssh-algo")]
mod src_writer;

#[cfg(feature = "reload-ssh-algo")]
fn main() -> anyhow::Result<()> {
    let prefs = openssh::get_my_prefs()?;
    src_writer::write_source(prefs)?;

    Ok(())
}

#[cfg(not(feature = "reload-ssh-algo"))]
fn main() {}