Cargo Features
Sunset has no features set by default.
[dependencies]
sunset = { version = "0.2.0", features = ["std", "rsa", "openssh-key", "embedded-io", "defmt"] }
- std
-
Enables backtrace and std of snafu
examples want std::error
TODO: getrandom feature is a workaround for missing ssh-key dependency with rsa. fixed in pending 0.6
Affects
sshwire::write_ssh_vec
… - rsa
-
Affects
packets::RSAPubKey
,packets::RSASig
… - openssh-key = ssh-key
-
allows conversion to/from OpenSSH key formats
- embedded-io
-
implements embedded_io::Error for sunset::Error
Enables embedded-io
- defmt
-
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?