| 1 |
[package] |
| 2 |
name = "fork" |
| 3 |
version = "0.6.0" |
| 4 |
authors = ["Nicolas Embriz <[email protected]>"] |
| 5 |
description = "Library for creating a new process detached from the controlling terminal (daemon)" |
| 6 |
documentation = "https://docs.rs/fork/latest/fork/" |
| 7 |
homepage = "https://docs.rs/fork/latest/fork/" |
| 8 |
repository = "https://github.com/immortal/fork" |
| 9 |
readme = "README.md" |
| 10 |
keywords = ["fork", "setsid", "daemon", "process", "daemonize"] |
| 11 |
categories = ["os::unix-apis", "api-bindings"] |
| 12 |
license = "BSD-3-Clause" |
| 13 |
edition = "2024" |
| 14 |
|
| 15 |
[lints.rust] |
| 16 |
warnings = "deny" |
| 17 |
|
| 18 |
[lints.clippy] |
| 19 |
# Allow unstable/opinionated lints (lower priority so individual lints can override) |
| 20 |
nursery = { level = "allow", priority = -1 } |
| 21 |
|
| 22 |
# Enforce pedantic lints |
| 23 |
pedantic = "deny" |
| 24 |
|
| 25 |
# Core lint groups |
| 26 |
all = "deny" |
| 27 |
correctness = "deny" |
| 28 |
suspicious = "deny" |
| 29 |
perf = "deny" |
| 30 |
complexity = "deny" |
| 31 |
|
| 32 |
# Safety-critical lints |
| 33 |
unwrap_used = "deny" |
| 34 |
expect_used = "deny" |
| 35 |
panic = "deny" |
| 36 |
indexing_slicing = "deny" |
| 37 |
await_holding_lock = "deny" |
| 38 |
|
| 39 |
# Performance + memory reliability |
| 40 |
needless_borrow = "deny" |
| 41 |
needless_collect = "deny" |
| 42 |
large_stack_arrays = "deny" |
| 43 |
|
| 44 |
[dependencies] |
| 45 |
libc = "0.2" |
| 46 |
|
| 47 |
[dev-dependencies] |
| 48 |
os_pipe = "1.2" |