-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathCargo.toml
183 lines (158 loc) · 6.39 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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
[workspace]
members = [
"crates/hyperdraw",
"crates/hyperkdl",
"crates/hyperkdl_derive",
"crates/hypermath",
"crates/hyperpaths",
"crates/hyperprefs",
"crates/hyperpuzzle",
"crates/hyperpuzzle_core",
"crates/hyperpuzzle_log",
"crates/hyperpuzzle_lua",
"crates/hyperpuzzle_view",
"crates/hypershape",
"crates/hyperspeedcube",
"crates/hyperstats",
"crates/hyperstrings",
]
resolver = "2"
[workspace.package]
authors = ["Andrew Farkas"]
documentation = "https://dev.hypercubing.xyz/internals/"
edition = "2021"
homepage = "https://ajfarkas.dev/projects/hyperspeedcube/"
repository = "https://github.com/HactarCE/Hyperspeedcube/"
rust-version = "1.82.0"
[workspace.lints.rust]
missing_docs = "warn"
rust_2018_idioms = "warn"
unused_crate_dependencies = "warn"
[workspace.lints.clippy]
cargo = { level = "warn", priority = -1 }
correctness = { level = "deny", priority = -1 }
assigning_clones = "allow"
comparison_chain = "allow"
doc_markdown = "warn"
if_then_some_else_none = "warn"
manual_let_else = "warn"
match_like_matches_macro = "allow"
semicolon_if_nothing_returned = "warn"
semicolon_inside_block = "warn"
stable_sort_primitive = "warn"
too_many_arguments = "allow"
undocumented_unsafe_blocks = "warn"
uninlined_format_args = "warn"
unwrap_used = "warn"
multiple_crate_versions = { level = "allow", priority = 1 }
[profile.dev]
opt-level = 1
[workspace.dependencies]
# Crates that are part of the project
hyperdraw = { path = "crates/hyperdraw" }
hyperkdl = { path = "crates/hyperkdl" }
hyperkdl_derive = { path = "crates/hyperkdl_derive" }
hypermath = { path = "crates/hypermath" }
hyperpaths = { path = "crates/hyperpaths" }
hyperprefs = { path = "crates/hyperprefs" }
hyperpuzzle = { path = "crates/hyperpuzzle" }
hyperpuzzle_core = { path = "crates/hyperpuzzle_core" }
hyperpuzzle_log = { path = "crates/hyperpuzzle_log" }
hyperpuzzle_lua = { path = "crates/hyperpuzzle_lua" }
hyperpuzzle_view = { path = "crates/hyperpuzzle_view" }
hypershape = { path = "crates/hypershape" }
hyperstats = { path = "crates/hyperstats" }
hyperstrings = { path = "crates/hyperstrings" }
# Data structures
ball-tree = { version = "0.5.1" }
bitflags = { version = "2.6.0" }
bitvec = { version = "1.0.1", default-features = false, features = ["alloc"] }
disjoint = { version = "0.8.0" }
indexmap = { version = "2.7.1" } # must match serde_yml
smallvec = { version = "1.13.2", features = ["union"] }
slab = { version = "0.4.9" }
tinyset = { version = "0.5.1" }
# Serialization and filesystem
comrak = { version = "0.35.0", default-features = false }
config = { version = "0.15.7", features = ["preserve_order"] }
directories = { version = "6.0.0" }
hex = { version = "0.4.3" }
image = { version = "0.25.5" }
include_dir = { version = "0.7.4" }
kdl = { version = "6.3.3" }
miette = { version = "7.5.0" } # must match kdl
serde = { version = "1.0.217", features = ["derive"] }
serde_json = { version = "1.0.138" }
serde_yml = { version = "0.0.12" }
strum = { version = "0.26.3", features = ["derive"] }
walkdir = { version = "2.4.0" }
# String manipulation
human-sort = { version = "0.2.2" }
ident_case = { version = "1.0.1" }
regex = { version = "1.11.1" }
sublime_fuzzy = { version = "0.7.0" }
# Math
approx = { version = "0.5.1" }
cgmath = { version = "0.18.0" }
float-ord = { version = "0.3.2" }
num-traits = { version = "0.2.19" }
# Logging & error handling
env_logger = { version = "0.11.5" }
eyre = { version = "0.6.12" }
log = { version = "0.4.25" }
owo-colors = { version = "4.1.0" }
thiserror = { version = "2.0.11" }
tracing = { version = "0.1.41" }
tracing-error = { version = "0.2.1" }
tracing-subscriber = { version = "0.3.17", default-features = false, features = ["env-filter", "fmt", "ansi", "json", "registry"] }
color-eyre = { version = "0.6.2", default-features = false, features = ["track-caller", "capture-spantrace"] } # blocked on https://github.com/eyre-rs/eyre/pull/188
# Command-line interface
clap = { version = "4.5.28" }
clio = { version = "0.3.5", features = ["clap-parse"] }
# Core windowing, graphics, and UI (versions must match; generally limited by egui_dock)
eframe = { version = "0.30.0", default-features = false, features = ["default_fonts", "wayland", "web_screen_reader", "wgpu", "x11"] } # TODO: add `accesskit` back when https://github.com/Adanos020/egui_dock/issues/257 is resolved
ecolor = { version = "0.30.0" }
egui = { version = "0.30.0" }
egui_dock = { version = "0.15.0" }
egui-winit = { version = "0.30.0" }
winit = { version = "0.30.8", features = ["serde"] } # must match egui-winit and key-names
wgpu = { version = "23.0.1", features = ["webgl"] } # must match egui-wgpu
# Other windowing and UI
opener = { version = "0.7.0" }
rfd = {version = "0.15.1" }
key-names = { version = "3.0.0" }
# Colors
colorous = { version = "1.0.15" }
empfindung = { version = "0.2.6", default-features = false, features = ["lab"] }
oklab = { version = "1.0.1" }
lab = { version = "0.11.0" } # as required by empfindung
# Async and multithreading
parking_lot = { version = "0.12.1" }
pollster = { version = "0.4.0" }
rayon = { version = "1.7.0" }
# Lua
mlua = { version = "0.10.3", features = ["lua54", "send", "vendored"] }
# Hashing and PRNG
rand = { version = "0.9.0" } # must match rand_chacha
rand_chacha = { version = "0.9.0" } # needs stable output
sha2 = { version = "0.10.8" }
# Procedural macro utilities
proc-macro2 = { version = "1.0.93" }
quote = { version = "1.0.38" }
syn = { version = "2.0.98" }
# Other dependencies
bytemuck = { version = "1.21.0", features = ["derive"] }
chrono = { version = "0.4.39", features = ["serde"] }
itertools = { version = "0.14.0" }
lazy_static = { version = "1.5.0" }
names = { version = "0.14.0", default-features = false }
time = { version = "0.3.37", features = ["local-offset"] }
web-time = { version = "1.1.0" }
[patch.crates-io]
egui = { git = "https://github.com/HactarCE/egui.git", branch = "raw-keyboard-input-0.30.0" }
egui-winit = { git = "https://github.com/HactarCE/egui.git", branch = "raw-keyboard-input-0.30.0" }
epaint = { git = "https://github.com/HactarCE/egui.git", branch = "raw-keyboard-input-0.30.0" }
ecolor = { git = "https://github.com/HactarCE/egui.git", branch = "raw-keyboard-input-0.30.0" }
# Fork of color-eyre that does not re-export color_owo, which otherwise clogs
# editor completions. Blocked on https://github.com/eyre-rs/eyre/pull/188
color-eyre = { git = "https://github.com/FlareFlo/color-eyre.git", rev = "3bc103d5ffd7e26a71a6894579ef721e7b6c3ce1" }