# 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 = "tyzen"
version = "0.1.6"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A lightweight tool to generate TypeScript type definitions from Rust structs and enums."
homepage = "https://github.com/EnsomeReiser/todo-list"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/EnsomeReiser/todo-list"
resolver = "2"

[features]
chrono = ["dep:chrono"]
default = []
serde_json = ["dep:serde_json"]
uuid = ["dep:uuid"]

[lib]
name = "tyzen"
path = "src/lib.rs"

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

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

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

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

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

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

[dependencies.chrono]
version = "0.4"
optional = true

[dependencies.inventory]
version = "0.3.24"

[dependencies.serde_json]
version = "1"
optional = true

[dependencies.tyzen-macro]
version = "0.1.6"

[dependencies.uuid]
version = "1"
optional = true

[dev-dependencies.trybuild]
version = "1"
