botlib/Cargo.toml
Rodrigo Rodriguez (Pragmatismo) 3d07d7f989 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

47 lines
1.3 KiB
TOML

[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"
keywords = ["bot", "chatbot", "ai", "conversational", "library"]
categories = ["api-bindings", "web-programming"]
[features]
default = []
full = ["database", "http-client", "validation", "resilience", "i18n"]
database = ["dep:diesel"]
http-client = ["dep:reqwest"]
validation = ["dep:validator"]
resilience = []
i18n = []
[dependencies]
# Core
anyhow = "1.0"
thiserror = "2.0"
log = "0.4"
env_logger = "0.11"
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"
tokio = { version = "1.41", features = ["sync", "time"] }
# 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"] }
[lints]
workspace = true