https://github.com/Stebalien/xattr
Extended attribute library for rust.
https://github.com/Stebalien/xattr
Last synced: 26 days ago
JSON representation
Extended attribute library for rust.
- Host: GitHub
- URL: https://github.com/Stebalien/xattr
- Owner: Stebalien
- License: apache-2.0
- Created: 2015-07-10T16:09:28.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2025-03-06T18:59:16.000Z (about 1 month ago)
- Last Synced: 2025-03-17T11:54:07.348Z (29 days ago)
- Language: Rust
- Homepage:
- Size: 6.57 MB
- Stars: 63
- Watchers: 2
- Forks: 20
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
- awesome-rust-cn - Stebalien/xattr - ci.org/Stebalien/xattr.svg?branch=master">](https://travis-ci.org/Stebalien/xattr) (Libraries / Filesystem)
- awesome-rust - Stebalien/xattr - ci.org/Stebalien/xattr.svg?branch=master">](https://travis-ci.org/Stebalien/xattr) (Libraries / Filesystem)
- awesome-rust - Stebalien/xattr
- awesome-rust-cn - Stebalien/xattr
- awesome-rust-zh - Stebalien/xattr - 列出,并操作 unix 扩展文件属性[<img src="https://api.travis-ci.org/Stebalien/xattr.svg?branch=master">](https://travis-ci.org/Stebalien/xattr) (库 / 文件系统)
- awesome-rust - Stebalien/xattr - list and manipulate unix extended file attributes (Libraries / Filesystem)
- awesome-rust - Stebalien/xattr - ci.org/Stebalien/xattr.svg?branch=master">](https://travis-ci.org/Stebalien/xattr) (库 Libraries / 文件系统 Filesystem)
- fucking-awesome-rust - Stebalien/xattr - list and manipulate unix extended file attributes (Libraries / Filesystem)
- fucking-awesome-rust - Stebalien/xattr - list and manipulate unix extended file attributes (Libraries / Filesystem)
README
xattr
=====A small library for setting, getting, and listing extended attributes.
Supported Platforms: Android, Linux, MacOS, FreeBSD, and NetBSD.
API Documentation: https://docs.rs/xattr/latest/xattr/
Unsupported Platforms
--------------------------This library includes no-op support for unsupported Unix platforms. That is, it will
build on *all* Unix platforms but always fail on unsupported Unix platforms.1. You can turn this off by disabling the default `unsupported` feature. If you
do so, this library will fail to compile on unsupported platforms.
2. Alternatively, you can detect unsupported platforms at runtime by checking
the `xattr::SUPPORTED_PLATFORM` boolean.