forkguard 0.1.2

if guard.detected_fork() { ... }
Documentation
# 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"
rust-version = "1.85"
name = "forkguard"
version = "0.1.2"
authors = ["LiosK <contact@mail.liosk.net>"]
build = false
exclude = ["/.github/"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "if guard.detected_fork() { ... }"
documentation = "https://docs.rs/forkguard"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/LiosK/forkguard-rs"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
atfork = ["dep:libc"]

[lib]
name = "forkguard"
path = "src/lib.rs"

[[test]]
name = "basic"
path = "tests/basic.rs"

[[test]]
name = "multiple_forks"
path = "tests/multiple_forks.rs"

[[test]]
name = "multiple_guards"
path = "tests/multiple_guards.rs"

[[test]]
name = "noop_guard"
path = "tests/noop_guard.rs"

[[bench]]
name = "overhead"
path = "benches/overhead.rs"

[dependencies.libc]
version = "0.2"
optional = true

[dev-dependencies.libc]
version = "0.2"