[package]
edition = "2024"
rust-version = "1.85"
name = "helpers4"
version = "0.0.2"
authors = ["baxyz <craft@baxyz.dev>"]
build = false
include = [
"/src/**",
"/benches/**",
"/Cargo.toml",
"/LICENSE",
"/README.md",
"/SECURITY.md",
"/CHANGELOG.md",
"/llms.txt",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "General-purpose Rust helpers, one crate, one feature per module (string, array, ...)"
homepage = "https://helpers4.dev"
readme = "README.md"
keywords = [
"helpers",
"utilities",
"string",
]
categories = ["algorithms"]
license = "LGPL-3.0-or-later"
repository = "https://github.com/helpers4/rust"
[features]
array = []
cache = []
default = [
"array",
"cache",
"env",
"hex",
"http",
"net",
"string",
"time",
]
env = []
hex = []
http = []
net = []
string = []
time = []
[lib]
name = "helpers4"
path = "src/lib.rs"
[[bench]]
name = "array"
path = "benches/array.rs"
harness = false
required-features = ["array"]
[[bench]]
name = "cache"
path = "benches/cache.rs"
harness = false
required-features = ["cache"]
[[bench]]
name = "hex"
path = "benches/hex.rs"
harness = false
required-features = ["hex"]
[[bench]]
name = "net"
path = "benches/net.rs"
harness = false
required-features = ["net"]
[[bench]]
name = "string"
path = "benches/string.rs"
harness = false
required-features = ["string"]
[dev-dependencies.criterion]
version = "0.7"
default-features = false
[dev-dependencies.proptest]
version = "1"
[lints.clippy]
dbg_macro = "deny"
expect_used = "deny"
panic = "deny"
print_stderr = "deny"
print_stdout = "deny"
todo = "deny"
unimplemented = "deny"
unwrap_used = "deny"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"
[profile.release]
lto = "thin"
codegen-units = 1