-
Notifications
You must be signed in to change notification settings - Fork 5
/
Cargo.toml
67 lines (54 loc) · 1.22 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
[package]
name = "lilypad"
version = "0.2.0"
edition = "2021"
[lib]
name = "lilypad_web"
path = "src/lib.rs"
crate-type = ["cdylib", "rlib"]
[[bin]]
name = "lilypad_native"
path = "src/bin.rs"
[profile.release]
lto = true
# # uncomment for debugging wasm:
# debug = true
# [package.metadata.wasm-pack.profile.release]
# wasm-opt = false
[dependencies]
# egui
egui = "0.29"
eframe = { version = "0.29", default-features = false, features = [
"glow",
"default_fonts", # TODO: load fonts instead of bundling them
] }
egui_inbox = "0.6"
# logging
log = "0.4"
env_logger = "0.11"
# text
ropey = { version = "1.6", default-features = false, features = ["simd"] }
# json
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# utility
regex = { version = "1.9", default-features = false, features = [
"std",
"perf",
] }
# tree sitter
tree-sitter = "0.24"
tree-sitter-language = "0.1"
tree-sitter-python = "0.23"
tree-sitter-java = "0.23"
tree-sitter-c-sharp = "0.23"
tree-sitter-cpp = "0.23"
# wasm stuff
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4"
web-sys = "0.3"
serde-wasm-bindgen = "0.6"
console_error_panic_hook = "0.1"
# native stuff
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
rfd = "0.15"