# 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" rust-version = "1.63.0" name = "ts-rs" version = "10.0.0" authors = ["Moritz Bischof "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "generate typescript bindings from rust types" homepage = "https://github.com/Aleph-Alpha/ts-rs" readme = "README.md" keywords = [ "typescript", "ts", "bindings", "ts-rs", "wasm", ] categories = [ "development-tools::ffi", "development-tools::build-utils", "wasm", "web-programming", ] license = "MIT" repository = "https://github.com/Aleph-Alpha/ts-rs" [lib] name = "ts_rs" path = "src/lib.rs" [[test]] name = "integration" path = "tests/integration/main.rs" [dependencies.bigdecimal] version = ">= 0.0.13, < 0.5" features = ["serde"] optional = true [dependencies.bson] version = "2" optional = true [dependencies.bytes] version = "1" optional = true [dependencies.chrono] version = "0.4" optional = true [dependencies.dprint-plugin-typescript] version = "0.90" optional = true [dependencies.heapless] version = ">= 0.7, < 0.9" optional = true [dependencies.indexmap] version = "2" optional = true [dependencies.lazy_static] version = "1" default-features = false [dependencies.ordered-float] version = ">= 3, < 5" optional = true [dependencies.semver] version = "1" optional = true [dependencies.serde_json] version = "1" optional = true [dependencies.smol_str] version = "0.3" optional = true [dependencies.thiserror] version = "1" [dependencies.ts-rs-macros] version = "=10.0.0" [dependencies.url] version = "2" optional = true [dependencies.uuid] version = "1" optional = true [dev-dependencies.chrono] version = "0.4" features = ["serde"] [dev-dependencies.serde] version = "1.0" features = ["derive"] [dev-dependencies.serde_json] version = "1" [features] bigdecimal-impl = ["bigdecimal"] bson-uuid-impl = ["bson"] bytes-impl = ["bytes"] chrono-impl = ["chrono"] default = ["serde-compat"] format = ["dprint-plugin-typescript"] heapless-impl = ["heapless"] import-esm = [] indexmap-impl = ["indexmap"] no-serde-warnings = ["ts-rs-macros/no-serde-warnings"] ordered-float-impl = ["ordered-float"] semver-impl = ["semver"] serde-compat = ["ts-rs-macros/serde-compat"] serde-json-impl = ["serde_json"] smol_str-impl = ["smol_str"] url-impl = ["url"] uuid-impl = ["uuid"]