hushspec 0.1.1

Portable specification types for AI agent security rules
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"
name = "hushspec"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Portable specification types for AI agent security rules"
readme = "README.md"
keywords = [
    "ai",
    "security",
    "policy",
    "agent",
    "hushspec",
]
categories = [
    "config",
    "parser-implementations",
]
license = "Apache-2.0"
repository = "https://github.com/backbay-labs/hush"
resolver = "2"

[features]
default = ["std"]
http = [
    "dep:reqwest",
    "dep:url",
]
signing = [
    "dep:ed25519-dalek",
    "dep:base64",
    "dep:rand",
]
std = []

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

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

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

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

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

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

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

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

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

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

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

[dependencies.base64]
version = "0.22"
optional = true

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

[dependencies.chrono-tz]
version = "0.10"

[dependencies.ed25519-dalek]
version = "2"
features = ["rand_core"]
optional = true

[dependencies.rand]
version = "0.8"
optional = true

[dependencies.regex]
version = "1"

[dependencies.reqwest]
version = "0.12"
features = [
    "blocking",
    "rustls-tls",
]
optional = true

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

[dependencies.url]
version = "2"
optional = true

[dependencies.uuid]
version = "1"
features = ["v4"]

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