mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
feat(sourcemap): add feature "sourcemap_concurrent"
This commit is contained in:
parent
eefb66f750
commit
f6daf0b7ae
3 changed files with 6 additions and 4 deletions
|
|
@ -39,4 +39,6 @@ semantic = ["oxc_semantic"]
|
||||||
transformer = ["oxc_transformer"]
|
transformer = ["oxc_transformer"]
|
||||||
minifier = ["oxc_minifier"]
|
minifier = ["oxc_minifier"]
|
||||||
codegen = ["oxc_codegen"]
|
codegen = ["oxc_codegen"]
|
||||||
sourcemap = ["oxc_sourcemap"]
|
|
||||||
|
sourcemap = ["oxc_sourcemap"]
|
||||||
|
sourcemap_concurrent = ["sourcemap", "oxc_sourcemap/concurrent"]
|
||||||
|
|
|
||||||
|
|
@ -28,5 +28,5 @@ cfg-if = { workspace = true }
|
||||||
rayon = { workspace = true, optional = true }
|
rayon = { workspace = true, optional = true }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
rayon = ["dep:rayon"]
|
concurrent = ["dep:rayon"]
|
||||||
|
|
|
||||||
|
|
@ -74,7 +74,7 @@ oxc_span = { workspace = true, optional = true }
|
||||||
oxc_tasks_common = { workspace = true, optional = true }
|
oxc_tasks_common = { workspace = true, optional = true }
|
||||||
oxc_transformer = { workspace = true, optional = true }
|
oxc_transformer = { workspace = true, optional = true }
|
||||||
oxc_codegen = { workspace = true, optional = true }
|
oxc_codegen = { workspace = true, optional = true }
|
||||||
oxc_sourcemap = { workspace = true, features = ["rayon"], optional = true }
|
oxc_sourcemap = { workspace = true, features = ["concurrent"], optional = true }
|
||||||
|
|
||||||
criterion = { package = "criterion2", version = "0.8.0", default-features = false }
|
criterion = { package = "criterion2", version = "0.8.0", default-features = false }
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue