[package]
name = "microloop"
version = "0.2.0"
edition = "2024"
license = "Apache-2.0"
description = "Ultra-fast runtime safety layer for autonomous agents — detects agent tool call loops before they burn API credits"
repository = "https://github.com/Devaretanmay/microloop"
homepage = "https://github.com/Devaretanmay/microloop"
readme = "README.md"
keywords = ["agent", "llm", "guardrail", "safety", "loop-detection"]
categories = ["development-tools::debugging", "web-programming"]
include = ["src/**/*", "build.rs", "cbindgen.toml", "Cargo.toml", "LICENSE", "README.md"]
[workspace]
members = ["crates/microloop-proxy", "crates/microloop-semantic", "python/microloop-python", "crates/microloop-wasm"]
[lib]
crate-type = ["cdylib", "staticlib", "rlib"]
[dependencies]
regex = { version = "1.12.4", default-features = false }
serde = { version = "1.0.228", features = ["derive", "alloc"] }
serde_json = { version = "1.0.150", default-features = false, features = ["alloc"] }
serde_yaml = "0.9.34"
[[bin]]
name = "microloop-bench"
path = "src/bin/microloop-bench/main.rs"
[build-dependencies]
cbindgen = "0.29.4"
[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"
strip = true