-
-
Notifications
You must be signed in to change notification settings - Fork 116
/
Cargo.toml
162 lines (151 loc) · 4.75 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
[package]
categories = ["compilers", "algorithms", "multimedia", "parser-implementations"]
description = "A stack-based array programming language"
documentation = "https://docs.rs/uiua"
edition = "2021"
keywords = ["uiua", "array", "stack", "language", "apl"]
license = "MIT"
name = "uiua"
readme = "readme.md"
repository = "https://github.com/uiua-lang/uiua"
rust-version = "1.78"
version = "0.14.0-dev.2"
[dependencies]
# Core dependencies
bitflags = {version = "2", features = ["serde"]}
colored = "2"
crossbeam-channel = "0.5.12"
dashmap = {version = "5", features = ["serde"]}
ecow = {version = "0.2.3", features = ["serde"]}
enum-iterator = "2.0.0"
indexmap = {version = "2", features = ["serde"]}
num_cpus = "1.16.0"
once_cell = "1"
parking_lot = "0.12.1"
paste = "1.0.14"
pathdiff = "0.2.1"
rand = {version = "0.8.5", features = ["small_rng"]}
rayon = "1.9.0"
regex = "1.10.3"
serde = {version = "1", features = ["derive"]}
serde_json = "1"
serde_tuple = "0.5.0"
thread_local = "1"
time = {version = "0.3.36", features = ["local-offset"]}
tinyvec = {version = "1", features = ["alloc", "serde"]}
unicode-segmentation = "1.10"
# Native dependencies
httparse = {version = "1.8.0", optional = true}
open = {version = "5", optional = true}
rawrrr = {version = "0.2.1", optional = true}
rustls = {version = "0.23.2", optional = true, default-features = false, features = [
"std",
"tls12",
"ring",
]}
terminal_size = {version = "0.3.0", optional = true}
trash = {version = "4.0.0", optional = true}
viuer = {version = "0.7.1", optional = true}
webpki-roots = {version = "0.26.0", optional = true}
# Native audio dependencies
hodaun = {version = "0.4.1", optional = true, features = ["output", "wav"]}
lockfree = {version = "0.5.1", optional = true}
# Binary dependencies
clap = {version = "4", optional = true, features = ["derive"]}
color-backtrace = {version = "0.6.1", optional = true}
ctrlc = {version = "=3.4.4", optional = true}
notify = {version = "6", optional = true}
rustyline = {version = "14.0.0", optional = true}
terminal-light = {version = "1.4.0", optional = true}
tokio = {version = "1", optional = true, features = ["io-std", "rt"]}
tower-lsp = {version = "0.20.0", optional = true, features = ["proposed"]}
# Profiling dependencies
serde_yaml = {version = "0.9.33", optional = true}
# Feature dependencies
arboard = {version = "3", optional = true}
calamine = {version = "0.24.0", optional = true}
color_quant = {version = "1.1", optional = true}
cosmic-text = {version = "0.12.1", optional = true}
csv = {version = "1", optional = true}
gif = {version = "0.13.1", optional = true}
hound = {version = "3", optional = true}
image = {version = "0.24.9", optional = true, default-features = false, features = ["bmp", "gif", "ico", "jpeg", "png", "qoi", "webp"]}
json5 = {version = "0.4.1", optional = true}
libffi = {version = "3", optional = true}
libloading = {version = "0.8.3", optional = true}
rustfft = {version = "6.2.0", optional = true}
rustls-pemfile = {version = "2.1.2", optional = true}
simple_excel_writer = {version = "0.2.0", optional = true}
sys-locale = {version = "0.3.1", optional = true}
uiua-nokhwa = {version = "0.10.5", optional = true, features = ["input-native"]}
# Web-only dependencies
icy_sixel = {version = "0.1.2", optional = true}
js-sys = {version = "0.3", optional = true}
wasm-bindgen = {version = "0.2.92", optional = true}
web-sys = {version = "0.3.60", optional = true}
[features]
audio = ["hodaun", "lockfree", "audio_encode"]
audio_encode = ["hound"]
batteries = [
"gif",
"image",
"audio_encode",
"csv",
"xlsx",
"json5",
"fft",
"font_shaping",
]
binary = [
"ctrlc",
"notify",
"clap",
"color-backtrace",
"rustyline",
"native_sys",
"ffi",
"terminal-light",
"terminal_size",
]
bytes = [] # No longer used
clipboard = ["arboard"]
debug = []
default = [
"binary",
"terminal_image",
"lsp",
"stand",
"tls",
"invoke",
"trash",
"native_sys",
"raw_mode",
"clipboard",
"opt",
"batteries",
]
ffi = ["libffi", "libloading"]
fft = ["rustfft"]
font_shaping = ["cosmic-text", "sys-locale"]
full = ["audio", "webcam"] # Enables all optional features
gif = ["dep:gif", "image", "color_quant"]
invoke = ["open"]
lsp = ["tower-lsp", "tokio", "native_sys"]
native_sys = []
opt = [] # Enables some optimizations but increases binary size
profile = ["serde_yaml"]
raw_mode = ["rawrrr", "native_sys"]
stand = ["native_sys"]
terminal_image = ["viuer", "image", "icy_sixel"]
tls = ["httparse", "rustls", "webpki-roots", "rustls-pemfile"]
web = ["wasm-bindgen", "js-sys", "web-sys"]
webcam = ["image", "uiua-nokhwa"]
xlsx = ["calamine", "simple_excel_writer"]
# Use system static libraries instead of building them
system = ["libffi?/system"]
[[bin]]
name = "uiua"
[workspace]
members = ["site", "tests_ffi", "pad/editor"]
[profile.dev]
incremental = true