[package]
edition = "2021"
name = "imsg-proc"
version = "0.4.0"
authors = ["Ethan <git@gnu.foo>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Self-respawn: detach the current binary as a background child, argv/log-redirect mechanics shared by every daemon-spawning call site"
readme = "README.md"
license = "MIT"
repository = "https://github.com/gnufood/imsg"
[lib]
name = "imsg_proc"
path = "src/lib.rs"
[dependencies.anyhow]
version = "1.0.102"
[dependencies.tokio]
version = "1.52.3"
features = [
"process",
"fs",
]
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1.52.3"
features = [
"rt-multi-thread",
"macros",
]
[lints.clippy]
arithmetic_side_effects = "deny"
as_conversions = "deny"
expect_used = "deny"
indexing_slicing = "deny"
missing_errors_doc = "deny"
missing_panics_doc = "deny"
panic = "deny"
todo = "deny"
unimplemented = "deny"
unwrap_used = "deny"
[lints.clippy.nursery]
level = "deny"
priority = -1
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.rust]
dead_code = "deny"
missing_docs = "deny"
unreachable_pub = "deny"
unsafe_code = "forbid"
unused_imports = "deny"
unused_must_use = "deny"
unused_mut = "deny"