Cargo Features

[dependencies]
distant-ssh2 = { version = "0.20.0", default-features = false, features = ["libssh", "ssh2", "serde"] }
default = libssh, ssh2

These default features are set whenever distant-ssh2 is added without default-features = false somewhere in the dependency tree.

libssh default

Enables libssh-rs and vendored-openssl-libssh-rs of wezterm-ssh

ssh2 default

Enables ssh2 and vendored-openssl-ssh2 of wezterm-ssh

Features from optional dependencies

serde implicit feature

Enables serde

Optional serde support for data structures