Cargo Features

ssh-encoding has no features set by default.

[dependencies]
ssh-encoding = { version = "0.3.0-pre.1", features = ["std", "alloc", "base64", "bytes", "pem", "digest"] }
std = alloc

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

alloc bytes? std?

Enables alloc of optional base64ct and optional pem-rfc7468

Affects encode::Encode.encode_vec, encode::EncodePem.encode_pem_string

base64 pem?

Enables base64ct

Affects ssh-encoding::base64

bytes = alloc

Enables bytes

Affects encode::Encode.encode_bytes

pem = base64

Enables pem-rfc7468

Affects ssh-encoding::pem

Features from optional dependencies

digest implicit feature

Enables digest

digest:

Traits for cryptographic hash functions and message authentication codes

Affects writer::DigestWriter