# 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"
rust-version = "1.88"
name = "cellos-core"
version = "0.7.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CellOS domain types and ports — typed authority, formation DAG, CloudEvent envelopes, RBAC primitives. No I/O."
homepage = "https://github.com/0ryant/CellOS"
documentation = "https://docs.rs/cellos-core"
readme = "README.md"
keywords = [
    "cellos",
    "authority",
    "cloudevents",
    "rbac",
    "sandboxing",
]
categories = [
    "api-bindings",
    "cryptography",
    "config",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/0ryant/CellOS"

[features]
default = []
tracing-layer = ["dep:tracing-subscriber"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.base64]
version = "0.22"

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

[dependencies.ed25519-dalek]
version = "2"
features = ["zeroize"]

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.11"

[dependencies.thiserror]
version = "2"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "fmt",
]
optional = true

[dependencies.url]
version = "2"

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

[dependencies.zeroize]
version = "1.8"
features = [
    "std",
    "alloc",
    "derive",
]

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

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

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

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "fmt",
]

[lints.clippy]
doc_lazy_continuation = "allow"
doc_overindented_list_items = "allow"
