openmoat-core 0.9.0

Policy model and decision engine for OpenMoat. Pure: no I/O, no OS calls.
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.95"
name = "openmoat-core"
version = "0.9.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Policy model and decision engine for OpenMoat. Pure: no I/O, no OS calls."
homepage = "https://github.com/crocodile-labs/openmoat"
readme = "README.md"
keywords = [
    "ai-agents",
    "security",
    "policy",
    "mcp",
    "guardrails",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/crocodile-labs/openmoat"
resolver = "2"

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

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

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

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

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

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

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

[dependencies.globset]
version = "0.4"

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

[dependencies.serde-saphyr]
version = "1.3"
features = [
    "deserialize",
    "serialize",
]
default-features = false

[dependencies.thiserror]
version = "2"

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

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

[lints.clippy]
allow_attributes = "warn"
allow_attributes_without_reason = "warn"
cognitive_complexity = "warn"
dbg_macro = "warn"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
todo = "warn"
unimplemented = "warn"

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

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

[lints.rust]
missing_debug_implementations = "warn"
unsafe_code = "forbid"