-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
64 lines (54 loc) · 1.11 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
[workspace]
resolver = "2"
members = [
"frontend",
"backend",
"judger",
# "testsuit",
"backend/migration",
"grpc",
"judger/plugins/rlua-54",
"tools",
]
[workspace.dependencies]
tikv-jemallocator = "0.5"
prost = "0.12.3"
prost-types = "0.12.3"
toml = "0.7.4"
derive_builder = "0.12.0"
serde = "1.0.163"
tokio = "1.34.0"
tracing = "0.1.40"
tracing-subscriber = "0.3.17"
tonic-web = "0.11.0"
prost-wkt = "0.5"
prost-wkt-types = "0.5"
prost-wkt-build = "0.5"
[workspace.dependencies.tonic-build]
version = "0.11.0"
default-features = false
[workspace.dependencies.chrono]
version = "0.4.26"
[workspace.dependencies.tonic]
version = "0.11.0"
default-features = false
[workspace.dependencies.sea-orm]
version = "1.0.0"
default-features = false
[workspace.dependencies.sea-orm-migration]
version = "1.0.0"
default-features = false
[profile.wasm-release]
inherits = "release"
opt-level = 'z'
lto = true
codegen-units = 1
panic = "abort"
[profile.release]
panic = 'abort'
lto = true
[profile.release.package.frontend]
opt-level = "s"
[profile.release.package.rlua-54]
strip = "symbols"
opt-level = "s"