strig 0.7.0

Extensible authorization engine: permission catalog, RBAC, ABAC and ReBAC in one decision, with governance and auditing of changes.
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"
rust-version = "1.88"
name = "strig"
version = "0.7.0"
authors = ["Hadson Ramalho"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Extensible authorization engine: permission catalog, RBAC, ABAC and ReBAC in one decision, with governance and auditing of changes."
homepage = "https://github.com/The-Hades-Organization/Strig"
readme = "README.md"
keywords = [
    "authorization",
    "rbac",
    "abac",
    "rebac",
    "permissions",
]
categories = ["authentication"]
license = "MIT"
repository = "https://github.com/The-Hades-Organization/Strig"

[features]
audit = ["dep:sha2"]
default = [
    "audit",
    "tz",
]
dsl = []
dsl-fs = ["dsl"]
exclusive = []
tz = [
    "dep:chrono-tz",
    "dep:chrono",
]

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

[[example]]
name = "audit_storage"
path = "examples/audit_storage.rs"
required-features = ["audit"]

[[example]]
name = "documents"
path = "examples/documents.rs"

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

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

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

[[test]]
name = "dsl"
path = "tests/dsl/main.rs"
required-features = ["dsl-fs"]

[[test]]
name = "dsl_blocks"
path = "tests/dsl_blocks.rs"
required-features = ["dsl"]

[[test]]
name = "dsl_fs"
path = "tests/dsl_fs.rs"
required-features = ["dsl-fs"]

[[test]]
name = "dsl_hardening"
path = "tests/dsl_hardening.rs"
required-features = ["dsl"]

[[test]]
name = "dsl_project"
path = "tests/dsl_project.rs"
required-features = ["dsl"]

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

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

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

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

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

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

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

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

[[test]]
name = "pending_audit"
path = "tests/pending_audit.rs"
required-features = ["audit"]

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

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

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

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

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

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

[[bench]]
name = "engine"
path = "benches/engine.rs"
harness = false
required-features = ["audit"]

[[bench]]
name = "listing"
path = "benches/listing.rs"
harness = false

[dependencies.chrono]
version = "0.4"
optional = true
default-features = false

[dependencies.chrono-tz]
version = "0.10"
optional = true
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.11"
optional = true

[dependencies.thiserror]
version = "2"

[dev-dependencies.criterion]
version = "0.5"
features = ["cargo_bench_support"]
default-features = false

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