Cargo Features

[dependencies]
libfs = { version = "0.8.1", default-features = false, features = ["use_linux", "test_no_acl", "test_no_extents", "test_no_sockets"] }
default = use_linux

The use_linux feature is set by default whenever libfs is added without default-features = false somewhere in the dependency tree.

use_linux default
test_no_acl

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

test_no_reflink test_no_sparse test_no_extents
test_no_sockets