Cargo Features

[dependencies]
obnth = { version = "0.1.1", default-features = false, features = ["openat2"] }
default = openat2

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

openat2 default

Enable using openat2() on Linux (ignored on other platforms)

Affects sys::open_how, sys::SYS_OPENAT2