Cargo Features

[dependencies]
xcp = { version = "0.22.0", default-features = false, features = ["parblock", "use_linux", "test_no_reflink", "test_no_sparse", "test_no_extents", "test_no_sockets", "test_no_acl", "test_no_perms", "test_run_expensive"] }
default = parblock, use_linux

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

parblock default

Enables parblock of libxcp

use_linux default

Enables use_linux of libfs and libxcp

For CI; disable feature testing on filesystems that don't support it. See .github/workflows/tests.yml

Enables test_no_reflink of libfs

test_no_sparse

Enables test_no_sparse of libfs

test_no_extents

Enables test_no_extents of libfs

test_no_sockets

Enables test_no_sockets of libfs

test_no_acl

Enables test_no_acl of libfs

libfs:

For CI; disable feature testing on filesystems that don't support it. See .github/workflows/tests.yml

test_no_xattr test_no_symlinks test_no_perms
test_run_expensive