2022-07-31 20:46:14 +00:00
|
|
|
[package]
|
|
|
|
name = "leptos_macro"
|
2024-11-04 01:19:57 +00:00
|
|
|
version = "0.7.0-rc1"
|
2022-10-07 10:50:21 +00:00
|
|
|
authors = ["Greg Johnston"]
|
|
|
|
license = "MIT"
|
2023-01-13 08:03:11 +00:00
|
|
|
repository = "https://github.com/leptos-rs/leptos"
|
2022-10-07 10:50:21 +00:00
|
|
|
description = "view macro for the Leptos web framework."
|
2023-01-17 17:05:09 +00:00
|
|
|
readme = "../README.md"
|
2024-02-28 12:19:09 +00:00
|
|
|
rust-version.workspace = true
|
2024-08-12 23:25:47 +00:00
|
|
|
edition.workspace = true
|
2022-07-31 20:46:14 +00:00
|
|
|
|
|
|
|
[lib]
|
|
|
|
proc-macro = true
|
|
|
|
|
|
|
|
[dependencies]
|
2024-11-07 18:55:57 +00:00
|
|
|
attribute-derive = { version = "0.10.2", features = ["syn-full"] }
|
2024-08-11 00:01:41 +00:00
|
|
|
cfg-if = "1.0"
|
|
|
|
html-escape = "0.2.13"
|
|
|
|
itertools = "0.13.0"
|
2024-11-04 21:21:35 +00:00
|
|
|
prettyplease = "0.2.25"
|
2024-09-06 21:24:03 +00:00
|
|
|
proc-macro-error2 = { version = "2.0", default-features = false }
|
2024-08-11 00:01:41 +00:00
|
|
|
proc-macro2 = "1.0"
|
|
|
|
quote = "1.0"
|
|
|
|
syn = { version = "2.0", features = ["full"] }
|
2024-08-01 12:02:27 +00:00
|
|
|
rstml = "0.12.0"
|
2023-03-04 14:04:22 +00:00
|
|
|
leptos_hot_reload = { workspace = true }
|
2023-03-02 01:56:30 +00:00
|
|
|
server_fn_macro = { workspace = true }
|
2023-01-22 12:37:40 +00:00
|
|
|
convert_case = "0.6.0"
|
2024-11-04 21:21:35 +00:00
|
|
|
uuid = { version = "1.11", features = ["v4"] }
|
2024-08-23 21:34:05 +00:00
|
|
|
tracing = { version = "0.1.40", optional = true }
|
2022-10-19 02:08:15 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2024-08-11 00:01:41 +00:00
|
|
|
log = "0.4.22"
|
2024-11-07 18:55:57 +00:00
|
|
|
typed-builder = "0.20.0"
|
2024-08-11 00:01:41 +00:00
|
|
|
trybuild = "1.0"
|
2023-01-27 11:57:32 +00:00
|
|
|
leptos = { path = "../leptos" }
|
2024-08-01 16:04:14 +00:00
|
|
|
server_fn = { path = "../server_fn", features = ["cbor"] }
|
2024-11-04 21:21:35 +00:00
|
|
|
insta = "1.41"
|
2024-08-11 00:01:41 +00:00
|
|
|
serde = "1.0"
|
2022-09-01 14:39:04 +00:00
|
|
|
|
|
|
|
[features]
|
2023-03-13 14:16:20 +00:00
|
|
|
csr = []
|
|
|
|
hydrate = []
|
2024-08-02 13:24:51 +00:00
|
|
|
ssr = ["server_fn_macro/ssr", "leptos/ssr"]
|
2023-06-27 01:12:14 +00:00
|
|
|
nightly = ["server_fn_macro/nightly"]
|
2024-08-23 21:34:05 +00:00
|
|
|
tracing = ["dep:tracing"]
|
2023-09-08 20:33:00 +00:00
|
|
|
experimental-islands = []
|
2023-11-27 21:35:31 +00:00
|
|
|
trace-component-props = []
|
2024-01-04 01:15:38 +00:00
|
|
|
actix = ["server_fn_macro/actix"]
|
|
|
|
axum = ["server_fn_macro/axum"]
|
2024-11-02 16:44:50 +00:00
|
|
|
generic = ["server_fn_macro/generic"]
|
2022-11-03 12:08:03 +00:00
|
|
|
|
|
|
|
[package.metadata.cargo-all-features]
|
2023-11-27 21:35:31 +00:00
|
|
|
denylist = ["nightly", "tracing", "trace-component-props"]
|
2024-10-08 21:03:40 +00:00
|
|
|
skip_feature_sets = [
|
2024-10-14 14:18:38 +00:00
|
|
|
[
|
|
|
|
"csr",
|
|
|
|
"hydrate",
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"hydrate",
|
|
|
|
"csr",
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"hydrate",
|
|
|
|
"ssr",
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"actix",
|
|
|
|
"axum",
|
|
|
|
],
|
2024-11-02 16:44:50 +00:00
|
|
|
[
|
|
|
|
"actix",
|
|
|
|
"generic",
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"generic",
|
|
|
|
"axum",
|
|
|
|
],
|
2024-10-08 21:03:40 +00:00
|
|
|
]
|
2024-07-03 10:46:02 +00:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
rustdoc-args = ["--generate-link-to-definition"]
|
2024-10-08 21:03:40 +00:00
|
|
|
|
|
|
|
[lints.rust]
|
|
|
|
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(erase_components)'] }
|