Cargo Features

[dependencies]
br-crypto = { version = "0.2.1", default-features = false, features = ["br_base64", "br_encoding", "br_aes", "br_hash", "br_hmac", "br_qp", "br_jwt", "br_hex", "br_pkey"] }
default = br_aes, br_base64, br_encoding, br_hash, br_hex, br_hmac, br_jwt, br_pkey, br_qp

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

br_base64 default br_aes br_jwt br_pkey = base64, br_encoding

Affects br-crypto::base64

br_encoding default br_base64 = encoding, encoding_rs, mail-parser, textcode, urlencoding

Affects br-crypto::encoding

br_aes default = br_base64, libaes

Affects br-crypto::aes

br_hash default = hex, md5, sha256-rs

Affects br-crypto::hash

br_hmac default br_jwt = hmac, sha1, sha2

Affects br-crypto::hmac

br_qp default = quoted_printable

Affects br-crypto::qp

br_jwt default = br_base64, br_hmac, br_pkey, chrono, json

Affects br-crypto::jwt

br_hex default = hex

Affects br-crypto::hex

br_pkey default br_jwt = br_base64, openssl

Affects br-crypto::pkey

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.

json br_jwt
chrono br_jwt
base64 br_base64
md5 br_hash
hmac br_hmac
sha1 br_hmac
sha2 br_hmac
sha256-rs br_hash
textcode br_encoding
mail-parser br_encoding
encoding br_encoding
encoding_rs br_encoding
libaes br_aes
quoted_printable br_qp
urlencoding br_encoding
openssl br_pkey
hex br_hash br_hex