leptos/leptos_macro/Cargo.toml

58 lines
1.4 KiB
TOML
Raw Normal View History

2022-08-01 04:46:14 +08:00
[package]
name = "leptos_macro"
2024-07-24 21:30:05 +08:00
version = "0.7.0-beta"
2022-08-01 04:46:14 +08:00
edition = "2021"
2022-10-07 18:50:21 +08:00
authors = ["Greg Johnston"]
license = "MIT"
repository = "https://github.com/leptos-rs/leptos"
2022-10-07 18:50:21 +08:00
description = "view macro for the Leptos web framework."
readme = "../README.md"
2024-02-28 20:19:09 +08:00
rust-version.workspace = true
2022-08-01 04:46:14 +08:00
[lib]
proc-macro = true
[dependencies]
2024-03-18 23:39:34 +08:00
attribute-derive = { version = "0.9", features = ["syn-full"]}
cfg-if = "1"
html-escape = "0.2"
itertools = "0.12"
prettyplease = "0.2.4"
proc-macro-error = { version = "1", default-features = false }
2022-08-01 04:46:14 +08:00
proc-macro2 = "1"
quote = "1"
syn = { version = "2", features = ["full"] }
rstml = "0.11.2"
leptos_hot_reload = { workspace = true }
server_fn_macro = { workspace = true }
convert_case = "0.6.0"
uuid = { version = "1", features = ["v4"] }
tracing = "0.1.37"
[dev-dependencies]
2022-10-17 22:57:55 +08:00
log = "0.4"
typed-builder = "0.18"
trybuild = "1"
leptos = { path = "../leptos" }
2024-08-02 00:04:14 +08:00
server_fn = { path = "../server_fn", features = ["cbor"] }
insta = "1.29"
serde = "1"
2022-09-01 22:39:04 +08:00
[features]
csr = []
hydrate = []
2024-08-02 21:24:51 +08:00
ssr = ["server_fn_macro/ssr", "leptos/ssr"]
nightly = ["server_fn_macro/nightly"]
tracing = []
2023-09-09 04:33:00 +08:00
experimental-islands = []
trace-component-props = []
actix = ["server_fn_macro/actix"]
axum = ["server_fn_macro/axum"]
2022-11-03 20:08:03 +08:00
[package.metadata.cargo-all-features]
denylist = ["nightly", "tracing", "trace-component-props"]
skip_feature_sets = [["csr", "hydrate"], ["hydrate", "csr"], ["hydrate", "ssr"]]
[package.metadata.docs.rs]
rustdoc-args = ["--generate-link-to-definition"]