Sunbeam Studios

Our open-source projects, here for you!

xattr (1.6.1)

Published 2026-03-26 11:06:50 +00:00 by siennathesane

Installation

[registry]
default = "gitea"

[registries.gitea]
index = "sparse+" # Sparse index
# index = "" # Git

[net]
git-fetch-with-cli = true
cargo add xattr@1.6.1

About this package

unix extended filesystem attributes

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.

Dependencies

ID Version
tempfile ^3
rustix ^1.0.0
libc ^0.2.150

Keywords

xattr filesystem unix
Details
Cargo
2026-03-26 11:06:50 +00:00
0
Steven Allen <steven@stebalien.com>
MIT OR Apache-2.0
14 KiB
Assets (1)
Versions (1) View all
1.6.1 2026-03-26