guardrail-core 0.3.0

Core types, pipeline, and stage trait for guardrail-rs
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.88"
name = "guardrail-core"
version = "0.3.0"
authors = ["Mattral <mattralminn@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core types, pipeline, and stage trait for guardrail-rs"
homepage = "https://github.com/Mattral/guardrail-rs"
readme = "README.md"
keywords = [
    "llm",
    "security",
    "proxy",
    "guardrail",
    "prompt-injection",
]
categories = [
    "web-programming",
    "network-programming",
    "science",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/Mattral/guardrail-rs"

[features]
default = []
reqwest-errors = ["reqwest"]

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

[dependencies.async-trait]
version = "0.1"

[dependencies.regex]
version = "1"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "stream",
    "rustls-tls",
]
optional = true
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1"
features = [
    "serde",
    "v4",
]

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

[dev-dependencies.tokio]
version = "1"
features = ["full"]

[dev-dependencies.tokio-test]
version = "0.4"