-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
170 lines (156 loc) · 4.82 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
[workspace]
members = ["crates/*"]
resolver = "2"
[workspace.package]
authors = ["kuviman <kuviman@gmail.com>"]
edition = "2021"
license = "MIT"
readme = "README.md"
repository = "https://github.com/geng-engine/batbox"
version = "0.16.0"
[workspace.dependencies]
cfg-if = "1"
anyhow = { version = "1", features = ["backtrace"] } # TODO: eyre?
async-recursion = "1"
async-trait = "0.1"
backtrace = "0.3"
bincode = "1"
clap = { version = "4", features = ["derive"] }
derivative = "2"
derive_more = "0.99"
dyn-clone = "1"
env_logger = "0.11"
futures = "0.3"
# https://github.com/rust-random/rand#wasm-support
getrandom = { version = "0.2", features = ["js"] }
http = "1"
itertools = "0.12"
log = "0.4"
maplit = "1"
once_cell = "1"
pin-utils = "0.1"
rand = "0.8"
ron = "0.8"
toml = "0.8"
serde = { version = "1", features = ["derive", "rc"] }
serde_json = "1"
thiserror = "1"
url = "2"
async-compat = "0.2"
async-std = "1"
directories = "5"
libc = "0.2"
reqwest = { version = "0.12", features = [
"stream",
"rustls-tls",
], default-features = false }
threadpool = "1"
tinyfiledialogs = { version = "3", default-features = false }
# Web
js-sys = "0.3"
web-sys = "0.3"
wasm-bindgen = { version = "0.2", features = ["serde-serialize"] }
wasm-bindgen-futures = "0.4"
wasm-streams = "0.4"
# Proc macros
syn = { version = "2", features = ["full"] }
quote = "1"
proc-macro2 = "1"
darling = "0.20"
# Android
android-activity = { version = "0.6", features = ["native-activity"] }
jni = "0.21.1"
ndk = "0.9"
ndk-context = "0.1.1"
oboe = { version = "0.6", features = ["java-interface", "shared-stdcxx"] }
# Workspace crates
batbox-android = { version = "0.16", path = "crates/android" }
batbox-tuple-macros = { version = "0.16", path = "crates/tuple-macros" }
batbox-i18n = { version = "0.16", path = "crates/i18n" }
batbox-i18n-macro = { version = "0.16", path = "crates/i18n/macro" }
batbox-num = { version = "0.16", path = "crates/num" }
batbox-approx = { version = "0.16", path = "crates/approx" }
batbox-color = { version = "0.16", path = "crates/color" }
batbox-time = { version = "0.16", path = "crates/time" }
batbox-file = { version = "0.16", path = "crates/file" }
batbox-file-dialog = { version = "0.16", path = "crates/file-dialog" }
batbox-preferences = { version = "0.16", path = "crates/preferences" }
batbox-cli = { version = "0.16", path = "crates/cli" }
batbox-logger = { version = "0.16", path = "crates/logger" }
batbox-diff = { version = "0.16", path = "crates/diff" }
batbox-diff-derive = { version = "0.16", path = "crates/diff/derive" }
batbox-collection = { version = "0.16", path = "crates/collection" }
batbox-collection-derive = { version = "0.16", path = "crates/collection/derive" }
batbox-range = { version = "0.16", path = "crates/range" }
batbox-cmp = { version = "0.16", path = "crates/cmp" }
batbox-la = { version = "0.16", path = "crates/la" }
batbox-lapp = { version = "0.16", path = "crates/lapp" }
[package]
name = "batbox"
description = "collection of commonly used things"
authors.workspace = true
edition.workspace = true
license.workspace = true
readme.workspace = true
repository.workspace = true
version.workspace = true
[dependencies]
batbox-i18n.workspace = true
batbox-num.workspace = true
batbox-color.workspace = true
batbox-approx.workspace = true
batbox-tuple-macros.workspace = true
batbox-time.workspace = true
batbox-file.workspace = true
batbox-file-dialog.workspace = true
batbox-preferences.workspace = true
batbox-cli.workspace = true
batbox-logger.workspace = true
batbox-diff.workspace = true
batbox-collection.workspace = true
batbox-cmp.workspace = true
batbox-range.workspace = true
batbox-la.workspace = true
batbox-lapp.workspace = true
# rng
rand.workspace = true
getrandom.workspace = true # https://github.com/rust-random/rand#wasm-support
toml.workspace = true
serde.workspace = true
serde_json.workspace = true
ron.workspace = true
log.workspace = true
clap.workspace = true
url.workspace = true
futures.workspace = true
pin-utils.workspace = true
once_cell.workspace = true
bincode.workspace = true
dyn-clone.workspace = true
maplit.workspace = true
env_logger.workspace = true
backtrace.workspace = true
thiserror.workspace = true
anyhow.workspace = true
async-trait.workspace = true
async-recursion.workspace = true
derive_more.workspace = true
itertools.workspace = true
derivative.workspace = true
http.workspace = true
[target.'cfg(target_os = "android")'.dependencies]
batbox-android.workspace = true
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen.workspace = true
wasm-bindgen-futures.workspace = true
js-sys.workspace = true
web-sys.workspace = true
wasm-streams.workspace = true
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
libc.workspace = true
tinyfiledialogs.workspace = true
directories.workspace = true
threadpool.workspace = true
async-std.workspace = true
reqwest.workspace = true
async-compat.workspace = true