-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
79 lines (66 loc) · 1.78 KB
/
Cargo.toml
File metadata and controls
79 lines (66 loc) · 1.78 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
[workspace]
resolver = "2"
members = [
"crates/govrix-ai-oss-common",
"crates/govrix-ai-oss-store",
"crates/govrix-ai-oss-proxy",
"crates/govrix-ai-oss-cli",
"crates/govrix-ai-oss-reports",
]
[workspace.package]
version = "0.1.0"
edition = "2021"
license = "Apache-2.0"
authors = ["Govrix AI OSS Contributors"]
repository = "https://github.com/Govrix-AI/govrixaioss"
rust-version = "1.75"
[workspace.dependencies]
# Async runtime
tokio = { version = "1", features = ["full"] }
# HTTP / networking
hyper = { version = "1.6", features = ["full"] }
hyper-util = { version = "0.1", features = ["tokio", "server", "server-auto"] }
http-body-util = "0.1"
axum = "0.8"
tower = { version = "0.5", features = ["util"] }
tower-http = { version = "0.6", features = ["cors", "trace"] }
reqwest = { version = "0.12", features = ["json", "stream", "rustls-tls"], default-features = false }
bytes = "1"
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
toml = "0.8"
# IDs and time
uuid = { version = "1", features = ["v7", "serde"] }
chrono = { version = "0.4", features = ["serde"] }
# Database
sqlx = { version = "0.8", features = [
"runtime-tokio-rustls",
"postgres",
"uuid",
"chrono",
"json",
"rust_decimal",
] }
# CLI
clap = { version = "4", features = ["derive", "env"] }
comfy-table = "7"
# Hashing (for lineage chain)
sha2 = "0.10"
hex = "0.4"
# Error handling
thiserror = "2"
anyhow = "1"
# Observability
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Templating
minijinja = "2"
# Internal crates
govrix-ai-oss-common = { path = "crates/govrix-ai-oss-common" }
govrix-ai-oss-store = { path = "crates/govrix-ai-oss-store" }
[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1
strip = true