2025-12-03 19:45:09 -03:00
|
|
|
[package]
|
|
|
|
|
name = "botlib"
|
|
|
|
|
version = "6.1.0"
|
|
|
|
|
edition = "2021"
|
|
|
|
|
description = "Shared library for General Bots - common types, utilities, and HTTP client"
|
|
|
|
|
license = "AGPL-3.0"
|
|
|
|
|
authors = ["Pragmatismo.com.br", "General Bots Community"]
|
|
|
|
|
repository = "https://github.com/GeneralBots/BotServer"
|
2025-12-21 23:40:41 -03:00
|
|
|
keywords = ["bot", "chatbot", "ai", "conversational", "library"]
|
|
|
|
|
categories = ["api-bindings", "web-programming"]
|
2025-12-03 19:45:09 -03:00
|
|
|
|
|
|
|
|
[features]
|
|
|
|
|
default = []
|
2026-01-08 13:16:05 -03:00
|
|
|
full = ["database", "http-client", "validation", "resilience", "i18n"]
|
2025-12-03 19:45:09 -03:00
|
|
|
database = ["dep:diesel"]
|
|
|
|
|
http-client = ["dep:reqwest"]
|
|
|
|
|
validation = ["dep:validator"]
|
2025-12-28 11:50:48 -03:00
|
|
|
resilience = []
|
2026-01-08 13:16:05 -03:00
|
|
|
i18n = []
|
2025-12-03 19:45:09 -03:00
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
|
# Core
|
|
|
|
|
anyhow = "1.0"
|
|
|
|
|
thiserror = "2.0"
|
|
|
|
|
log = "0.4"
|
Add CRM, Billing, Products, Tickets, Forms i18n translations to .ftl files
- Add nav entries for crm, billing, products, tickets, forms (en, pt-BR, es)
- Add full CRM section: entities, actions, fields, pipeline stages
- Add full Billing section: invoices, payments, quotes, status, reports
- Add full Products section: catalog, services, price lists, inventory
- Add full Tickets section: cases, priorities, status, AI features
- Add full Forms section: templates, field types, actions
2026-01-10 06:59:48 -03:00
|
|
|
env_logger = "0.11"
|
2025-12-03 19:45:09 -03:00
|
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
|
|
|
serde_json = "1.0"
|
|
|
|
|
uuid = { version = "1.11", features = ["serde", "v4"] }
|
|
|
|
|
toml = "0.8"
|
2025-12-28 11:50:48 -03:00
|
|
|
tokio = { version = "1.41", features = ["sync", "time"] }
|
2025-12-03 19:45:09 -03:00
|
|
|
|
|
|
|
|
# Optional: Database
|
|
|
|
|
diesel = { version = "2.1", features = ["postgres", "uuid", "chrono", "serde_json", "r2d2"], optional = true }
|
|
|
|
|
|
|
|
|
|
# Optional: HTTP Client
|
|
|
|
|
reqwest = { version = "0.12", features = ["json"], optional = true }
|
|
|
|
|
|
|
|
|
|
# Optional: Validation
|
|
|
|
|
validator = { version = "0.18", features = ["derive"], optional = true }
|
|
|
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
|
tokio = { version = "1.41", features = ["rt", "macros"] }
|
2025-12-21 23:40:41 -03:00
|
|
|
|
2025-12-23 15:52:20 -03:00
|
|
|
[lints]
|
|
|
|
|
workspace = true
|