-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
102 lines (95 loc) · 2.46 KB
/
Copy pathCargo.toml
File metadata and controls
102 lines (95 loc) · 2.46 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
[package]
name = "bridge"
version = "0.1.0"
edition = "2024"
[[bin]]
name = "bridge"
path = "./src/main.rs"
[workspace]
members = ["utils"]
[features]
kubernetes = ["dep:kube", "dep:k8s-openapi", "dep:schemars", "dep:either"]
notebook = ["kubernetes"]
openwebui = ["kubernetes"]
lifecycle = ["notebook"]
observe = []
mcp = []
moleviewer = []
full = ["notebook", "lifecycle", "observe", "mcp", "openwebui"]
[dependencies]
# Async dep
tokio = {version = "1", features = ["full"]}
futures = "0.3"
tracing = "~0.1"
tracing-subscriber = "~0.3"
futures-util = "0.3.30"
tokio-stream = { version = "0.1.15", features = ["sync"] }
pin-project = "1"
# Other dep
time = { version = "0.3.36", features = ["serde"] }
parking_lot = "~0.12"
num-bigint = "~0.4"
# Web deps
actix-web = { version = "~4.13", features = ["rustls-0_23", "cookies"] }
actix-web-httpauth = "0.8"
actix-files = "0.6.6"
tera = { version = "1.20.0", features= ["builtins"] }
reqwest = { version = "0.13", features = ["stream", "json"] }
url = "2.5.0"
toml = "1.0.1"
urlencoding = "2.1.3"
actix-ws = "0.4.0"
tokio-tungstenite = { version = "0.29", features = ["url", "rustls-tls-native-roots"] }
# Auth deps
rust-argon2 = "~3.0"
sha2 = "~0.11.0"
jsonwebtoken = { version = "=10.3.0", features = ["use_pem", "rust_crypto"] }
openssl = "~0.10"
tokio-rustls = "0.26"
rustls = "0.23"
rustls-pemfile = "2.0"
rustls-pki-types = "1.0.1"
openidconnect = "4.0"
p256 = { version = "0.13.2", features = ["jwk"] }
# Serialization
serde = { version = "~1.0", features = ["derive"] }
serde_json = "~1.0"
serde_urlencoded = "0.7.1"
regex = "~1.12"
# Error handling
thiserror = "2"
# DB
mongodb = "=3.6"
redis = { version = "=1.2.0", features = ["tokio-comp", "num-bigint"] }
#macro
utils = { path = "utils" }
# Kubernetes
kube = { version = "~3.1", features = ["runtime", "derive"], optional = true }
k8s-openapi = { version = "0.27", features = ["latest"], optional = true }
schemars = { version = "1.0", optional = true }
either = { version = "1.13.0", optional = true }
# memory allocator
mimalloc = "~0.1"
# security
base64 = "~0.22.1"
rand = "~0.10"
uuid = { version = "~1.23", features = ["v4"] }
[dev-dependencies]
jsonwebkey = { version = "~0.4", features = ["jwt-convert"] }
[workspace.dependencies]
quote = "1.0"
syn = "2.0"
[profile.dev]
opt-level = 0
debug = 2
overflow-checks = true
incremental = true
lto = false
panic = "unwind"
[profile.release]
opt-level = 3
overflow-checks = false
debug-assertions = false
incremental = true
lto = true
panic = "abort"