kunobi-daemon 0.10.1

Process ownership, request draining, and verified upgrades for local daemons
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.89"
name = "kunobi-daemon"
version = "0.10.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Process ownership, request draining, and verified upgrades for local daemons"
readme = "README.md"
keywords = [
    "daemon",
    "ipc",
    "lifecycle",
    "protobuf",
]
categories = [
    "os",
    "asynchronous",
]
license = "Apache-2.0"
repository = "https://github.com/kunobi-ninja/kunobi-daemon"

[package.metadata.docs.rs]
all-features = true

[features]
async = [
    "dep:tokio",
    "tokio/macros",
]
default = ["async"]
launch = ["local"]
local = [
    "dep:interprocess",
    "dep:socket2",
    "dep:widestring",
    "tokio?/net",
    "tokio?/signal",
]
local-async = [
    "local",
    "async",
    "interprocess/tokio",
]
wire = ["dep:buffa"]
wire-async = [
    "wire",
    "async",
    "tokio/io-util",
]

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

[[example]]
name = "application_messages"
path = "examples/application_messages.rs"
required-features = ["wire"]

[[example]]
name = "blocking_health"
path = "examples/blocking_health.rs"
required-features = [
    "wire",
    "local",
]

[[example]]
name = "ipc_bench"
path = "examples/ipc_bench.rs"
required-features = [
    "wire-async",
    "launch",
]

[[example]]
name = "lifecycle_server"
path = "examples/lifecycle_server.rs"
required-features = [
    "wire-async",
    "local-async",
]

[[example]]
name = "managed_daemon"
path = "examples/managed_daemon.rs"
required-features = [
    "wire",
    "local",
]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.buffa]
version = "=0.9.2"
features = ["std"]
optional = true
default-features = false

[dependencies.tokio]
version = "1"
features = [
    "sync",
    "time",
    "rt",
]
optional = true

[dev-dependencies.proptest]
version = "1.11.0"
features = ["std"]
default-features = false

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "test-util",
    "net",
    "io-util",
]

[target."cfg(loom)".dependencies.loom]
version = "0.7"

[target."cfg(unix)".dependencies.libc]
version = "0.2"

[target."cfg(unix)".dependencies.socket2]
version = "0.6"
optional = true

[target."cfg(windows)".dependencies.interprocess]
version = "2.4.3"
optional = true
default-features = false

[target."cfg(windows)".dependencies.widestring]
version = "1.2"
optional = true

[lints.clippy]
disallowed_methods = "deny"
undocumented_unsafe_blocks = "deny"

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

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(kani)",
    "cfg(loom)",
]