# 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 = "2021"
name = "spacedb-access"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SpaceDB Layer 5 — identity & access: signed, scoped, expiring, revocable capabilities (ECDSA P-256 / ES256) that gate every read/write/compute. Inaccessible by default, accessible by mID-gated consent. The DID directory is a seam MATA implements over IAMHUMAN. Phase 1 SpaceDB Mission, M5."
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/Remade-With-Rust/spacedb"

[lib]
name = "spacedb_access"
crate-type = ["rlib"]
path = "src/lib.rs"

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

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

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

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

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

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

[dependencies.blake3]
version = "1"

[dependencies.getrandom]
version = "0.3"

[dependencies.p256]
version = "0.13"
features = [
    "ecdsa",
    "std",
]
default-features = false

[dependencies.postcard]
version = "1"
features = ["use-std"]

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

[dependencies.thiserror]
version = "1"
