Crates.io | linux-stat |
lib.rs | linux-stat |
version | 0.3.3 |
source | src |
created_at | 2023-06-26 14:10:47.64072 |
updated_at | 2023-07-23 03:44:30.021166 |
description | A pure Rust library that implements stat functions on linux with only syscalls. |
homepage | https://github.com/shurizzle/linux-stat |
repository | https://github.com/shurizzle/linux-stat |
max_upload_size | |
id | 900363 |
size | 145,369 |
A pure Rust library that implements stat
functions on linux with only syscalls.
It tries to use statx
syscall and fallback to fstatat
.
std
: enable std support.linux_4_11
: assume that kernel is at least 4.11.0 so statx
is used.#![no_std]
Enable #![no_std]
support by disabling the default std
feature:
[dependencies]
linux-stat = { version = "*", default-features = false }
1.46.0