# 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 = "engo-ai"
version = "0.1.0"
authors = ["Valery Melou <me@valerymelou.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "AI provider abstractions for the Engo i18n CLI (Anthropic today; OpenAI and Engo Cloud on the roadmap)."
homepage = "https://github.com/valerymelou/engo"
readme = "README.md"
keywords = [
    "i18n",
    "translation",
    "anthropic",
    "llm",
    "l10n",
]
categories = [
    "internationalization",
    "api-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/valerymelou/engo"

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

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

[dependencies.anyhow]
version = "1"

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

[dependencies.engo-core]
version = "0.1.0"

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

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

[dependencies.serde_json]
version = "1"
features = ["preserve_order"]

[dependencies.thiserror]
version = "1"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "fs",
    "sync",
    "time",
]

[dependencies.tracing]
version = "0.1"

[dev-dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "fs",
    "sync",
    "time",
    "macros",
    "rt",
    "rt-multi-thread",
    "test-util",
]

[dev-dependencies.wiremock]
version = "0.6"
