Cargo Features

shm-fd has no features set by default.

[dependencies]
shm-fd = { version = "0.5.0", features = ["std", "libc", "memfile"] }
std

Required by the binary

Features from optional dependencies

libc implicit feature

Enables libc

libc:

Raw FFI bindings to platform libraries like libc

Required by the binary

memfile implicit feature

Enables memfile ^0.2.1

memfile:

memory backed files using memfd_create with file sealing support

Required by the binary