# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2024" name = "fork" version = "0.6.0" authors = ["Nicolas Embriz "] build = false autolib = false autobins = false autoexamples = false autotests = false autobenches = false description = "Library for creating a new process detached from the controlling terminal (daemon)" homepage = "https://docs.rs/fork/latest/fork/" documentation = "https://docs.rs/fork/latest/fork/" readme = "README.md" keywords = [ "fork", "setsid", "daemon", "process", "daemonize", ] categories = [ "os::unix-apis", "api-bindings", ] license = "BSD-3-Clause" repository = "https://github.com/immortal/fork" [lib] name = "fork" path = "src/lib.rs" [[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" [[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" [dependencies.libc] version = "0.2" [dev-dependencies.os_pipe] version = "1.2" [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"