llmosafe 0.4.2

Runtime guardrails for systems processing untrusted data. 4-tier architecture (Resource Body, Kernel, Working Memory, Sifter) with entropy tracking, surprise gating, and bias detection.
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.4.2"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Runtime guardrails for systems processing untrusted data. 4-tier architecture (Resource Body, Kernel, Working Memory, Sifter) with entropy tracking, surprise gating, and bias detection."
documentation = "https://docs.rs/llmosafe"
readme = "README.md"
keywords = [
    "safety",
    "runtime",
    "entropy",
    "guardrails",
    "embedded",
]
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"

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

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

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

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

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

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

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

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

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

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

[[test]]
name = "typestate_pipeline"
path = "tests/typestate_pipeline.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