# 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.92"
name = "sigil-agent-hooks-core"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust client for Sigil pre-tool authorization"
readme = false
license = "MIT"
resolver = "2"

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

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

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

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

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls-native-roots",
]
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "net",
    "rt-multi-thread",
    "time",
]

[dev-dependencies.axum]
version = "0.8"
