libbtrfs 0.0.30

Rust library for working with the btrfs filesystem
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85"
name = "libbtrfs"
version = "0.0.30"
authors = ["Lucas Wheeler <lucasww93@outlook.com>"]
build = false
exclude = ["TODO"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust library for working with the btrfs filesystem"
documentation = "https://docs.rs/libbtrfs"
readme = "README.md"
keywords = [
    "btrfs",
    "linux",
]
categories = [
    "api-bindings",
    "filesystem",
    "os::linux-apis",
]
license = "MIT"
repository = "https://github.com/Lucasw93/libbtrfs-project"
resolver = "2"

[features]
debug = []
default = []
unstable = ["dep:crc32c"]
use-crc-fast = ["dep:crc-fast"]
use-syscalls = ["dep:syscalls"]

[lib]
name = "libbtrfs"
path = "src/lib.rs"

[[test]]
name = "search"
path = "tests/search.rs"

[[test]]
name = "subvol"
path = "tests/subvol.rs"

[dependencies.bitflags]
version = "2"

[dependencies.crc-fast]
version = "1"
optional = true

[dependencies.crc32c]
version = "0.6"
optional = true

[dependencies.libc]
version = "0.2.149"

[dependencies.syscalls]
version = "0.8"
optional = true

[dependencies.uuid]
version = "1"

[dev-dependencies.tempfile]
version = "3"

[lints.rust]
missing_docs = "warn"
unsafe_op_in_unsafe_fn = "allow"