linux-stat

GitHub Workflow Status (with branch) Crates.io docs.rs Crates.io

A pure Rust library that implements stat functions on linux with only syscalls.

tl;dr

It tries to use statx syscall and fallback to fstatat.

Feature flags

#![no_std]

Enable #![no_std] support by disabling the default std feature:

toml [dependencies] linux-stat = { version = "*", default-features = false }

Platforms

MSRV

1.46.0