-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
32 lines (28 loc) · 1.02 KB
/
Cargo.toml
File metadata and controls
32 lines (28 loc) · 1.02 KB
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
[package]
name = "ts-function"
version = "0.2.0"
edition = "2024"
description = "A proc-macro that generates TypeScript type aliases and wasm-bindgen ABI trait impls for Rust callback wrapper structs"
license = "MIT OR Apache-2.0"
documentation = "https://docs.rs/ts-function"
readme = "README.md"
homepage = "https://github.com/logankaser/ts-function"
repository = "https://github.com/logankaser/ts-function"
categories = ["wasm", "web-programming", "development-tools::ffi"]
keywords = ["wasm-bindgen", "typescript", "callback", "macro"]
include = ["Cargo.toml", "src", "README.md", "LICENSE-MIT", "LICENSE-APACHE", "tests"]
[lib]
proc-macro = true
[dependencies]
syn = { version = "2.0", features = ["full", "extra-traits"] }
quote = "1.0"
proc-macro2 = "1.0"
# --- dependencies for internal modules (ts-type, ts-macro) ---
heck = "0.5"
wasm-bindgen = "0.2"
js-sys = "0.3"
# -------------------------------------------------------------
[dev-dependencies]
wasm-bindgen-test = "0.3"
[workspace]
members = ["typescript_test/rust_module"]