-
Notifications
You must be signed in to change notification settings - Fork 34
/
Cargo.toml
139 lines (130 loc) · 4.37 KB
/
Cargo.toml
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
131
132
133
134
135
136
137
138
139
[workspace.package]
version = "0.1.0"
edition = "2021"
authors = ["Lapdev <[email protected]>"]
license = "AGPL-3.0"
description = "Self-Hosted Remote Dev Environment"
[package]
name = "lapdev"
version.workspace = true
authors.workspace = true
edition.workspace = true
license.workspace = true
description.workspace = true
[[bin]]
name = "lapdev-ws"
path = "lapdev-ws/src/main.rs"
[[bin]]
name = "lapdev-guest-agent"
path = "lapdev-guest-agent/src/main.rs"
[[bin]]
name = "lapdev-db"
path = "lapdev-db/src/main.rs"
[dependencies]
tokio.workspace = true
lapdev-api.workspace = true
anyhow.workspace = true
tracing.workspace = true
tracing-appender.workspace = true
tracing-subscriber.workspace = true
sea-orm-migration.workspace = true
lapdev-db.workspace = true
lapdev-ws.workspace = true
lapdev-guest-agent.workspace = true
[workspace]
members = [
"lapdev-api",
"lapdev-conductor",
"lapdev-ws",
"lapdev-rpc",
"lapdev-dashboard",
"lapdev-db",
"lapdev-common",
"lapdev-enterprise",
"lapdev-proxy-ssh",
"lapdev-proxy-http",
"lapdev-guest-agent",
]
[workspace.dependencies]
rust_decimal = "1.36.0"
toml = "0.8.11"
clap = { version = "4.5.2", features = ["derive"] }
tempfile = "3.8.1"
zstd = "0.13.0"
tar = "0.4.40"
git2 = { version = "0.18.2", features = ["vendored-libgit2", "vendored-openssl"] }
anyhow = "1.0.66"
thiserror = "1.0.58"
async-trait = "0.1.74"
serde = "1.0.190"
pasetors = "0.6.8"
futures = "0.3"
futures-util = "0.3"
serde_yaml = "0.9.30"
serde_json = "1.0.111"
json5 = "0.4.1"
itertools = "0.12.0"
base64 = "0.22.0"
oauth2 = "4.2.3"
include_dir = "0.7.3"
reqwest = {version = "0.11.26", default-features = false, features = ["rustls", "stream", "json"] }
async-compression = { version = "0.4.6", features = ["tokio", "zstd"] }
docker-compose-types = "0.7.0"
tracing = "0.1.40"
tracing-appender = "0.2.3"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
chrono = { version = "0.4.31", features = ["serde"] }
tower = { version = "0.4", features = ["util"] }
tower-http = { version = "0.5.2", features = ["fs", "trace"] }
tokio-tungstenite = "0.21.0"
data-encoding = "2.4.0"
sha2 = "0.10.8"
rand = "0.8.5"
strum = "0.26.1"
strum_macros = "0.26.1"
procfs = "0.17.0"
base16ct = { version = "0.2.0", features = ["alloc"] }
axum = { version = "0.7.4", features = ["ws"] }
axum-extra = { version = "0.9.2", features = ["typed-header"] }
axum-client-ip = "0.5.0"
bytes = "1.5.0"
hyper = { version = "1.2.0", features = ["server", "client", "http1", "http2"] }
hyper-util = { version = "0.1.2", features = ["tokio", "client-legacy", "server", "server-auto"] }
http-body-util = "0.1.1"
tarpc = { version = "0.34.0", features = ["full"] }
rustls-webpki = "0.102.2"
rustls-pemfile = "2.1.0"
tokio-rustls = "0.25.0"
tokio-util = "0.7.10"
tokio = { version = "1.36.0", features = ["full"] }
sqlx = { version = "0.7.3", default-features = false, features = ["sqlx-postgres"] }
sea-orm = { version = "0.12.12", features = [ "sqlx-postgres", "sqlx-sqlite", "runtime-tokio-rustls", "macros" ] }
sea-orm-migration = { version = "0.12.6", features = [ "sqlx-postgres", "runtime-tokio-rustls" ] }
uuid = { version = "1.6.1", features = ["v4", "serde"] }
russh = {version = "0.46.0", features = ["vendored-openssl"] }
lapdev-api = { path = "./lapdev-api" }
lapdev-ws = { path = "./lapdev-ws" }
lapdev-db = { path = "./lapdev-db" }
lapdev-rpc = { path = "./lapdev-rpc" }
lapdev-conductor = { path = "./lapdev-conductor" }
lapdev-proxy-ssh = { path = "./lapdev-proxy-ssh" }
lapdev-proxy-http = { path = "./lapdev-proxy-http" }
lapdev-common = { path = "./lapdev-common" }
lapdev-enterprise = { path = "./lapdev-enterprise" }
lapdev-guest-agent = { path = "./lapdev-guest-agent" }
[package.metadata.deb]
depends = "$auto, passwd"
maintainer-scripts = "pkg/deb/"
systemd-units = { unit-name = "lapdev", enable = false }
assets = [
["target/release/lapdev", "/usr/bin/lapdev", "755"],
["pkg/common/lapdev.service.preset", "/lib/systemd/system-preset/50-lapdev.preset", "644"],
]
[package.metadata.generate-rpm]
post_install_script = "pkg/rpm/lapdev.postinst"
post_uninstall_script = "pkg/rpm/lapdev.postuninst"
assets = [
{ source = "target/release/lapdev", dest = "/usr/bin/lapdev", mode = "755" },
{ source = "pkg/deb/lapdev.service", dest = "/lib/systemd/system/lapdev.service", mode = "644" },
{ source = "pkg/common/lapdev.service.preset", dest = "/lib/systemd/system-preset/50-lapdev.preset", mode = "644" },
]