llmosafe 0.5.2

Safety-critical cognitive safety library for AI agents. 4-tier architecture (Resource Body, Kernel, Working Memory, Sifter) with formal verification primitives, detection layer, and integration primitives.
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 = "2021"
rust-version = "1.75"
name = "llmosafe"
version = "0.5.2"
build = "build.rs"
exclude = [
    ".github/",
    ".sniper/",
    "target/",
    "tests/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Safety-critical cognitive safety library for AI agents. 4-tier architecture (Resource Body, Kernel, Working Memory, Sifter) with formal verification primitives, detection layer, and integration primitives."
homepage = "https://github.com/moeshawky/llmosafe"
documentation = "https://docs.rs/llmosafe"
readme = "README.md"
keywords = [
    "safety",
    "ai-agent",
    "entropy",
    "detection",
    "guardrails",
]
categories = [
    "development-tools",
    "algorithms",
    "embedded",
    "no-std",
]
license = "MIT"
repository = "https://github.com/moeshawky/llmosafe"

[features]
default = ["std"]
ffi = ["std"]
full = [
    "std",
    "serde",
    "ffi",
]
serde = ["dep:serde"]
std = [
    "libc",
    "dep:windows-sys",
]

[lib]
name = "llmosafe"
crate-type = [
    "rlib",
    "cdylib",
]
path = "src/lib.rs"

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

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

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

[dependencies.libc]
version = "0.2"
optional = true

[dependencies.modular-bitfield]
version = "0.13.1"

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

[dev-dependencies.criterion]
version = "0.5"

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

[build-dependencies.cbindgen]
version = "0.29.2"

[target."cfg(windows)".dependencies.windows-sys]
version = "0.52"
features = [
    "Win32_System_ProcessStatus",
    "Win32_Foundation",
]
optional = true

[profile.dev]
panic = "abort"

[profile.release]
panic = "abort"