Rust port of the guard-core detection engine. The workspace ships two published crates:
guard-core-engine(4.1.0): the detection engine entry point used by the framework adapters.guard-core-rs(4.1.0): the facade crate re-exporting the engine stages (compiler,preprocessor,semantic,detect,detection_exclusions) and hosting the pipeline-side modules (tower,events,geo,cloud_provider,responses, and more).
Production port of the Python engine, tracked against guard-core 4.1.x with a conformance corpus (spec 4.1.0, 184 detect cases, zero xfail). Used by the Rust adapters: tower-guard-rs, axum-guard-rs, actix-guard-rs, and rocket-guard-rs.
Docs: https://rennf93.github.io/guard-core-rs/
cargo add guard-core-engineNote on registry resolution: the 4.1.0 dists of guard-core-engine and guard-core-rs are currently yanked on crates.io, so a plain registry install resolves 4.0.4. The 4.1.0 line is restored at the synchronized 4.2.0 train; until then the adapters and CI compile the engine from the sibling checkouts via path dependencies.
- Python reference: https://github.com/rennf93/guard-core
- TypeScript port: https://github.com/rennf93/guard-core-ts
- Adapters: tower, axum, actix-web, rocket
- Telemetry: guard-agent-rs
- Cloud platform: https://app.guard-core.com
Dual-licensed under either of:
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
at your option.