161 lines
3.1 KiB
TOML
161 lines
3.1 KiB
TOML
# 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.78.0"
|
|
name = "ts-rs"
|
|
version = "12.0.1"
|
|
authors = ["Moritz Bischof <moritz.bischof1@gmail.com>"]
|
|
build = false
|
|
autolib = 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"
|
|
|
|
[features]
|
|
arrayvec-impl = ["arrayvec"]
|
|
bigdecimal-impl = ["bigdecimal"]
|
|
bson-uuid-impl = ["bson"]
|
|
bytes-impl = ["bytes"]
|
|
chrono-impl = ["chrono"]
|
|
default = ["serde-compat"]
|
|
format = ["dprint-plugin-typescript"]
|
|
heapless-impl = ["heapless"]
|
|
indexmap-impl = ["indexmap"]
|
|
jiff-impl = ["jiff"]
|
|
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"]
|
|
tokio-impl = ["tokio"]
|
|
url-impl = ["url"]
|
|
uuid-impl = ["uuid"]
|
|
|
|
[lib]
|
|
name = "ts_rs"
|
|
path = "src/lib.rs"
|
|
|
|
[[test]]
|
|
name = "integration"
|
|
path = "tests/integration/main.rs"
|
|
|
|
[dependencies.arrayvec]
|
|
version = ">= 0.6, < 0.8"
|
|
optional = true
|
|
|
|
[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.95"
|
|
optional = true
|
|
|
|
[dependencies.heapless]
|
|
version = ">= 0.7, < 0.9"
|
|
optional = true
|
|
|
|
[dependencies.indexmap]
|
|
version = "2"
|
|
optional = true
|
|
|
|
[dependencies.jiff]
|
|
version = "0.2"
|
|
optional = true
|
|
|
|
[dependencies.ordered-float]
|
|
version = ">= 3, < 6"
|
|
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 = "2"
|
|
|
|
[dependencies.tokio]
|
|
version = "1"
|
|
features = ["sync"]
|
|
optional = true
|
|
|
|
[dependencies.ts-rs-macros]
|
|
version = "=12.0.1"
|
|
|
|
[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"
|
|
|
|
[dev-dependencies.tokio]
|
|
version = "1.40"
|
|
features = [
|
|
"sync",
|
|
"rt",
|
|
]
|