breaking: gate 'styly!(const scope...' behind the const-scoping feature.\nFor some reason it did only become a problem recently, but it appears that having lightningcss/grass unconditionally will break WASM builds by having getrandom dependency

This commit is contained in:
yiffyrusdev 2025-05-08 19:42:06 +05:00 • committed by spushk
commit 355465e8cf
Signed by: spushk
GPG key ID: 7797B761E105E8AA

View file

@ -9,15 +9,20 @@ authors.workspace = true
license.workspace = true
[dependencies]
sabry_intrnl = { workspace = true }
syn = { version = "^2", features = ["parsing"] }
quote = { version = "^1" }
proc-macro2 = { version = "^1", features = ["span-locations"] }
regex = { version = "^1" }
itertools = { version = "^0.14" }
sabry_intrnl.workspace = true
sabry_intrnl.features = ["scope"]
syn.workspace = true
syn.features = ["parsing"]
quote.workspace = true
proc-macro2.workspace = true
proc-macro2.features = ["span-locations"]
regex.workspace = true
itertools.workspace = true
cfg-if.workspace = true
[features]
nightly = []
const-compile = ["sabry_intrnl/compile"]
[package.metadata.docs.rs]
all-features = true