mirror of
https://github.com/danbulant/oxc
synced 2026-05-19 12:19:15 +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 }
|
||||
|
||||
[features]
|
||||
full = ["codegen", "mangler", "minifier", "semantic", "transformer", "isolated_declarations", "sourcemap", "cfg"]
|
||||
full = [
|
||||
"codegen",
|
||||
"mangler",
|
||||
"minifier",
|
||||
"semantic",
|
||||
"transformer",
|
||||
"isolated_declarations",
|
||||
"sourcemap",
|
||||
"cfg",
|
||||
]
|
||||
|
||||
semantic = ["oxc_semantic"]
|
||||
transformer = ["oxc_transformer"]
|
||||
|
|
@ -54,7 +63,12 @@ codegen = ["oxc_codegen"]
|
|||
mangler = ["oxc_mangler"]
|
||||
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_concurrent = ["oxc_sourcemap/concurrent", "sourcemap"]
|
||||
|
|
@ -62,3 +76,6 @@ sourcemap_concurrent = ["oxc_sourcemap/concurrent", "sourcemap"]
|
|||
isolated_declarations = ["oxc_isolated_declarations"]
|
||||
|
||||
wasm = ["oxc_transformer/wasm"]
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
all-features = true
|
||||
|
|
|
|||
Loading…
Reference in a new issue