Cargo Features

Sunset has no features set by default.

sunset = { version = "0.2.0", features = ["std", "rsa", "openssh-key", "embedded-io", "defmt"] }

Enables backtrace and std of snafu

examples want std::error

and alloc of ssh-key

TODO: getrandom feature is a workaround for missing ssh-key dependency with rsa. fixed in pending 0.6

Affects sshwire::write_ssh_vec


Enables rsa, rsa of ssh-key

Affects packets::RSAPubKey, packets::RSASig

openssh-key = ssh-key

allows conversion to/from OpenSSH key formats


implements embedded_io::Error for sunset::Error

Enables embedded-io


Enables defmt

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.

ssh-key openssh-key? rsa? std?