Cargo Features

age has no features set by default.

[dependencies]
age = { version = "0.11.1", features = ["armor", "async", "cli-common", "plugin", "ssh", "unstable", "web-sys"] }
armor

Affects primitives::armor, simple::encrypt_and_armor

async = futures, memchr
cli-common = console, is-terminal, pinentry, rpassword

Affects age::cli_common

plugin = which, wsl

Enables plugin of age-core

Affects error::PluginError, age::plugin

ssh = aes, aes-gcm, bcrypt-pbkdf, cbc, cipher, ctr, curve25519-dalek, num-traits, rsa

Affects age::ssh

unstable

Enables unstable of age-core

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.

rsa ssh?

Enables rsa

OpenSSH-specific dependencies:
- RSAES-OAEP from RFC 8017 with SHA-256 and MGF1

curve25519-dalek ssh?

Enables curve25519-dalek

- Conversion of public keys from Ed25519 to X25519

futures async?

Enables futures

Async I/O

pinentry cli-common?

Enables pinentry

Common CLI dependencies

num-traits ssh?

Enables num-traits

OpenSSH-specific dependencies:
- RSAES-OAEP from RFC 8017 with SHA-256 and MGF1

aes ssh?

Enables aes

- Encrypted keys

aes-gcm ssh?
bcrypt-pbkdf ssh?
cbc ssh?
cipher ssh?
ctr ssh?
web-sys implicit feature

Enables web-sys

scrypt Performance timer

memchr async?

Enables memchr

Async I/O

console cli-common?

Enables console

Common CLI dependencies

is-terminal cli-common?
rpassword cli-common?
which unix win plugin?

Enables which ^4

wsl unix win plugin?