[package]
edition = "2024"
name = "jsxrs"
version = "0.1.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust library for rendering JSX/TSX to complete HTML documents at build-time or server-side."
readme = "README.md"
license = "Apache-2.0"
[package.metadata.dist]
cargo-dist-version = "0.31.0"
ci = "github"
install-path = "CARGO_HOME"
installers = [
"shell",
"homebrew",
]
publish-jobs = ["homebrew"]
tap = "smartcrabai/homebrew-tap"
targets = [
"aarch64-apple-darwin",
"x86_64-unknown-linux-gnu",
"aarch64-unknown-linux-gnu",
"x86_64-pc-windows-msvc",
"aarch64-pc-windows-msvc",
]
[lib]
name = "jsxrs"
path = "src/lib.rs"
[[test]]
name = "attributes"
path = "tests/attributes.rs"
[[test]]
name = "codegen"
path = "tests/codegen.rs"
[[test]]
name = "document"
path = "tests/document.rs"
[[test]]
name = "errors"
path = "tests/errors.rs"
[[test]]
name = "expressions"
path = "tests/expressions.rs"
[[test]]
name = "expressions_advanced"
path = "tests/expressions_advanced.rs"
[[test]]
name = "head"
path = "tests/head.rs"
[[test]]
name = "render_basic"
path = "tests/render_basic.rs"
[[test]]
name = "resolver"
path = "tests/resolver.rs"
[[test]]
name = "tailwind"
path = "tests/tailwind.rs"
[dependencies.bytes-str]
version = "0.2.7"
[dependencies.encre-css]
version = "0.20.1"
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.149"
[dependencies.swc_common]
version = "19.0.0"
[dependencies.swc_ecma_ast]
version = "21.0.0"
[dependencies.swc_ecma_parser]
version = "35.0.0"
[dependencies.thiserror]
version = "2.0.18"
[profile.release]
lto = true
codegen-units = 1
strip = true