# 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 = "kovi-plugin-oai"
version = "0.1.19"
authors = ["Nawyjx <3373167460@qq.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Kovi 的 OpenAI 兼容 API 聊天插件，支持多智能体管理与符号指令系统。"
readme = "README.md"
keywords = [
    "kovi",
    "kovi-plugin",
    "openai",
    "chatgpt",
    "ai-chat",
]
categories = [
    "web-programming::http-client",
    "asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/araea/kovi-plugin-oai"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

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

[dependencies.anyhow]
version = "1.0"

[dependencies.async-openai]
version = "0.30"

[dependencies.base64]
version = "0.22"

[dependencies.cdp-html-shot]
version = "0.2"

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

[dependencies.kovi]
version = ">= 0.12"

[dependencies.kovi-plugin-expand-napcat]
version = "0.4"

[dependencies.pulldown-cmark]
version = "0.13"

[dependencies.rand]
version = "0.9"

[dependencies.regex]
version = "1"

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

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

[dependencies.serde_json]
version = "1.0"

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