# 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"
rust-version = "1.85"
name = "onlyne"
version = "0.2.2"
authors = ["dbydd <1992003927@qq.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Workspace-local IM channel daemon and broker for local agents"
homepage = "https://github.com/dbydd/onlyne"
readme = "README.md"
keywords = [
    "im",
    "messaging",
    "daemon",
    "ipc",
    "agents",
]
categories = [
    "command-line-utilities",
    "network-programming",
    "asynchronous",
]
license = "MIT"
repository = "https://github.com/dbydd/onlyne"

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

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

[[example]]
name = "broadcast"
path = "examples/broadcast.rs"

[[example]]
name = "feishu"
path = "examples/feishu.rs"

[[example]]
name = "multi_channel"
path = "examples/multi_channel.rs"

[[example]]
name = "multicast"
path = "examples/multicast.rs"

[[example]]
name = "qqbot"
path = "examples/qqbot.rs"

[[example]]
name = "rich_media"
path = "examples/rich_media.rs"

[[example]]
name = "telegram"
path = "examples/telegram.rs"

[[example]]
name = "wechat"
path = "examples/wechat.rs"

[dependencies.anyhow]
version = "1"

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

[dependencies.base64]
version = "0.22"

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

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

[dependencies.clap_complete]
version = "4"

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

[dependencies.openlark]
version = "0.17.0"
features = ["websocket"]
default-features = false

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

[dependencies.qrcode]
version = "0.14"
default-features = false

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

[dependencies.resvg]
version = "0.45"
features = [
    "text",
    "system-fonts",
]
default-features = false

[dependencies.rusqlite]
version = "0.32"
features = [
    "bundled",
    "chrono",
    "serde_json",
]

[dependencies.rustls]
version = "0.23"
features = ["ring"]
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.teloxide]
version = "0.17.0"
features = ["rustls"]
default-features = false

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

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

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-appender]
version = "0.2"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.unicode-display-width]
version = "0.2"

[dependencies.url]
version = "2"

[dependencies.wechat-ilink]
version = "0.5.0"

[dev-dependencies.tempfile]
version = "3"
