[package]
edition = "2024"
rust-version = "1.86"
name = "padmet"
version = "0.1.0"
authors = ["Samuel Ortion <samuel@ortion.fr>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Read PADMet files"
homepage = "https://s.ortion.fr/dev/padmet-rs"
documentation = "https://s.ortion.fr/dev/padmet-rs"
readme = "README.md"
license-file = "LICENSE"
repository = "https://forge.ortion.fr/sortion/padmet-rs"
[features]
bench = []
default = []
profiling = [
"dep:peak_alloc",
"hotpath/hotpath",
"hotpath/hotpath-alloc",
]
[lib]
name = "padmet"
path = "src/lib.rs"
[[bin]]
name = "padmet"
path = "src/main.rs"
[[test]]
name = "functional"
path = "tests/functional.rs"
[[test]]
name = "help"
path = "tests/help.rs"
[dependencies.anyhow]
version = "1"
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.hotpath]
version = "0.10"
[dependencies.log]
version = "0.4"
[dependencies.peak_alloc]
version = "0.3"
optional = true
[dependencies.serde_yaml]
version = "0.9.34"
[dependencies.stderrlog]
version = "0.6"
[dependencies.thiserror]
version = "2"
[dev-dependencies.assert_cmd]
version = "2"
[dev-dependencies.criterion]
version = "0.8"
[dev-dependencies.tempfile]
version = "3"
[profile.bench]
lto = "thin"
codegen-units = 16
[profile.profiling]
debug = 2
inherits = "release"
[profile.release]
opt-level = 3
lto = "thin"
panic = "abort"
overflow-checks = false
incremental = false