# 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 = "dome-policy"
version = "0.5.0"
authors = ["Orel Ohayon <orel@orellius.ai>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "TOML policy engine and authorization decisions for Thunder Dome"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/Orellius/thunder-dome"
resolver = "2"

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

[dependencies.arc-swap]
version = "1"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.dome-core]
version = "0.5.0"

[dependencies.glob-match]
version = "0.2"

[dependencies.notify]
version = "8"
features = ["macos_fsevent"]
default-features = false

[dependencies.regex]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

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

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

[dev-dependencies.serde_json]
version = "1"

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

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "rt",
    "macros",
    "time",
    "fs",
]
