Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
79 lines (76 loc) · 1.56 KB
/
Copy pathCargo.toml
File metadata and controls
79 lines (76 loc) · 1.56 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
# Cargo.toml
[workspace]
resolver = "2"
members = [
"compiler/common",
"compiler/syntax",
"compiler/ast",
"compiler/errors",
"compiler/lexer",
"compiler/parser",
"compiler/semantic",
"compiler/module_resolver",
"compiler/ir",
"compiler/optimizer",
"compiler/bytecode",
"compiler/llvm_backend",
"runtime/interpreter",
"runtime/runtime",
"runtime/builtins",
"runtime/gc",
"runtime/vm",
"stdlib",
"cli",
"tools/lsp",
"tools/formatter",
"tools/linter",
"tools/package-manager",
"tools/packager",
"runtime/native_runtime",
"runtime/android_runtime",
]
default-members = [
"compiler/common",
"compiler/syntax",
"compiler/ast",
"compiler/errors",
"compiler/lexer",
"compiler/parser",
"compiler/semantic",
"compiler/module_resolver",
"compiler/ir",
"compiler/optimizer",
"compiler/bytecode",
"compiler/llvm_backend",
"runtime/interpreter",
"runtime/runtime",
"runtime/builtins",
"runtime/gc",
"runtime/vm",
"stdlib",
"cli",
"tools/lsp",
"tools/formatter",
"tools/linter",
"tools/package-manager",
"tools/packager",
"runtime/native_runtime",
]
[workspace.dependencies]
logos = "0.16"
clap = { version = "4", features = ["derive"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
anyhow = "1"
thiserror = "2"
tower-lsp = "0.20"
rustyline = "18"
colored = "3"
toml = "1.1"
indexmap = "2"
clap_complete = "4"
[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1
strip = true