mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
docs(oxc): include feature-guarded modules in docs.rs (#6012)
This commit is contained in:
parent
c77cd24fec
commit
18371dda3d
1 changed files with 19 additions and 2 deletions
|
|
@ -45,7 +45,16 @@ oxc_syntax = { workspace = true }
|
||||||
oxc_transformer = { workspace = true, optional = true }
|
oxc_transformer = { workspace = true, optional = true }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
full = ["codegen", "mangler", "minifier", "semantic", "transformer", "isolated_declarations", "sourcemap", "cfg"]
|
full = [
|
||||||
|
"codegen",
|
||||||
|
"mangler",
|
||||||
|
"minifier",
|
||||||
|
"semantic",
|
||||||
|
"transformer",
|
||||||
|
"isolated_declarations",
|
||||||
|
"sourcemap",
|
||||||
|
"cfg",
|
||||||
|
]
|
||||||
|
|
||||||
semantic = ["oxc_semantic"]
|
semantic = ["oxc_semantic"]
|
||||||
transformer = ["oxc_transformer"]
|
transformer = ["oxc_transformer"]
|
||||||
|
|
@ -54,7 +63,12 @@ codegen = ["oxc_codegen"]
|
||||||
mangler = ["oxc_mangler"]
|
mangler = ["oxc_mangler"]
|
||||||
cfg = ["oxc_cfg"]
|
cfg = ["oxc_cfg"]
|
||||||
|
|
||||||
serialize = ["oxc_ast/serialize", "oxc_semantic?/serialize", "oxc_span/serialize", "oxc_syntax/serialize"]
|
serialize = [
|
||||||
|
"oxc_ast/serialize",
|
||||||
|
"oxc_semantic?/serialize",
|
||||||
|
"oxc_span/serialize",
|
||||||
|
"oxc_syntax/serialize",
|
||||||
|
]
|
||||||
|
|
||||||
sourcemap = ["oxc_sourcemap"]
|
sourcemap = ["oxc_sourcemap"]
|
||||||
sourcemap_concurrent = ["oxc_sourcemap/concurrent", "sourcemap"]
|
sourcemap_concurrent = ["oxc_sourcemap/concurrent", "sourcemap"]
|
||||||
|
|
@ -62,3 +76,6 @@ sourcemap_concurrent = ["oxc_sourcemap/concurrent", "sourcemap"]
|
||||||
isolated_declarations = ["oxc_isolated_declarations"]
|
isolated_declarations = ["oxc_isolated_declarations"]
|
||||||
|
|
||||||
wasm = ["oxc_transformer/wasm"]
|
wasm = ["oxc_transformer/wasm"]
|
||||||
|
|
||||||
|
[package.metadata.docs.rs]
|
||||||
|
all-features = true
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue