[package]
edition = "2021"
rust-version = "1.87"
name = "lamzfs"
version = "0.1.1"
authors = [
"Greg Lamberson <greg@lamco.io>",
"Lamco Development LLC <office@lamco.io>",
]
build = false
include = [
"src/**/*.rs",
"README.md",
"NOTICE",
"CHANGELOG.md",
"LICENSE-APACHE",
"LICENSE-MIT",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "no_std read-only ZFS reader for UEFI bootloaders (single/mirror/raidz1, unencrypted bpool)"
homepage = "https://lamco.ai/products/lamboot/"
documentation = "https://docs.rs/lamzfs"
readme = "README.md"
keywords = [
"zfs",
"filesystem",
"no_std",
"uefi",
"bootloader",
]
categories = [
"filesystem",
"embedded",
"no-std",
]
license = "MIT"
repository = "https://github.com/lamco-admin/lamzfs"
[package.metadata.docs.rs]
all-features = true
targets = ["x86_64-unknown-linux-gnu"]
rustdoc-args = [
"--cfg",
"docsrs",
]
[badges.maintenance]
status = "actively-developed"
[features]
default = [
"lz4",
"zstd",
"gzip",
"lzjb",
"mirror",
]
gzip = ["dep:miniz_oxide"]
lz4 = ["dep:lz4_flex"]
lzjb = []
mirror = []
std = []
zstd = ["dep:ruzstd"]
[lib]
name = "lamzfs"
path = "src/lib.rs"
doctest = false
[dependencies.lz4_flex]
version = "0.13"
features = ["safe-decode"]
optional = true
default-features = false
[dependencies.miniz_oxide]
version = "0.8"
features = ["with-alloc"]
optional = true
default-features = false
[dependencies.ruzstd]
version = "0.8"
optional = true
default-features = false
[dev-dependencies.ruzstd]
version = "0.8"
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.sha2]
version = "0.10"
[lints.clippy]
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_sign_loss = "allow"
doc_markdown = "allow"
match_same_arms = "allow"
missing_errors_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
similar_names = "allow"
unreadable_literal = "allow"
wildcard_imports = "deny"
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.rust]
elided_lifetimes_in_paths = "warn"
unreachable_pub = "warn"
unsafe_op_in_unsafe_fn = "deny"