[package]
edition = "2024"
name = "mint-core"
version = "1.3.1"
build = false
exclude = [
"flake.*",
".envrc",
".cursor/**",
".github/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core library for building hex files from data and layout definitions."
readme = "README.md"
keywords = [
"flash",
"hex",
"layout",
"excel",
"data",
]
categories = [
"embedded",
"encoding",
]
license = "MIT"
repository = "https://github.com/tomrford/mint"
[lib]
name = "mint_core"
path = "src/lib.rs"
[[test]]
name = "bitmap"
path = "tests/bitmap.rs"
[[test]]
name = "consts"
path = "tests/consts.rs"
[[test]]
name = "fixed_point"
path = "tests/fixed_point.rs"
[[test]]
name = "json"
path = "tests/json.rs"
[[test]]
name = "layout_rejections"
path = "tests/layout_rejections.rs"
[[test]]
name = "library_api"
path = "tests/library_api.rs"
[[test]]
name = "ref_pointer"
path = "tests/ref_pointer.rs"
[[test]]
name = "size_enforcement"
path = "tests/size_enforcement.rs"
[[test]]
name = "strict_conversions"
path = "tests/strict_conversions.rs"
[[test]]
name = "variant_stack"
path = "tests/variant_stack.rs"
[dependencies.bin_file]
version = "0.1.4"
[dependencies.calamine]
version = "0.34.0"
[dependencies.indexmap]
version = "2.10.0"
features = ["serde"]
[dependencies.rayon]
version = "1.11.0"
[dependencies.serde]
version = "1.0.219"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.142"
features = ["preserve_order"]
[dependencies.serde_yaml]
version = "0.9.34"
[dependencies.thiserror]
version = "2.0.12"
[dependencies.toml]
version = "1.1.2"
features = ["preserve_order"]
[lints.clippy]
assigning_clones = "warn"
clone_on_ref_ptr = "warn"
cloned_instead_of_copied = "warn"
dbg_macro = "warn"
expect_used = "warn"
implicit_clone = "warn"
inefficient_to_string = "warn"
map_clone = "warn"
panic = "warn"
print_stderr = "warn"
print_stdout = "warn"
redundant_clone = "warn"
str_to_string = "warn"
todo = "warn"
unimplemented = "warn"
unwrap_used = "warn"