forked from ModelEarth/team
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
130 lines (101 loc) · 2.85 KB
/
Cargo.toml
File metadata and controls
130 lines (101 loc) · 2.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
[package]
name = "PartnerTools"
version = "0.3.0"
edition = "2021"
authors = ["Loren Heyns <your.email@example.com>"]
description = "Bolt AI Integration with Common SQL Rust REST API and Azure PostgreSQL"
license = "MIT"
repository = "https://github.com/modelearth/team"
keywords = ["crm", "ai", "postgresql"]
categories = ["command-line-utilities", "web-programming"]
[dependencies]
# Async Runtime
tokio = { version = "1.36", features = ["full"] }
# Web Framework
actix-web = { version = "4.5", optional = true }
actix-cors = { version = "0.7", optional = true }
actix-session = { version = "0.9", optional = true }
actix-web-actors = { version = "4.3", optional = true }
# Database - PostgreSQL
sqlx = { version = "0.7.4", features = ["runtime-tokio-rustls", "postgres", "uuid", "chrono", "json"] }
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
toml = "0.8"
# CLI
clap = { version = "4.5", features = ["derive", "color", "suggestions"] }
# Error Handling
anyhow = "1.0"
thiserror = "1.0"
# Logging
env_logger = "0.11"
log = "0.4"
# Configuration
dotenv = "0.15"
url = "2.5"
# UUID Generation
uuid = { version = "1.7", features = ["v4", "serde"] }
# Date/Time
chrono = { version = "0.4", features = ["serde"] }
# Gemini AI Client (when available)
# gemini_client_rust = "0.1"
# HTTP Client for Gemini API
reqwest = { version = "0.12", features = ["json", "rustls-tls"] }
# OAuth2 and Authentication
oauth2 = "4.4"
jsonwebtoken = "9.2"
serde_with = "3.0"
envsubst = "0.2"
urlencoding = "2.1"
# Additional CLI tools
dialoguer = "0.11"
colored = "2.1"
# Table Display
prettytable-rs = "0.10"
# Additional Configuration
dirs = "5.0"
# File System Watching
notify = "6.1"
# Excel Processing
calamine = "0.25"
mime_guess = "2.0"
# Google APIs (temporarily disabled due to version conflicts)
# google-apis-common = { version = "5.0.3", features = ["yup-oauth2"] }
# google-sheets4 = "5.0.3"
# hyper = { version = "0.14", features = ["client", "tcp", "http1", "http2"] }
# hyper-rustls = { version = "0.24", features = ["http1", "http2"] }
# Regex for parsing
regex = "1.10"
[dev-dependencies]
# Testing
mockito = "1.4"
tempfile = "3.10"
criterion = "0.5"
[profile.release]
# Optimize for size
opt-level = "z"
lto = true
codegen-units = 1
strip = true
[profile.dev]
# Faster compilation in development
opt-level = 0
debug = true
[[bin]]
name = "partner_tools"
path = "src/main.rs"
[[bin]]
name = "test_recommendations"
path = "src/test_recommendations.rs"
[features]
default = ["cli", "api"]
cli = []
api = ["actix-web", "actix-cors", "actix-session", "actix-web-actors"]
# Optional features (disabled until dependencies are added)
# telemetry = ["opentelemetry", "opentelemetry-jaeger"]
# metrics = ["prometheus"]
[build-dependencies]
# Add any build dependencies here if needed
[workspace]
# If you want to split into multiple crates later
members = ["."]