Cargo Features

[dependencies]
picky = { version = "7.0.0-rc.9", default-features = false, features = ["x509", "jose", "http_signature", "pkcs12", "pkcs7", "http_timestamp", "ctl", "ctl_http_fetch", "wincert", "ssh", "http_trait_impl", "chrono_conversion", "time_conversion", "putty"] }
default = http_signature, http_trait_impl, jose, pkcs12, x509

These default features are set whenever picky is added without default-features = false somewhere in the dependency tree.

x509 default pkcs12 pkcs7? wincert?

main features

Affects picky::x509

jose default

Enables aes-gcm, aes-kw, cbc, and serde_json

Affects picky::jose

http_signature default

Affects picky::http

pkcs12 default = x509

Enables rc2, aes, cbc, des, hmac, and pbkdf2, pkcs12 of picky-asn1-x509

Affects picky::pkcs12

pkcs7 ctl? = x509

secondary features

Enables pkcs7 of picky-asn1-x509

Affects x509::pkcs7

http_timestamp

Enables reqwest

FIXME: either use ureq, or even better: do not require this kind of dependency at all to let user decide which lib to use. (currently users should really not forget to use spawn_blocking when calling associated functions from async context)

Affects timestamp::http_timestamp

ctl ctl_http_fetch? = chrono_conversion, pkcs7

Enables ctl of picky-asn1-x509

Affects pkcs7::ctl

ctl_http_fetch = ctl

Enables cab and reqwest

Affects ctl::http_fetch

wincert = x509

Enables byteorder

Affects x509::wincert

ssh putty?

Enables aes, bcrypt-pbkdf, byteorder, cbc, ctr, and lexical-sort

Affects picky::ssh

http_trait_impl default

Enables http

chrono_conversion ctl?

Enables chrono, chrono_conversion of picky-asn1

time_conversion

Enables time, time_conversion of picky-asn1

putty = ssh

Enables argon2 and hmac

Affects picky::putty