-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
42 lines (34 loc) · 1.45 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
[package]
name = "live2d-cubism-core-sys"
authors = ["https://github.com/James2022-rgb"]
license = "MIT"
version = "0.3.1"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
build = "src/build.rs"
[features]
default = ["core"]
core = ["dep:log", "dep:static_assertions", "dep:thiserror", "dep:shrinkwraprs", "dep:derive_more", "dep:num_enum", "dep:flagset", "dep:mint", "dep:itertools", "dep:parking_lot"]
[dependencies]
log = { version = "0.4", optional = true }
static_assertions = { version = "1.1.0", optional = true }
thiserror = { version = "1.0", optional = true }
shrinkwraprs = { version = "0.3.0", optional = true }
derive_more = { version = "0.99.17", optional = true }
num_enum = { version = "0.5.7", optional = true }
flagset = { version = "0.4.3", optional = true }
mint = { version = "0.5.9", optional = true }
itertools = { version = "0.10.5", optional = true }
parking_lot = { version = "0.12.1", optional = true }
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
pollster = "=0.2.4"
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = "0.2.83"
fluvio-wasm-timer = "=0.2.5"
js-sys = "0.3.60"
web-sys ={ version = "0.3.69", features = [ "Node", "Window", "Document", "HtmlHeadElement", "HtmlScriptElement", "EventTarget" ] }
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
console_log = "0.2.0"
wasm-bindgen-test = "0.3"
[build-dependencies]
bindgen = "0.63.0"