[package]
edition = "2021"
rust-version = "1.71"
name = "lamfat"
version = "0.4.2"
authors = [
"Rafał Harabień <rafalh92@outlook.com>",
"Greg Lamberson <greg@lamco.io>",
"Lamco Development LLC <office@lamco.io>",
]
build = false
include = [
"src/**/*.rs",
"examples/**/*.rs",
"README.md",
"PROVENANCE.md",
"NOTICE",
"CHANGELOG.md",
"LICENSE-MIT",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "no_std read/write FAT12/16/32 filesystem library (republish of fatfs)"
homepage = "https://lamco.ai/products/lamboot/"
documentation = "https://docs.rs/lamfat"
readme = "README.md"
keywords = [
"fat",
"filesystem",
"no_std",
"uefi",
"bootloader",
]
categories = [
"filesystem",
"no-std",
]
license = "MIT"
repository = "https://github.com/lamco-admin/lamfat"
[package.metadata.docs.rs]
all-features = true
targets = ["x86_64-unknown-linux-gnu"]
rustdoc-args = [
"--cfg",
"docsrs",
]
[badges.maintenance]
status = "actively-developed"
[features]
alloc = []
default = [
"std",
"alloc",
"lfn",
"unicode",
"log_level_trace",
]
lfn = []
log_level_debug = ["log_level_info"]
log_level_error = []
log_level_info = ["log_level_warn"]
log_level_trace = ["log_level_debug"]
log_level_warn = ["log_level_error"]
std = []
unicode = []
[lib]
name = "lamfat"
path = "src/lib.rs"
[[example]]
name = "cat"
path = "examples/cat.rs"
[[example]]
name = "ls"
path = "examples/ls.rs"
required-features = ["chrono"]
[[example]]
name = "mkfatfs"
path = "examples/mkfatfs.rs"
[[example]]
name = "write"
path = "examples/write.rs"
[dependencies.bitflags]
version = "2"
default-features = false
[dependencies.chrono]
version = "0.4"
features = ["clock"]
optional = true
default-features = false
[dependencies.log]
version = "0.4"
default-features = false
[dev-dependencies.env_logger]
version = "0.11"
[dev-dependencies.tempfile]
version = "3.24.0"
[lints.clippy]
bool_to_int_with_if = "allow"
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
checked_conversions = "allow"
doc_markdown = "allow"
expect_used = "allow"
explicit_iter_loop = "allow"
if_not_else = "allow"
items_after_statements = "allow"
manual_let_else = "allow"
match_same_arms = "allow"
match_wildcard_for_single_variants = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_borrows_for_generic_args = "allow"
needless_pass_by_value = "allow"
ptr_as_ptr = "allow"
question_mark = "allow"
redundant_closure = "allow"
redundant_closure_for_method_calls = "allow"
redundant_else = "allow"
return_self_not_must_use = "allow"
semicolon_if_nothing_returned = "allow"
should_panic_without_expect = "allow"
similar_names = "allow"
single_match_else = "allow"
struct_excessive_bools = "allow"
too_many_lines = "allow"
trivially_copy_pass_by_ref = "allow"
type_complexity = "allow"
uninlined_format_args = "allow"
unnecessary_semicolon = "allow"
unreadable_literal = "allow"
unused_self = "allow"
unwrap_used = "allow"
used_underscore_binding = "allow"
wildcard_imports = "allow"
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.rust]
mismatched_lifetime_syntaxes = "allow"
unsafe_op_in_unsafe_fn = "warn"