# 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 = "2021" name = "tsify" version = "0.4.5" authors = ["Madono Haru "] description = "Tsify is a library for generating TypeScript definitions from rust code." homepage = "https://github.com/madonoharu/tsify" readme = "README.md" keywords = [ "wasm", "wasm-bindgen", "typescript", ] categories = ["wasm"] license = "MIT OR Apache-2.0" repository = "https://github.com/madonoharu/tsify" [dependencies.gloo-utils] version = "0.1.6" optional = true [dependencies.serde] version = "1.0" optional = true [dependencies.serde-wasm-bindgen] version = "0.5.0" optional = true [dependencies.serde_json] version = "1.0" optional = true [dependencies.tsify-macros] version = "0.4.3" [dependencies.wasm-bindgen] version = "0.2.86" optional = true [dev-dependencies.indoc] version = "2.0.1" [dev-dependencies.js-sys] version = "0.3.63" [dev-dependencies.macrotest] version = "1.0" [dev-dependencies.pretty_assertions] version = "1.3.0" [dev-dependencies.serde] version = "1.0" features = ["derive"] [dev-dependencies.serde-wasm-bindgen] version = "0.5.0" [dev-dependencies.serde_json] version = "1.0" [dev-dependencies.wasm-bindgen] version = "0.2.86" [dev-dependencies.wasm-bindgen-test] version = "0.3.36" [features] default = ["json"] 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", ] wasm-bindgen = [ "tsify-macros/wasm-bindgen", "dep:wasm-bindgen", ]