Cargo Features
[dependencies]
distant = { version = "0.20.0", default-features = false, features = ["libssh", "ssh2"] }
- default = libssh, ssh2
-
These default features are set whenever
distant
is added without
somewhere in the dependency tree.default-features = false - libssh default
-
Enables libssh of distant-ssh2
Optional native SSH functionality
Affects
handlers::SshLaunchHandler
,handlers::SshConnectHandler
… - ssh2 default
-
Enables ssh2 of distant-ssh2
Affects
handlers::SshLaunchHandler
,handlers::SshConnectHandler
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.