-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
71 lines (59 loc) · 1.35 KB
/
Cargo.toml
File metadata and controls
71 lines (59 loc) · 1.35 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
[workspace]
resolver = "2"
members = [
"apps/*",
"services/*",
"packages/*",
"trainer",
]
exclude = [
"vendor/*",
"external/*",
"notebooks",
]
[workspace.package]
version = "0.1.0"
authors = ["FlexNetOS"]
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/FlexNetOS/star-mono"
[workspace.dependencies]
# Async runtime
tokio = { version = "1.41", features = ["full"] }
tokio-util = "0.7"
# Web framework
axum = "0.7"
tower = "0.5"
tower-http = { version = "0.6", features = ["cors", "trace", "compression"] }
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# Database
sqlx = { version = "0.8", features = ["runtime-tokio-rustls", "postgres", "sqlite"] }
rusqlite = { version = "0.32", features = ["bundled"] }
# ML/AI
candle-core = "0.8"
burn = "0.15"
ort = "2.0" # ONNX Runtime
# Observability
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
opentelemetry = "0.27"
opentelemetry-otlp = "0.27"
# Error handling
anyhow = "1.0"
thiserror = "2.0"
# Utils
uuid = { version = "1.11", features = ["v4", "serde"] }
chrono = { version = "0.4", features = ["serde"] }
once_cell = "1.20"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
[profile.dev]
opt-level = 0
debug = true
[profile.bench]
inherits = "release"