Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Stebalien/xattr

Extended attribute library for rust.
https://github.com/Stebalien/xattr

Last synced: about 2 months ago
JSON representation

Extended attribute library for rust.

Awesome Lists containing this project

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.