Cargo Features

br-crypto has no features set by default.

[dependencies]
br-crypto = { version = "0.4.8", features = ["br_base64", "br_encoding", "br_aes", "br_qp", "br_jwt", "br_hex", "br_pkey", "br_totp", "br_md5", "br_sha256", "br_sha1", "br_sm2"] }
br_base64 br_aes? br_pkey? = base64, br_encoding

Affects br-crypto::base64

br_encoding br_base64? = encoding, encoding_rs, textcode, urlencoding

Affects br-crypto::encoding

br_aes = br_base64, libaes

Affects br-crypto::aes

br_qp = quoted_printable

Affects br-crypto::qp

br_jwt = base64, br_pkey, br_sha256, chrono, json

Affects br-crypto::jwt

br_hex br_sha256? br_sm2? = hex

Affects br-crypto::hex

br_pkey br_jwt? = br_base64, openssl

Affects br-crypto::pkey

br_totp = base32, byteorder, hmac, sha1, urlencoding

Affects br-crypto::totp

br_md5 = base64, hmac, md5

Affects br-crypto::md5

br_sha256 br_jwt? = base64, br_hex, hmac, sha2

Affects br-crypto::sha256

br_sha1 = base64, hmac, sha1

Affects br-crypto::sha1

br_sm2 = br_hex, sm2, sm3, smcrypto

Affects br-crypto::sm2

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? br_jwt? br_md5? br_sha1? br_sha256?
md5 br_md5?
hmac br_md5? br_sha1? br_sha256? br_totp?
sha1 br_sha1? br_totp?
sha2 br_sha256?
textcode br_encoding?

Enables textcode ^0.2.2

encoding br_encoding?
encoding_rs br_encoding?
libaes br_aes?
quoted_printable br_qp?
urlencoding br_encoding? br_totp?
openssl br_pkey?
hex br_hex?
smcrypto br_sm2?
sm2 br_sm2?
sm3 br_sm2?
base32 br_totp?
byteorder br_totp?