[package]
edition = "2024"
rust-version = "1.95.0"
name = "puncture"
version = "0.1.0"
authors = ["Orbán Levente"]
build = false
exclude = [
"tests/*",
"perf_bin/*",
"*.code-workspace",
".git*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A small gzip utility program, intentionally kept simple"
readme = "README.md"
keywords = [
"decompression",
"tool",
"gzip",
"mini",
"educational",
]
categories = ["encoding"]
license = "Apache-2.0 OR MIT"
repository = "https://www.github.com/levyry/puncture"
[lib]
name = "puncture"
path = "src/lib.rs"
[[bin]]
name = "puncture"
path = "src/main.rs"
[dependencies.clap]
version = "4"
features = [
"std",
"help",
"usage",
"error-context",
]
default-features = false
[dependencies.crc32fast]
version = "1.5"
[lints.clippy]
cast_possible_truncation = "allow"
exit = "deny"
expect_used = "warn"
if_then_some_else_none = "deny"
implicit_clone = "deny"
inline_always = "allow"
missing_panics_doc = "allow"
panic = "deny"
panic_in_result_fn = "deny"
str_to_string = "deny"
string_slice = "deny"
todo = "warn"
try_err = "deny"
unchecked_time_subtraction = "deny"
undocumented_unsafe_blocks = "deny"
unimplemented = "deny"
unreachable = "warn"
unusual_byte_groupings = "allow"
unwrap_used = "deny"
[lints.clippy.cargo]
level = "deny"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[profile.profiling]
debug = 2
inherits = "release"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"