-
Notifications
You must be signed in to change notification settings - Fork 43
/
Cargo.toml
45 lines (41 loc) · 1.28 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
[package]
name = "tsify"
version = "0.4.5"
edition = "2021"
authors = ["Madono Haru <[email protected]>"]
license = "MIT OR Apache-2.0"
description = "Tsify is a library for generating TypeScript definitions from rust code."
repository = "https://github.com/madonoharu/tsify"
homepage = "https://github.com/madonoharu/tsify"
keywords = ["wasm", "wasm-bindgen", "typescript"]
categories = ["wasm"]
[dependencies]
tsify-macros = { path = "tsify-macros", version = "0.4.3" }
wasm-bindgen = { version = "0.2.86", optional = true }
serde = { version = "1.0", optional = true }
serde_json = { version = "1.0", optional = true }
serde-wasm-bindgen = { version = "0.5.0", optional = true }
gloo-utils = { version = "0.1.6", optional = true }
[dev-dependencies]
indoc = "2.0.1"
js-sys = "0.3.63"
macrotest = "1.0"
pretty_assertions = "1.3.0"
serde = { version = "1.0", features = ["derive"] }
serde-wasm-bindgen = "0.5.0"
serde_json = "1.0"
wasm-bindgen = "0.2.86"
wasm-bindgen-test = "0.3.36"
[features]
default = ["json"]
wasm-bindgen = ["tsify-macros/wasm-bindgen", "dep:wasm-bindgen"]
js = ["wasm-bindgen", "tsify-macros/js", "dep:serde", "dep:serde-wasm-bindgen"]
json = [
"wasm-bindgen",
"tsify-macros/json",
"dep:serde",
"dep:gloo-utils",
"dep:serde_json",
]
[workspace]
members = ["tsify-macros"]