generated from emilk/eframe_template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
117 lines (96 loc) · 3.16 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
[package]
name = "rvcd"
version = "0.1.2"
authors = ["Chiro <[email protected]>"]
edition = "2021"
rust-version = "1.65"
default-run = "rvcd"
[dependencies]
egui = { version = "0.27.2", features = ["serde"] }
eframe = { version = "0.27.2", default-features = false, features = [
# "accesskit", # Make egui comptaible with screen readers. NOTE: adds a lot of dependencies.
"default_fonts", # Embed the default egui fonts.
"glow", # Use the glow rendering backend. Alternative: "wgpu".
"persistence", # Enable restoring app state when restarting the app.
# "wgpu",
] }
# You only need serde if you want app persistence:
serde = { version = "1", features = ["derive"] }
vcd = { git = "https://github.com/chiro2001/rust-vcd", branch = "master" }
anyhow = "1.0.68"
num = "0.4.0"
num-bigint = "0.4.3"
num-traits = "0.2.15"
egui_extras = "0.27.2"
futures = "0.3.25"
queues = "1.1.0"
trees = "0.4.2"
serde_json = "1.0.91"
tracing = "0.1.37"
rfd = "0.14.1"
rust-i18n = "3.0.1"
once_cell = "1.17.0"
regex = "1.7.1"
rev_lines = { git = "https://github.com/chiro2001/rev_lines", rev = "5cafb676addbcace2f3954b2801e82077c13733c" }
antlr-rust = "0.3.0-beta"
debug-ignore = "1.0.5"
clap = { version = "4.1.6", features = ["derive"] }
enum-map = "2.4.2"
egui-toast = "0.13.0"
[build-dependencies]
tonic-build = "0.11.0"
reqwest = "0.12.4"
tokio = { version = "1.37.0", features = ["rt-multi-thread", "macros"] }
# native:
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
tracing-subscriber = "0.3"
tonic = "0.11.0"
tonic-reflection = "0.11.0"
prost = "0.12.4"
tokio = { version = "1.37.0", features = ["rt-multi-thread", "macros"] }
# egui-toast = { git = "https://github.com/chiro2001/egui-toast", rev = "2f3adaab2e7b1512b9d6101ba5d668351e224056" }
walkdir = "2.3.2"
tower = "0.4.13"
[target.'cfg(target_arch = "x86_64")'.dependencies]
jemallocator = { version = "0.5.4", optional = true }
# web:
[target.'cfg(target_arch = "wasm32")'.dependencies]
console_error_panic_hook = "0.1.6"
tracing-wasm = "0.2"
wasm-bindgen-futures = "0.4"
js-sys = "0.3.60"
web-sys = { version = "0.3.60", features = ["Window"] }
# [target.'cfg(target_arch = "wasm32")'.dependencies.egui-toast]
# git = "https://github.com/chiro2001/egui-toast"
# rev = "2f3adaab2e7b1512b9d6101ba5d668351e224056"
# default-features = false
# features = []
[profile.release]
# opt-level = "z" # fast and small wasm
opt-level = 3
strip = true # Automatically strip symbols from the binary.
lto = true
# Optimize all dependencies even in debug builds:
[profile.dev.package."*"]
opt-level = 3
[patch.crates-io]
# If you want to use the bleeding edge version of egui and eframe:
# egui = { git = "https://github.com/emilk/egui", branch = "master" }
# eframe = { git = "https://github.com/emilk/egui", branch = "master" }
# If you fork https://github.com/emilk/egui you can test with:
# egui = { path = "../egui/crates/egui" }
# eframe = { path = "../egui/crates/eframe" }
[dev-dependencies]
criterion = "0.5.1"
[features]
default = ["jemalloc"]
jemalloc = ["dep:jemallocator"]
[[bench]]
name = "vcd_parse"
harness = false
[[bin]]
name = "rvcd"
path = "src/main.rs"
#[[bin]]
#name = "converter"
#path = "src/bin/converter.rs"