# 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 = "nanobot"
version = "0.2.10"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust port of nanobot, a lightweight personal AI assistant with tools and multi-channel gateway support."
homepage = "https://github.com/citizenll/nanobot-rs"
documentation = "https://docs.rs/nanobot"
readme = "README.en.md"
keywords = [
    "ai",
    "assistant",
    "agent",
    "llm",
    "chatbot",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/citizenll/nanobot-rs"

[features]
default = []
dingtalk-stream = ["dep:dingtalk-stream-sdk-rust"]
feishu-websocket = ["dep:open-lark"]
qq-botrs = ["dep:botrs"]

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

[[bin]]
name = "nanobot"
path = "src/main.rs"

[dependencies.anyhow]
version = "1.0"

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

[dependencies.base64]
version = "0.22"

[dependencies.botrs]
version = "0.2.5"
optional = true

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

[dependencies.clap]
version = "4.5"
features = ["derive"]

[dependencies.cron]
version = "0.15"

[dependencies.dingtalk-stream-sdk-rust]
version = "0.1.0"
optional = true

[dependencies.dirs]
version = "6.0"

[dependencies.futures-util]
version = "0.3"

[dependencies.html-escape]
version = "0.2"

[dependencies.imap]
version = "3.0.0-alpha.15"

[dependencies.lettre]
version = "0.11.19"

[dependencies.litellm-rs]
version = "0.3.1"

[dependencies.mailparse]
version = "0.16.1"

[dependencies.mime_guess]
version = "2.0"

[dependencies.open-lark]
version = "0.14.0"
features = [
    "im",
    "websocket",
]
optional = true
default-features = false

[dependencies.regex]
version = "1.11"

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

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

[dependencies.serde_json]
version = "1.0"

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

[dependencies.tokio-tungstenite]
version = "0.24"
features = ["rustls-tls-webpki-roots"]

[dependencies.url]
version = "2.5"

[dependencies.uuid]
version = "1.11"
features = ["v4"]

[dependencies.which]
version = "7.0"
