refactor: move "rayon" feature under "std"

This commit is contained in:
Itsusinn 2024-06-05 14:05:39 +08:00 committed by Jeremy Soller
parent 1f52b5211c
commit 39c4e3e02b
3 changed files with 10 additions and 13 deletions

View file

@ -36,7 +36,7 @@ default-features = false
features = ["hardcoded-data"]
[features]
default = ["std", "swash", "fontconfig", "rayon"]
default = ["std", "swash", "fontconfig"]
fontconfig = ["fontdb/fontconfig", "std"]
no_std = ["rustybuzz/libm", "hashbrown"]
shape-run-cache = []
@ -47,11 +47,11 @@ std = [
"sys-locale",
"ttf-parser/std",
"unicode-bidi/std",
"rayon"
]
vi = ["modit", "syntect", "cosmic_undo_2"]
wasm-web = ["sys-locale?/js"]
warn_on_missing_glyphs = []
rayon = ["dep:rayon"]
[[bench]]
name = "layout"