lamlvm 0.1.1

read-only no_std LVM2 reader for UEFI bootloaders; maintained fork of rust-lvm2
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 = "lamlvm"
version = "0.1.1"
authors = [
    "Greg Lamberson <greg@lamco.io>",
    "Lamco Development LLC <office@lamco.io>",
]
build = false
include = [
    "src/**/*.rs",
    "examples/**/*.rs",
    "README.md",
    "PROVENANCE.md",
    "CHANGELOG.md",
    "LICENSE-MIT",
    "Cargo.toml.upstream",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "read-only no_std LVM2 reader for UEFI bootloaders; maintained fork of rust-lvm2"
homepage = "https://lamco.ai/products/lamboot/"
documentation = "https://docs.rs/lamlvm"
readme = "README.md"
keywords = [
    "lvm",
    "lvm2",
    "uefi",
    "bootloader",
    "no_std",
]
categories = [
    "filesystem",
    "no-std",
    "parsing",
]
license = "MIT"
repository = "https://github.com/lamco-admin/lamlvm"

[package.metadata.docs.rs]
features = ["std"]
targets = ["x86_64-unknown-linux-gnu"]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

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

[features]
__fuzzing = []
default = ["std"]
std = [
    "embedded-io/std",
    "nom/std",
    "serde/std",
    "snafu/std",
    "tracing/std",
]

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

[[example]]
name = "walk_ext4_on_lv"
path = "examples/walk_ext4_on_lv.rs"

[dependencies.embedded-io]
version = "0.6"
features = ["alloc"]
default-features = false

[dependencies.nom]
version = "7.1"
features = ["alloc"]
default-features = false

[dependencies.serde]
version = "1.0"
features = [
    "derive",
    "alloc",
]
default-features = false

[dependencies.snafu]
version = "0.7"
default-features = false

[dependencies.tracing]
version = "0.1"
default-features = false

[dev-dependencies.embedded-io-adapters]
version = "0.6"
features = ["std"]

[dev-dependencies.ext4-view]
version = "=0.9.3"

[dev-dependencies.tracing-subscriber]
version = "0.3"

[lints.clippy]
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
doc_markdown = "allow"
expect_used = "warn"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "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"