botserver/Cargo.toml

137 lines
3.7 KiB
TOML
Raw Normal View History

2025-10-06 10:30:17 -03:00
[package]
2025-10-06 14:55:04 -03:00
name = "botserver"
2025-11-21 23:26:43 -03:00
version = "6.1.0"
2025-10-06 10:30:17 -03:00
edition = "2021"
authors = [
2025-11-20 13:28:35 -03:00
"Pragmatismo.com.br ",
"General Bots Community ",
"Alan Perdomo",
"Ana Paula Gil",
"Arenas.io",
"Atylla L",
"Christopher de Castilho",
"Dario Junior",
"David Lerner",
"Experimentation Garage",
"Flavio Andrade",
"Heraldo Almeida",
"Joao Parana",
"Jonathas C",
"J Ramos",
"Lucas Picanco",
"Marcos Velasco",
"Matheus 39x",
"Oerlabs Henrique",
"Othon Lima",
"PH Nascimento",
"Phpussente",
"Robson Dantas",
"Rodrigo Rodriguez ",
"Sarah Lourenco",
"Thi Patriota",
"Webgus",
"Zuilho Se",
]
description = "General Bots Server - Open-source bot platform by Pragmatismo.com.br"
2025-10-06 10:30:17 -03:00
license = "AGPL-3.0"
repository = "https://github.com/GeneralBots/BotServer"
2025-10-06 10:30:17 -03:00
[features]
default = ["desktop"]
2025-10-11 12:29:03 -03:00
vectordb = ["qdrant-client"]
2025-10-07 10:53:09 -03:00
email = ["imap"]
desktop = ["dep:tauri", "dep:tauri-plugin-dialog", "dep:tauri-plugin-opener"]
2025-10-06 10:30:17 -03:00
[dependencies]
2025-10-28 14:53:45 -03:00
aes-gcm = "0.10"
2025-10-06 10:30:17 -03:00
anyhow = "1.0"
2025-10-28 14:53:45 -03:00
argon2 = "0.5"
async-lock = "2.8.0"
2025-10-06 10:30:17 -03:00
async-stream = "0.3"
async-trait = "0.1"
aws-config = "1.8.8"
aws-sdk-s3 = { version = "1.109.0", features = ["behavior-version-latest"] }
2025-11-20 13:28:35 -03:00
axum = { version = "0.8.7", features = ["ws", "multipart", "macros"] }
2025-10-06 10:30:17 -03:00
base64 = "0.22"
bytes = "1.8"
chrono = { version = "0.4", features = ["serde"] }
color-eyre = "0.6.5"
cron = "0.15.0"
crossterm = "0.29.0"
2025-10-28 14:53:45 -03:00
csv = "1.3"
diesel = { version = "2.1", features = ["postgres", "uuid", "chrono", "serde_json", "r2d2"] }
diesel_migrations = "2.1.0"
2025-10-11 12:29:03 -03:00
dotenvy = "0.15"
2025-10-06 10:30:17 -03:00
downloader = "0.2"
env_logger = "0.11"
futures = "0.3"
futures-util = "0.3"
hmac = "0.12.1"
2025-11-20 13:28:35 -03:00
hyper = { version = "1.8.1", features = ["full"] }
2025-10-28 14:53:45 -03:00
imap = { version = "3.0.0-alpha.15", optional = true }
include_dir = "0.7"
indicatif = "0.18.0"
2025-10-06 10:30:17 -03:00
lettre = { version = "0.11", features = ["smtp-transport", "builder", "tokio1", "tokio1-native-tls"] }
2025-11-21 23:23:53 -03:00
lazy_static = "1.4"
2025-10-06 10:30:17 -03:00
livekit = "0.7"
log = "0.4"
2025-11-21 23:23:53 -03:00
mime_guess = "2.0"
2025-10-06 10:30:17 -03:00
mailparse = "0.15"
mockito = "1.7.0"
2025-10-06 10:30:17 -03:00
native-tls = "0.2"
num-format = "0.4"
once_cell = "1.18.0"
2025-10-28 14:53:45 -03:00
pdf-extract = "0.10.0"
2025-10-11 12:29:03 -03:00
qdrant-client = { version = "1.12", optional = true }
r2d2 = "0.8.10"
2025-10-28 14:53:45 -03:00
rand = "0.9.2"
ratatui = "0.29.0"
2025-10-06 10:30:17 -03:00
redis = { version = "0.27", features = ["tokio-comp"] }
regex = "1.11"
2025-11-21 23:23:53 -03:00
reqwest = { version = "0.12", features = ["json", "stream", "multipart"] }
2025-10-28 14:53:45 -03:00
rhai = { git = "https://github.com/therealprof/rhai.git", branch = "features/use-web-time" }
scopeguard = "1.2.0"
2025-10-06 10:30:17 -03:00
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
2025-10-28 14:53:45 -03:00
sha2 = "0.10.9"
2025-11-21 23:23:53 -03:00
hex = "0.4"
2025-10-06 10:30:17 -03:00
smartstring = "1.0"
sysinfo = "0.37.2"
tauri = { version = "2", features = ["unstable"], optional = true }
tauri-plugin-dialog = { version = "2", optional = true }
tauri-plugin-opener = { version = "2", optional = true }
2025-10-06 10:30:17 -03:00
tempfile = "3"
2025-10-28 14:53:45 -03:00
time = "0.3.44"
2025-10-06 10:30:17 -03:00
tokio = { version = "1.41", features = ["full"] }
tokio-stream = "0.1"
2025-11-20 13:28:35 -03:00
tower = "0.5"
tower-http = { version = "0.6", features = ["cors", "fs", "trace"] }
2025-10-06 10:30:17 -03:00
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["fmt"] }
2025-10-28 14:53:45 -03:00
ureq = "3.1.2"
2025-10-06 10:30:17 -03:00
urlencoding = "2.1"
uuid = { version = "1.11", features = ["serde", "v4"] }
zip = "2.2"
[build-dependencies]
tauri-build = { version = "2", features = [] }
2025-11-21 23:23:53 -03:00
# Enterprise-grade linting configuration for production-ready code
[lints.rust]
unused_imports = "warn" # Keep import hygiene visible
unused_variables = "warn" # Catch actual bugs
unused_mut = "warn" # Maintain code quality
[lints.clippy]
all = "warn" # Enable all clippy lints as warnings
pedantic = "warn" # Pedantic lints for code quality
nursery = "warn" # Experimental lints
cargo = "warn" # Cargo-specific lints
[profile.release]
lto = true
opt-level = "z"
strip = true
panic = "abort"
codegen-units = 1