# 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.93"
name = "astrid-capabilities"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Capability token system for Astrid secure agent runtime"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/unicity-astrid/astrid"
resolver = "2"

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

[dependencies.astrid-core]
version = "0.1.0"

[dependencies.astrid-crypto]
version = "0.1.0"

[dependencies.astrid-storage]
version = "0.1.0"
features = ["kv"]

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

[dependencies.globset]
version = "0.4"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

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

[dependencies.uuid]
version = "1.0"
features = [
    "v4",
    "serde",
]

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

[dev-dependencies.tokio]
version = "1.43"
features = [
    "full",
    "rt-multi-thread",
    "macros",
]

[lints.clippy]
arithmetic_side_effects = "deny"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
unsafe_code = "deny"
