[package]
edition = "2024"
rust-version = "1.85"
name = "ts-typegen"
version = "1.0.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Generate TypeScript types and interfaces from Rust structs and enums at build time, matching what serde puts on the wire"
homepage = "https://github.com/Andrew-McCall/typescript-typegen-rs"
readme = "README.md"
keywords = [
"typescript",
"codegen",
"serde",
"bindings",
"json",
]
categories = [
"development-tools::build-utils",
"development-tools::ffi",
"web-programming",
"encoding",
]
license = "MIT"
repository = "https://github.com/Andrew-McCall/typescript-typegen-rs"
[features]
default = []
strict = ["ts-typegen-macros/strict"]
[lib]
name = "ts_typegen"
path = "src/lib.rs"
[[test]]
name = "derive_is_inert"
path = "tests/derive_is_inert.rs"
[[test]]
name = "strict"
path = "tests/strict.rs"
[dependencies.ts-typegen-macros]
version = "1.0.0"
[dev-dependencies.serde]
version = "1"
features = ["derive"]
[dev-dependencies.trybuild]
version = "1.0.119"