# 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.91"
name = "brainwires-system"
version = "0.8.1"
authors = ["Brainwires"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Generic OS-level primitives — filesystem event watching and system service management"
homepage = "https://github.com/Brainwires/brainwires-framework"
documentation = "https://docs.rs/brainwires-system"
readme = "README.md"
keywords = [
    "filesystem",
    "watcher",
    "systemd",
    "docker",
    "process",
]
categories = [
    "os",
    "filesystem",
    "asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Brainwires/brainwires-framework"
resolver = "2"

[features]
default = []
full = [
    "reactor",
    "services",
]
reactor = ["dep:notify"]
services = []

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

[[example]]
name = "fs_reactor"
path = "examples/fs_reactor.rs"
required-features = ["reactor"]

[[example]]
name = "service_manager"
path = "examples/service_manager.rs"
required-features = ["services"]

[dependencies.anyhow]
version = "1"

[dependencies.notify]
version = "7"
optional = true

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

[dependencies.tokio]
version = "1.43"
features = ["full"]

[dependencies.tracing]
version = "0.1"
