Cargo Features

ssh-encoding has no features set by default.

ssh-encoding = { version = "0.2.0", features = ["std", "alloc", "bytes", "pem", "sha2"] }
std = alloc

Enables std of optional base64ct, optional pem-rfc7468, and optional sha2

alloc bytes? std?

Enables alloc of optional base64ct and optional pem-rfc7468

Affects encode::EncodePem.encode_pem_string

bytes = alloc

Enables bytes

pem = base64

Enables pem-rfc7468

Affects decode::DecodePem, encode::EncodePem

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.

base64 pem?

Enables base64ct

Affects reader::Base64Reader, writer::Base64Writer

sha2 implicit feature