Cargo Features

[dependencies]
asuran-core = { version = "0.1.6", default-features = false, features = ["core", "blake2b", "lzma", "aes-family", "chacha-family", "all-encryption", "all-compression", "all-hmac", "all-chunk", "blake3-neon"] }
default = all-chunk

The all-chunk feature is set by default whenever asuran-core is added without default-features = false somewhere in the dependency tree.

core = aes-family, blake3, zstd
blake2b all-hmac? = blake2b_simd

Convience renames

lzma all-compression? = xz2
aes-family all-encryption? core? = aes-soft, aesni, ctr

Groups

chacha-family all-encryption? = chacha20
all-encryption all-chunk = aes-family, chacha-family

Group of all of a type

all-compression all-chunk = lz4, lzma, zstd
all-hmac all-chunk = blake2b, blake3, sha2, sha3
all-chunk default = all-compression, all-encryption, all-hmac
blake3-neon

Enable neon support for blake3 on ARM
see cargo issue #7914

Enables neon of blake3 ^0.3.4

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.

aes-soft aes-family?
blake2b_simd blake2b?

Enables blake2b_simd ^0.5.10

blake3 all-hmac? blake3-neon? core?

Enables blake3 ^0.3.4

chacha20 chacha-family?

Enables chacha20 ^0.4.3

ctr aes-family?

Enables ctr ^0.4.0

lz4 all-compression?
sha2 all-hmac?

Enables sha2 ^0.9.1

sha3 all-hmac?

Enables sha3 ^0.9.1

xz2 lzma?
zstd all-compression? core?

Enables zstd ^0.5.3

aesni x86 x86_64 aes-family?