# 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 = "act-policy"
version = "0.10.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Capability policy decision core (PDP) for the ACT toolchain"
homepage = "https://actcore.dev"
readme = false
keywords = [
    "act",
    "capability",
    "policy",
    "wasm",
    "security",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/actcore/act-cli"

[features]
default = ["host"]
host = ["tokio"]

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

[dependencies.act-types]
version = "0.13"

[dependencies.async-trait]
version = "0.1"

[dependencies.cidr]
version = "0.3"

[dependencies.globset]
version = "0.4"

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

[dependencies.serde_json]
version = "1.0.150"

[dependencies.shellexpand]
version = "3"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1.52"
features = ["net"]
optional = true

[dependencies.tracing]
version = "0.1.44"

[dev-dependencies.tokio]
version = "1.52"
features = ["full"]
