ts-function 0.2.0

A proc-macro that generates TypeScript type aliases and wasm-bindgen ABI trait impls for Rust callback wrapper structs
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "ts-function"
version = "0.2.0"
build = false
include = [
    "Cargo.toml",
    "src",
    "README.md",
    "LICENSE-MIT",
    "LICENSE-APACHE",
    "tests",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A proc-macro that generates TypeScript type aliases and wasm-bindgen ABI trait impls for Rust callback wrapper structs"
homepage = "https://github.com/logankaser/ts-function"
documentation = "https://docs.rs/ts-function"
readme = "README.md"
keywords = [
    "wasm-bindgen",
    "typescript",
    "callback",
    "macro",
]
categories = [
    "wasm",
    "web-programming",
    "development-tools::ffi",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/logankaser/ts-function"

[lib]
name = "ts_function"
path = "src/lib.rs"
proc-macro = true

[[test]]
name = "args"
path = "tests/args.rs"

[[test]]
name = "basic"
path = "tests/basic.rs"

[[test]]
name = "errors"
path = "tests/errors.rs"

[[test]]
name = "generic_collections"
path = "tests/generic_collections.rs"

[[test]]
name = "return_values"
path = "tests/return_values.rs"

[[test]]
name = "types"
path = "tests/types.rs"

[dependencies.heck]
version = "0.5"

[dependencies.js-sys]
version = "0.3"

[dependencies.proc-macro2]
version = "1.0"

[dependencies.quote]
version = "1.0"

[dependencies.syn]
version = "2.0"
features = [
    "full",
    "extra-traits",
]

[dependencies.wasm-bindgen]
version = "0.2"

[dev-dependencies.wasm-bindgen-test]
version = "0.3"