-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy pathCargo.toml
More file actions
76 lines (60 loc) · 1.65 KB
/
Copy pathCargo.toml
File metadata and controls
76 lines (60 loc) · 1.65 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
[package]
name = "cortex-app-server"
version.workspace = true
edition.workspace = true
license.workspace = true
description = "HTTP API server for Cortex - provides REST and WebSocket APIs"
[lib]
name = "cortex_app_server"
path = "src/lib.rs"
[[bin]]
name = "cortex-server"
path = "src/main.rs"
[lints]
workspace = true
[dependencies]
# Internal
cortex-engine = { path = "../cortex-engine" }
cortex-protocol = { path = "../cortex-protocol" }
cortex-common = { path = "../cortex-common" }
# Web framework
axum = { workspace = true }
tower-http = { workspace = true }
# Async
tokio = { workspace = true, features = ["rt", "rt-multi-thread", "macros", "sync", "fs", "net", "process", "time"] }
tokio-stream = { workspace = true }
futures = { workspace = true }
async-stream = { workspace = true }
async-channel = { workspace = true }
# Serialization
serde = { workspace = true }
serde_json = { workspace = true }
serde_yaml = "0.9"
# HTTP client
reqwest = { workspace = true }
# Error handling
anyhow = { workspace = true }
thiserror = { workspace = true }
# Logging
tracing = { workspace = true }
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
# CLI
clap = { workspace = true }
# Utilities
uuid = { workspace = true }
chrono = { workspace = true }
base64 = { workspace = true }
dirs = "5"
fs2 = "0.4" # File locking for concurrent access
# Authentication
jsonwebtoken = "9"
# File watching
notify = "6"
notify-debouncer-mini = "0.4"
# mDNS/Bonjour service discovery
mdns-sd = "0.11"
if-addrs = "0.13"
gethostname = "0.5"
[dev-dependencies]
tokio-test = { workspace = true }
tower = { version = "0.5", default-features = false, features = ["util"] }