Cargo Features

[dependencies]
asuran = { version = "0.1.6", default-features = false, features = ["sftp", "only-local-backends", "blake2b", "lzma", "aes-family", "chacha-family", "all-encryption", "all-compression", "all-hmac", "all-chunk", "all-backend", "vendored-openssl", "blake3-neon"] }
default = all-backend, all-chunk

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

sftp all-backend = ssh2

Affects backend::sftp

only-local-backends = all-chunk
blake2b

Rexports of asuran-core features

Enables blake2b of asuran-core

lzma

Enables lzma of asuran-core

aes-family

Enables aes-family of asuran-core

asuran-core:

Groups

chacha-family

Enables chacha-family of asuran-core

all-encryption

Enables all-encryption of asuran-core

asuran-core:

Group of all of a type

all-compression

Enables all-compression of asuran-core

all-hmac

Enables all-hmac of asuran-core

all-chunk default only-local-backends?

Enables all-chunk of asuran-core

all-backend default = sftp

Groups of all of a type
Placeholder for when we have features for backends

vendored-openssl

Vendor OpenSSL for the sftp backend

Enables vendored-openssl of ssh2 ^0.8.1

blake3-neon

Enables blake3-neon of asuran-core

asuran-core:

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

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.

ssh2 sftp? vendored-openssl?

Enables ssh2 ^0.8.1