[package]
name = "aiapi"
version = "0.2.13"
edition = "2024"
license = "MulanPSL-2.0"
repository = "https://github.com/i18n-site/rust.git"
homepage = "https://github.com/i18n-site/rust/tree/dev/aiapi"
description = "aiapi"
keywords = []

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

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

[dependencies]
sonic-rs = "0.5.3"
strum = { version = "0.27.2", features = ["derive"] }
strum_macros = "0.27.2"
thiserror = "2.0.14"
tracing = "0.1.41"

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

[dependencies.reqwest]
version = "0.12.23"

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

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

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

[dev-dependencies]
aok = "0.1.17"
dirs = "6.0.0"
loginit = "0.1.18"
static_init = "1.0.4"


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

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