# 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 = "2024"
name = "aiapi"
version = "0.2.13"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "aiapi"
homepage = "https://github.com/i18n-site/rust/tree/dev/aiapi"
readme = "README.md"
keywords = []
license = "MulanPSL-2.0"
repository = "https://github.com/i18n-site/rust.git"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = []
from_yml = ["dep:saphyr"]

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

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

[dependencies.rand]
version = "0.9.2"
features = ["thread_rng"]

[dependencies.reqwest]
version = "0.12.23"

[dependencies.saphyr]
version = "0.0.6"
optional = true

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

[dependencies.sonic-rs]
version = "0.5.3"

[dependencies.strum]
version = "0.27.2"
features = ["derive"]

[dependencies.strum_macros]
version = "0.27.2"

[dependencies.thiserror]
version = "2.0.14"

[dependencies.tokio]
version = "1.47.1"
features = ["sync"]

[dependencies.tracing]
version = "0.1.41"

[dev-dependencies.aok]
version = "0.1.17"

[dev-dependencies.dirs]
version = "6.0.0"

[dev-dependencies.loginit]
version = "0.1.18"

[dev-dependencies.static_init]
version = "1.0.4"

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

[dev-dependencies.xerr]
version = "0.1.15"
