succession 0.1.0

Orderly succession for single-instance helper processes: an advisory lock plus an identity record binds a helper to one run of its owner, so one orphaned by a restart can be recognized and asked to leave.
# 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.89"
name = "succession"
version = "0.1.0"
authors = ["AprilNEA <dev@aprilnea.me>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Orderly succession for single-instance helper processes: an advisory lock plus an identity record binds a helper to one run of its owner, so one orphaned by a restart can be recognized and asked to leave."
readme = "README.md"
keywords = [
    "single-instance",
    "process",
    "lock",
    "orphan",
    "supervisor",
]
categories = [
    "os",
    "filesystem",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/AprilNEA/succession"

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

[features]
default = []
eviction = ["sysinfo"]
serde = ["dep:serde"]
supervision = []
sysinfo = ["dep:sysinfo"]

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

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

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

[dependencies.sysinfo]
version = "0.38"
features = ["system"]
optional = true
default-features = false

[lints.clippy]
expect_used = "warn"
unwrap_used = "warn"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "deny"
unsafe_code = "forbid"