- Bump mxlink (>=1.11.0 -> >=1.12.0): pulls in fixes for time and bytes CVEs - Bump async-openai (0.32.3 -> 0.32.4) - Bump tempfile (3.24.* -> 3.25.*) - Run cargo update to bump transitive dependencies, notably: - time (0.3.46 -> 0.3.47): fix stack exhaustion DoS
46 lines
1.7 KiB
TOML
46 lines
1.7 KiB
TOML
[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"]
|
|
version = "1.14.0"
|
|
edition = "2024"
|
|
|
|
[lib]
|
|
name = "baibot"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies]
|
|
anthropic = { git = "https://github.com/etkecc/anthropic-rs.git", branch = "fix-content-block-image" }
|
|
anyhow = "1.0.*"
|
|
async-openai = { version = "0.32.4", features = ["audio", "chat-completion", "image", "responses"] }
|
|
base64 = "0.22.*"
|
|
chrono = { version = "0.4.*", default-features = false, features = ["std", "now"] }
|
|
# We'd rather not depend on this, but we cannot use the ruma-events EventContent macro without it.
|
|
# We add the `native-tls` feature, because of https://github.com/etkecc/rust-mxlink/issues/1
|
|
matrix-sdk = { version = "0.16.0", default-features = false, features = ["native-tls"] }
|
|
mime_guess = "2.0.*"
|
|
mxidwc = "1.0.*"
|
|
mxlink = ">=1.12.0"
|
|
etke_openai_api_rust = "0.1.*"
|
|
quick_cache = "0.6.*"
|
|
regex = "1.12.*"
|
|
serde = { version = "1.0.*", features = ["derive"], default-features = false }
|
|
serde_json = "1.0.*"
|
|
serde_yaml = "0.9.*"
|
|
tempfile = "3.25.*"
|
|
tiktoken-rs = { version = "0.9.*", default-features = false }
|
|
tokio = { version = "1.49.*", features = ["rt", "rt-multi-thread", "macros"] }
|
|
tracing = "0.1.*"
|
|
tracing-subscriber = { version = "0.3.*", features = ["env-filter"] }
|
|
url = "2.5.*"
|
|
|
|
[profile.release]
|
|
strip = true
|
|
opt-level = "z"
|
|
lto = "thin"
|