Cargo Features

[dependencies]
russh = { version = "0.60.3", default-features = false, features = ["aws-lc-rs", "async-trait", "legacy-ed25519-pkcs8-parser", "des", "dsa", "ring", "rsa", "serde", "flate2"] }
default = aws-lc-rs, flate2, rsa

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

aws-lc-rs default

Crypto backends: enable at least one of aws-lc-rs or ring. Default crypto backend.

Enables aws-lc-rs

async-trait

Enables async-trait

legacy-ed25519-pkcs8-parser = yasna
des

Danger: 3DES cipher is insecure.

Enables des ^0.8.1

Affects cipher::TRIPLE_DES_CBC

dsa

Danger: DSA algorithm is insecure.

Enables dsa of internal-russh-forked-ssh-key

ring

Alternative crypto backend.

Enables ring

rsa default

Enables pkcs1 and rsa =0.10.0-rc.16, rsa and rsa-sha1 of internal-russh-forked-ssh-key

serde

Enables serde of internal-russh-forked-ssh-key

_bench

Enables criterion ^0.7

Affects cipher::benchmark

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.

flate2 default

Affects compression::ZLIB, compression::ZLIB_LEGACY

yasna legacy-ed25519-pkcs8-parser?

Enables yasna ^0.5.0