mirror of
https://github.com/askama-rs/askama.git
synced 2025-09-28 13:30:59 +00:00
derive standalone: opt out of native proc-macro
support
We know that there is none, because `rinja_derive_standalone` is not run inside of rust, but, as the name says, standalone. This makes the playground WASM data a little smaller.
This commit is contained in:
parent
e4b89797b0
commit
78136c2351
@ -37,10 +37,12 @@ serde = { version = "1.0", optional = true, features = ["derive"] }
|
||||
memchr = "2"
|
||||
mime = "0.3"
|
||||
mime_guess = "2"
|
||||
proc-macro2 = "1"
|
||||
quote = "1"
|
||||
quote = { version = "1", default-features = false }
|
||||
rustc-hash = "2.0.0"
|
||||
syn = "2.0.3"
|
||||
syn = { version = "2.0.3", default-features = false, features = ["clone-impls", "derive", "parsing", "printing"] }
|
||||
|
||||
# in `rinja_derive_standalone` we opt out of the default features, because we need no native `proc-macro` support
|
||||
proc-macro2 = "1"
|
||||
|
||||
[dev-dependencies]
|
||||
console = "0.15.8"
|
||||
|
@ -40,10 +40,12 @@ serde = { version = "1.0", optional = true, features = ["derive"] }
|
||||
memchr = "2"
|
||||
mime = "0.3"
|
||||
mime_guess = "2"
|
||||
proc-macro2 = "1"
|
||||
quote = "1"
|
||||
quote = { version = "1", default-features = false }
|
||||
rustc-hash = "2.0.0"
|
||||
syn = "2.0.3"
|
||||
syn = { version = "2.0.3", default-features = false, features = ["clone-impls", "derive", "parsing", "printing"] }
|
||||
|
||||
# in `rinja_derive_standalone` we opt out of the default features, because we need no native `proc-macro` support
|
||||
proc-macro2 = { version = "1", default-features = false }
|
||||
|
||||
[dev-dependencies]
|
||||
console = "0.15.8"
|
||||
|
Loading…
x
Reference in New Issue
Block a user