lambutter 0.3.0

no_std read-only btrfs reader for UEFI bootloaders and embedded contexts
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 = "2021"
rust-version = "1.85"
name = "lambutter"
version = "0.3.0"
authors = [
    "Greg Lamberson <greg@lamco.io>",
    "Lamco Development LLC <office@lamco.io>",
]
build = false
include = [
    "src/**/*.rs",
    "LICENSE-APACHE",
    "LICENSE-MIT",
    "README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "no_std read-only btrfs reader for UEFI bootloaders and embedded contexts"
homepage = "https://lamco.ai/products/lamboot/"
documentation = "https://docs.rs/lambutter"
readme = "README.md"
keywords = [
    "btrfs",
    "filesystem",
    "no_std",
    "uefi",
    "bootloader",
]
categories = [
    "filesystem",
    "embedded",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/lamco-admin/lambutter"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[badges.maintenance]
status = "actively-developed"

[features]
default = ["zstd"]
lzo = ["dep:lzokay"]
std = []
zlib = ["dep:miniz_oxide"]
zstd = ["dep:ruzstd"]

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

[dependencies.bitflags]
version = "2.6"
default-features = false

[dependencies.crc]
version = "3.2"
default-features = false

[dependencies.lzokay]
version = "2.0"
features = [
    "decompress",
    "alloc",
]
optional = true
default-features = false

[dependencies.miniz_oxide]
version = "0.8"
features = ["with-alloc"]
optional = true
default-features = false

[dependencies.ruzstd]
version = "0.7"
optional = true
default-features = false

[dev-dependencies.anyhow]
version = "1"

[dev-dependencies.serde]
version = "1"
features = ["derive"]

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.sha2]
version = "0.10"

[dev-dependencies.zstd]
version = "0.13"

[lints.clippy]
allow_attributes = "deny"
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
doc_markdown = "allow"
elidable_lifetime_names = "allow"
expect_used = "warn"
large_enum_variant = "allow"
large_futures = "warn"
manual_let_else = "allow"
missing_errors_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
result_large_err = "allow"
similar_names = "allow"
unreadable_literal = "allow"
unwrap_used = "warn"
wildcard_imports = "deny"

[lints.clippy.pedantic]
level = "deny"
priority = -1

[lints.rust]
elided_lifetimes_in_paths = "warn"
unreachable_pub = "warn"
unsafe_code = "deny"
unsafe_op_in_unsafe_fn = "deny"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(fuzzing)"]