-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
129 lines (112 loc) · 3.65 KB
/
Copy pathCargo.toml
File metadata and controls
129 lines (112 loc) · 3.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
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
[workspace]
resolver = "2"
members = [
"projects/aspen",
"projects/vb6parse",
"projects/vb6convert",
"projects/vb6semantic",
"projects/vb6runtime",
"projects/vb6core",
"projects/vb6interpret",
"projects/vb6compile",
"projects/vb6codegen",
"projects/vb6libraries",
"projects/vb6format",
"projects/vb6grammarfuzz",
"projects/vb6harness",
#"projects/vb6lsp",
#"projects/vscode-vb6"
]
[workspace.package]
edition = "2024"
license = "MIT"
repository = "https://github.com/scriptandcompile/vb6"
authors = ["ScriptAndCompile"]
[workspace.dependencies]
# Shared dependencies across workspace members
vb6parse = { path = "projects/vb6parse", version = "1.2.2" }
vb6semantic = { path = "projects/vb6semantic", version = "0.1.0" }
vb6runtime = { path = "projects/vb6runtime", version = "0.1.0" }
vb6core = { path = "projects/vb6core", version = "0.1.0" }
vb6codegen = { path = "projects/vb6codegen", version = "0.1.0" }
vb6format = { path = "projects/vb6format", version = "0.1.0" }
vb6interpret = { path = "projects/vb6interpret", version = "0.1.0" }
# Errors / CLI / serialization
anyhow = "1.0.104"
thiserror = "2.0.20"
clap = { version = "4.6.5", features = ["cargo", "derive"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
toml = "1.1.4"
either = { version = "1.18.0", features = ["serde"] }
# Filesystem / traversal
walkdir = "2.5"
tempfile = "3.8"
assert_fs = "1.0"
predicates = "3.0"
# Concurrency / testing / benchmarking
rayon = "1.10"
criterion = "0.8.2"
insta = { version = "1.48.0", features = ["yaml"] }
assert_matches = { version = "1.5.0" }
pretty_assertions = "1.4"
# Diagnostics
ariadne = "0.6.0"
colored = "3.1.1"
# Parsing (vb6parse)
uuid = "1.25.0"
image = "0.25.10"
num_enum = "0.7.6"
strum = "0.28.0"
strum_macros = "0.28.0"
encoding_rs = "0.8.35"
phf = { version = "0.14.0", features = ["macros"] }
rowan = "0.17.0"
# Runtime / numeric / datetime (vb6runtime)
num-traits = "0.2"
# `js` feature is required for `Timestamp::now()` to work on
# wasm32-unknown-unknown (vb6interpret's wasm playground); it's a no-op on
# other targets.
jiff = { version = "0.2.35", features = ["js"] }
# Platform-specific system clock (vb6runtime)
libc = "0.2"
# Win32_UI_WindowsAndMessaging provides MessageBoxW for the native MsgBox
# backend; Win32_Foundation is pulled in by that feature's types.
# Win32_System_Threading provides CreateProcessW for the native Shell backend.
# Win32_UI_Input_KeyboardAndMouse provides SendInput/VkKeyScanW for the
# native SendKeys backend.
windows-sys = { version = "0.61.2", features = ["Win32_System_Time", "Win32_System_Registry", "Win32_UI_WindowsAndMessaging", "Win32_System_Threading", "Win32_UI_Input_KeyboardAndMouse", "Win32_Foundation"] }
# Code generation (vb6compile, vb6codegen)
heck = "0.5"
indoc = "2.0"
rustfmt-wrapper = "0.2"
inkwell = { version = "0.10", default-features = false, features = ["llvm16-0"] }
# Fuzzing (vb6grammarfuzz) / modern random backend (vb6runtime)
rand = "0.10.2"
# `wasm_js` backend is required for OS entropy on wasm32-unknown-unknown
# (vb6interpret's wasm playground); vb6interpret already depends
# unconditionally on wasm-bindgen for that target, so enabling it there is safe.
getrandom = "0.4.3"
# REPL / tracing (vb6interpret)
rustyline = "18.0.1"
tracing = "0.1"
tracing-subscriber = "0.3"
# WASM bindings
wasm-bindgen = "0.2.127"
serde-wasm-bindgen = "0.6.5"
console_error_panic_hook = "0.1.7"
wasm-bindgen-test = "0.3.77"
# Encoding
base64 = "0.23.1"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true
[profile.samply]
inherits = "release"
debug = true
strip = false
[profile.dev]
debug = "line-tables-only" # true
strip = false