# 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 = "macroforge_ts_syn"
version = "0.1.21"
authors = ["macroforge contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "TypeScript syntax types for compile-time macro code generation"
homepage = "https://github.com/rymskip/macroforge-ts"
readme = "README.md"
keywords = [
    "typescript",
    "macros",
    "codegen",
    "derive",
]
categories = ["development-tools::procedural-macro-helpers"]
license = "MIT"
repository = "https://github.com/rymskip/macroforge-ts"
resolver = "2"

[features]
default = ["swc"]
swc = ["dep:swc_core"]

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

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.swc_core]
version = "48"
features = [
    "common",
    "ecma_ast",
    "ecma_parser",
    "ecma_visit",
    "ecma_quote",
    "ecma_codegen",
]
optional = true
default-features = false

[dependencies.thiserror]
version = "1"
