Files
baibot-withmcp/Cargo.toml

49 lines
2.0 KiB
TOML
Raw Normal View History

2024-09-12 13:44:06 +03:00
[package]
name = "baibot"
description = "A Matrix bot for using diffent capabilities (text-generation, text-to-speech, speech-to-text, image-generation, etc.) of AI / Large Language Models"
authors = ["Slavi Pantaleev <slavi@devture.com>"]
repository = "https://github.com/etkecc/baibot"
license = "AGPL-3.0-or-later"
readme = "README.md"
keywords = ["matrix", "chat", "bot", "AI", "LLM"]
include = ["/etc/assets/baibot-torso-768.png", "/src", "/README.md", "/CHANGELOG.md", "/LICENSE"]
2026-06-21 01:40:36 +01:00
version = "1.22.0"
2025-02-26 16:49:07 +02:00
edition = "2024"
2024-09-12 13:44:06 +03:00
[lib]
name = "baibot"
path = "src/lib.rs"
[dependencies]
anthropic = { git = "https://github.com/etkecc/anthropic-rs.git", branch = "fix-content-block-image" }
2024-09-12 13:44:06 +03:00
anyhow = "1.0.*"
async-openai = { version = "0.41.0", features = ["audio", "chat-completion", "image", "responses"] }
2024-09-12 13:44:06 +03:00
base64 = "0.22.*"
chrono = { version = "0.4.*", default-features = false, features = ["std", "now"] }
2024-09-12 13:44:06 +03:00
# We'd rather not depend on this, but we cannot use the ruma-events EventContent macro without it.
matrix-sdk = { version = "0.18.0", default-features = false }
mime_guess = "2.0.*"
2024-09-12 13:44:06 +03:00
mxidwc = "1.0.*"
mxlink = ">=1.15.0"
etke_openai_api_rust = "0.1.*"
2024-09-12 13:44:06 +03:00
quick_cache = "0.6.*"
2025-11-20 05:49:15 +02:00
regex = "1.12.*"
2026-06-21 01:40:36 +01:00
# Direct dep for the native `venice` provider's HTTP client. Pinned to 0.12 (the version
# async-openai 0.41 already resolves) with rustls only and default-features off, so we ride
# the existing reqwest+rustls copy instead of pulling a second TLS stack (native-tls/openssl).
reqwest = { version = "0.12.*", default-features = false, features = ["json", "multipart", "rustls-tls"] }
2024-09-12 13:44:06 +03:00
serde = { version = "1.0.*", features = ["derive"], default-features = false }
serde_json = "1.0.*"
serde_yaml_ng = "0.10.*"
2026-03-11 03:34:50 +00:00
tempfile = "3.27.*"
tiktoken-rs = { version = "0.12.*", default-features = false }
2026-04-14 20:57:20 +00:00
tokio = { version = "1.52.*", features = ["rt", "rt-multi-thread", "macros"] }
2024-09-12 13:44:06 +03:00
tracing = "0.1.*"
tracing-subscriber = { version = "0.3.*", features = ["env-filter"] }
url = "2.5.*"
[profile.release]
strip = true
opt-level = "z"
lto = "thin"