ferro-ai 0.2.49

AI structured classification and confirmation primitives for the Ferro framework
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"
name = "ferro-ai"
version = "0.2.49"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "AI structured classification and confirmation primitives for the Ferro framework"
readme = "README.md"
keywords = [
    "ai",
    "classification",
    "confirmation",
    "anthropic",
    "ferro",
]
categories = ["web-programming"]
license = "MIT"
repository = "https://github.com/albertogferrario/ferro"

[features]
pgvector = [
    "dep:pgvector",
    "dep:sqlx",
]
postgres-tests = ["pgvector"]

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

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

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

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

[dependencies.async-stream]
version = "0.3"

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

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.dashmap]
version = "6"

[dependencies.ferro-events]
version = "0.2"

[dependencies.ferro-projections]
version = "0.2"

[dependencies.futures]
version = "0.3"
features = ["std"]
default-features = false

[dependencies.pgvector]
version = "0.4"
features = ["sqlx"]
optional = true

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "stream",
]

[dependencies.reqwest-eventsource]
version = "0.6"
default-features = false

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

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

[dependencies.serde_json]
version = "1"

[dependencies.sqlx]
version = "0.8"
features = [
    "postgres",
    "runtime-tokio",
]
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "time",
    "rt",
]

[dependencies.tracing]
version = "0.1"

[dev-dependencies.ferro-json-ui]
version = "0.2"
features = ["projections"]

[dev-dependencies.jsonschema]
version = "0.46"
default-features = false

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