[package] name = "leptos_macro" version = "0.7.0-rc1" authors = ["Greg Johnston"] license = "MIT" repository = "https://github.com/leptos-rs/leptos" description = "view macro for the Leptos web framework." readme = "../README.md" rust-version.workspace = true edition.workspace = true [lib] proc-macro = true [dependencies] attribute-derive = { version = "0.10.2", features = ["syn-full"] } cfg-if = "1.0" html-escape = "0.2.13" itertools = "0.13.0" prettyplease = "0.2.25" proc-macro-error2 = { version = "2.0", default-features = false } proc-macro2 = "1.0" quote = "1.0" syn = { version = "2.0", features = ["full"] } rstml = "0.12.0" leptos_hot_reload = { workspace = true } server_fn_macro = { workspace = true } convert_case = "0.6.0" uuid = { version = "1.11", features = ["v4"] } tracing = { version = "0.1.40", optional = true } [dev-dependencies] log = "0.4.22" typed-builder = "0.20.0" trybuild = "1.0" leptos = { path = "../leptos" } server_fn = { path = "../server_fn", features = ["cbor"] } insta = "1.41" serde = "1.0" [features] csr = [] hydrate = [] ssr = ["server_fn_macro/ssr", "leptos/ssr"] nightly = ["server_fn_macro/nightly"] tracing = ["dep:tracing"] experimental-islands = [] trace-component-props = [] actix = ["server_fn_macro/actix"] axum = ["server_fn_macro/axum"] generic = ["server_fn_macro/generic"] [package.metadata.cargo-all-features] denylist = ["nightly", "tracing", "trace-component-props"] skip_feature_sets = [ [ "csr", "hydrate", ], [ "hydrate", "csr", ], [ "hydrate", "ssr", ], [ "actix", "axum", ], [ "actix", "generic", ], [ "generic", "axum", ], ] [package.metadata.docs.rs] rustdoc-args = ["--generate-link-to-definition"] [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(erase_components)'] }