Cargo Features

[dependencies]
httm = { version = "0.36.2", default-features = false, features = ["std", "acls", "xattrs", "malloc_trim", "setpriority", "licensing"] }
default = std

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

std default = malloc_trim, xattrs
acls = exacl

acls feature - requires libacl1-dev to build

xattrs std = xattr
malloc_trim std = libc

Enables malloc_trim of two_percent

Affects utility::malloc_trim

setpriority = libc

Affects utility::ThreadPriorityType

licensing = itertools, lms

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

lms licensing?

Enables lms

these are strictly not required to build, only included for attribution sake (to be picked up by cargo_about)

itertools licensing?
exacl unix acls?

Enables exacl ^0.11.0

xattr unix xattrs?
libc unix malloc_trim? setpriority?