1
- [package ]
1
+ [workspace ]
2
+ members = [" site" , " tests_ffi" , " pad/editor" , " parser" ]
3
+
4
+ [workspace .package ]
2
5
categories = [" compilers" , " algorithms" , " multimedia" , " parser-implementations" ]
3
- description = " A stack-based array programming language"
4
- documentation = " https://docs.rs/uiua"
5
6
edition = " 2021"
6
7
keywords = [" uiua" , " array" , " stack" , " language" , " apl" ]
7
8
license = " MIT"
8
- name = " uiua"
9
9
readme = " readme.md"
10
10
repository = " https://github.com/uiua-lang/uiua"
11
11
rust-version = " 1.82.0"
12
12
version = " 0.17.0-dev.2"
13
13
14
+ [workspace .lints .clippy ]
15
+ cargo = {level = " warn" , priority = -1 }
16
+ dbg_macro = " warn"
17
+ print_stdout = " warn"
18
+ multiple_crate_versions = " allow"
19
+
20
+ [workspace .dependencies ]
21
+ base64 = " 0.22.0"
22
+ bytemuck = " 1.17"
23
+ colored = " 2"
24
+ dashmap = {version = " 6" , features = [" serde" ]}
25
+ ecow = {version = " 0.2.3" , features = [" serde" ]}
26
+ enum-iterator = " 2.1.0"
27
+ hound = " 3.5.1"
28
+ js-sys = " 0.3.69"
29
+ leptos = " 0.6.11"
30
+ leptos_router = {version = " 0.6.11" , features = [" csr" ]}
31
+ leptos_meta = {version = " 0.6.11" , features = [" csr" ]}
32
+ once_cell = " 1"
33
+ rand = {version = " 0.8.5" , features = [" small_rng" ]}
34
+ serde = {version = " 1" , features = [" derive" ]}
35
+ serde_json = " 1.0.115"
36
+ unicode-segmentation = " 1.10"
37
+ urlencoding = " 2"
38
+ # NOTE: if you change the wasm-bindgen version, remember to change it in nix/site.nix as well
39
+ wasm-bindgen = " =0.2.93"
40
+
41
+ [workspace .dependencies .web-sys ]
42
+ version = " 0.3.70"
43
+ features = [
44
+ " Clipboard" ,
45
+ " ClipboardEvent" ,
46
+ " CssStyleDeclaration" ,
47
+ " DataTransfer" ,
48
+ " DataTransfer" ,
49
+ " DomRect" ,
50
+ " EventInit" ,
51
+ " File" ,
52
+ " FileList" ,
53
+ " FileReader" ,
54
+ " HtmlAudioElement" ,
55
+ " HtmlBrElement" ,
56
+ " Navigator" ,
57
+ " Node" ,
58
+ " Performance" ,
59
+ " Permissions" ,
60
+ " ResizeObserver" ,
61
+ " ResizeObserverEntry" ,
62
+ " ScrollBehavior" ,
63
+ " ScrollIntoViewOptions" ,
64
+ " ScrollLogicalPosition" ,
65
+ " Selection" ,
66
+ " Storage" ,
67
+ " StorageManager" ,
68
+ ]
69
+
70
+
71
+ [package ]
72
+ description = " A stack-based array programming language"
73
+ documentation = " https://docs.rs/uiua"
74
+ name = " uiua"
75
+ categories.workspace = true
76
+ edition.workspace = true
77
+ keywords.workspace = true
78
+ license.workspace = true
79
+ readme.workspace = true
80
+ repository.workspace = true
81
+ rust-version.workspace = true
82
+ version.workspace = true
83
+
84
+
14
85
[dependencies ]
15
86
# Uiua dependencies
16
87
uiua_parser = {path = " parser" , version = " 0.17.0-dev.2" }
17
88
18
89
# Core dependencies
19
90
bitflags = {version = " 2" , features = [" serde" ]}
20
- bytemuck = {version = " 1.17" , features = [" must_cast" , " derive" , " extern_crate_alloc" ]}
21
- colored = " 2"
91
+ bytemuck = {workspace = true , features = [
92
+ " must_cast" ,
93
+ " derive" ,
94
+ " extern_crate_alloc" ,
95
+ ]}
96
+ colored.workspace = true
22
97
crossbeam-channel = " 0.5.12"
23
- dashmap = { version = " 6 " , features = [ " serde " ]}
24
- ecow = { version = " 0.2.3 " , features = [ " serde " ]}
25
- enum-iterator = " 2.1.0 "
98
+ dashmap.workspace = true
99
+ ecow.workspace = true
100
+ enum-iterator.workspace = true
26
101
indexmap = {version = " 2" , features = [" serde" ]}
27
102
num_cpus = " 1.16.0"
28
- once_cell = " 1 "
103
+ once_cell.workspace = true
29
104
open = {version = " 5" , optional = true }
30
105
parking_lot = " 0.12.1"
31
106
paste = " 1.0.14"
32
107
pathdiff = " 0.2.1"
33
- rand = { version = " 0.8.5 " , features = [ " small_rng " ]}
108
+ rand.workspace = true
34
109
rawrrr = {version = " 0.2.1" , optional = true }
35
110
rayon = " 1.9.0"
36
111
regex = " 1.10.3"
@@ -39,15 +114,15 @@ rustls = {version = "0.23.2", optional = true, default-features = false, feature
39
114
" tls12" ,
40
115
" ring" ,
41
116
]}
42
- serde = {version = " 1 " , features = [" derive " , " rc" ]}
43
- serde_json = " 1 "
117
+ serde = {workspace = true , features = [" rc" ]}
118
+ serde_json.workspace = true
44
119
smallvec = {version = " 1.9" , features = [" serde" , " union" , " const_new" ]}
45
120
terminal_size = {version = " 0.3.0" , optional = true }
46
121
thread_local = " 1"
47
122
threadpool = " 1.8.1"
48
123
time = {version = " 0.3.36" , features = [" local-offset" ]}
49
124
trash = {version = " 5.2.2" , optional = true }
50
- unicode-segmentation = " 1.10 "
125
+ unicode-segmentation.workspace = true
51
126
viuer = {version = " 0.9" , optional = true }
52
127
webpki-roots = {version = " 1.0.2" , optional = true }
53
128
@@ -75,22 +150,32 @@ color_quant = {version = "1.1", optional = true}
75
150
cosmic-text = {version = " 0.12.1" , optional = true }
76
151
csv = {version = " 1" , optional = true }
77
152
gif = {version = " 0.13.1" , optional = true }
78
- hound = {version = " 3" , optional = true }
79
- image = {version = " 0.25" , optional = true , default-features = false , features = [" bmp" , " gif" , " ico" , " jpeg" , " png" , " qoi" , " webp" ]}
153
+ hound = {workspace = true , optional = true }
154
+ image = {version = " 0.25" , optional = true , default-features = false , features = [
155
+ " bmp" ,
156
+ " gif" ,
157
+ " ico" ,
158
+ " jpeg" ,
159
+ " png" ,
160
+ " qoi" ,
161
+ " webp" ,
162
+ ]}
80
163
json5 = {version = " 0.4.1" , optional = true }
81
164
libffi = {version = " 4" , optional = true }
82
165
libloading = {version = " 0.8.3" , optional = true }
83
166
nokhwa = {version = " 0.10.7" , optional = true , features = [" input-native" ]}
84
- num-complex = {version = " >=0.4.1" , optional = true , default-features = false , features = [" bytemuck" ]}
167
+ num-complex = {version = " >=0.4.1" , optional = true , default-features = false , features = [
168
+ " bytemuck" ,
169
+ ]}
85
170
png = {version = " 0.17.16" , optional = true }
86
171
rustfft = {version = " 6.2.0" , optional = true }
87
172
rustls-pemfile = {version = " 2.1.2" , optional = true }
88
173
simple_excel_writer = {version = " 0.2.0" , optional = true }
89
174
sys-locale = {version = " 0.3.1" , optional = true }
90
175
91
176
# Web-only dependencies
92
- js-sys = {version = " 0.3 " , optional = true }
93
- wasm-bindgen = {version = " 0.2.92 " , optional = true }
177
+ js-sys = {workspace = true , optional = true }
178
+ wasm-bindgen = {workspace = true , optional = true }
94
179
web-sys = {version = " 0.3.60" , optional = true }
95
180
96
181
# Window dependencies
@@ -167,14 +252,6 @@ system = ["libffi?/system"]
167
252
name = " uiua"
168
253
required-features = [" binary" ]
169
254
170
- [workspace ]
171
- members = [" site" , " tests_ffi" , " pad/editor" , " parser" ]
172
-
173
- [workspace .lints .clippy ]
174
- dbg_macro = " warn"
175
- print_stderr = " allow"
176
- print_stdout = " warn"
177
-
178
255
[lints ]
179
256
workspace = true
180
257
0 commit comments