[dependencies.libc]
version = "0.2"
[dev-dependencies.os_pipe]
version = "1.2"
[[example]]
name = "demonstrate_fd_reuse_bug"
path = "examples/demonstrate_fd_reuse_bug.rs"
[[example]]
name = "example_daemon"
path = "examples/example_daemon.rs"
[[example]]
name = "example_pipe"
path = "examples/example_pipe.rs"
[[example]]
name = "example_touch_pid"
path = "examples/example_touch_pid.rs"
[[example]]
name = "show_fd_reuse"
path = "examples/show_fd_reuse.rs"
[[example]]
name = "supervisor"
path = "examples/supervisor.rs"
[[example]]
name = "supervisor_advanced"
path = "examples/supervisor_advanced.rs"
[[example]]
name = "visual_fd_demo"
path = "examples/visual_fd_demo.rs"
[lib]
name = "fork"
path = "src/lib.rs"
[lints.clippy]
all = "deny"
await_holding_lock = "deny"
complexity = "deny"
correctness = "deny"
expect_used = "deny"
indexing_slicing = "deny"
large_stack_arrays = "deny"
needless_borrow = "deny"
needless_collect = "deny"
panic = "deny"
pedantic = "deny"
perf = "deny"
suspicious = "deny"
unwrap_used = "deny"
[lints.clippy.nursery]
level = "allow"
priority = -1
[lints.rust]
warnings = "deny"
[package]
authors = ["Nicolas Embriz <nbari@tequila.io>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["os::unix-apis", "api-bindings"]
description = "Library for creating a new process detached from the controlling terminal (daemon)"
documentation = "https://docs.rs/fork/latest/fork/"
edition = "2024"
homepage = "https://docs.rs/fork/latest/fork/"
keywords = ["fork", "setsid", "daemon", "process", "daemonize"]
license = "BSD-3-Clause"
name = "fork"
readme = "README.md"
repository = "https://github.com/immortal/fork"
version = "0.6.0"
[[test]]
name = "chdir_tests"
path = "tests/chdir_tests.rs"
[[test]]
name = "daemon_tests"
path = "tests/daemon_tests.rs"
[[test]]
name = "error_handling_tests"
path = "tests/error_handling_tests.rs"
[[test]]
name = "fork_tests"
path = "tests/fork_tests.rs"
[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"
[[test]]
name = "pid_tests"
path = "tests/pid_tests.rs"
[[test]]
name = "status_macro_tests"
path = "tests/status_macro_tests.rs"
[[test]]
name = "stdio_redirect_tests"
path = "tests/stdio_redirect_tests.rs"
[[test]]
name = "waitpid_tests"
path = "tests/waitpid_tests.rs"