Files
oxc-project__oxc/crates/oxc/Cargo.toml
oxc-guard 0389c4010e release(crates): oxc v0.146.0 (#25912)
### 🚀 Features

- 83cb516 minifier: Improve negation of expressions in boolean context (#25755) (Armano)

### 🐛 Bug Fixes

- 134fb22 isolated-declarations: Preserve unresolved parameter types (#25909) (Dunqing)
- 526c2b3 codegen: Remove deprecated test APIs (#25889) (camc314)
- 344a9b2 codegen: Align enum template sourcemaps (#25872) (camc314)

### ⚡ Performance

- 5ef0c93 minifier: Unwrap all unary exprs without creating dummy expressions (#25891) (Armano)
- 8783524 packages/codegen: Remove loop from `growMappingBuffer` (#25886) (overlookmotel)
- b6b14c0 packages/codegen: Remove redundant branch (#25885) (overlookmotel)
- be6adf0 packages/sourcemap: Make `location` passed to `recordSourceMapping` always a number (#25884) (overlookmotel)
- f720f15 packages/codegen: Take named-mapping only code off hot path in `recordSourceMapping` (#25883) (overlookmotel)
- a734af5 packages/codegen: Remove redundant setting of `last` in `printImportAttributes` and `printIf` (#25882) (overlookmotel)
- c6e44c6 packages/codegen: Combine 2 writes in `printJSXElement` (#25881) (overlookmotel)
- 8801662 packages/codegen: Remove redundant mapping from `printParams` (#25880) (overlookmotel)

### 📚 Documentation

- 5ad330e packages/codegen: Reformat comments (#25876) (overlookmotel)
2026-08-19 08:29:51 +00:00

85 lines
2.2 KiB
TOML

[package]
name = "oxc"
version = "0.146.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
homepage.workspace = true
include = ["/src"]
keywords.workspace = true
license.workspace = true
publish = true
repository.workspace = true
rust-version.workspace = true
description.workspace = true
[lints]
workspace = true
[lib]
test = false
doctest = false
[[example]]
name = "compiler"
path = "examples/compiler.rs"
required-features = ["full"]
[dependencies]
oxc_allocator = { workspace = true }
oxc_ast = { workspace = true }
oxc_ast_visit = { workspace = true, optional = true }
oxc_cfg = { workspace = true, optional = true }
oxc_codegen = { workspace = true, optional = true }
oxc_diagnostics = { workspace = true }
oxc_isolated_declarations = { workspace = true, optional = true }
oxc_mangler = { workspace = true, optional = true }
oxc_minifier = { workspace = true, optional = true }
oxc_parser = { workspace = true, features = [] }
oxc_regular_expression = { workspace = true, optional = true }
oxc_semantic = { workspace = true, optional = true }
oxc_span = { workspace = true }
oxc_str = { workspace = true }
oxc_syntax = { workspace = true }
oxc_transformer = { workspace = true, optional = true }
oxc_transformer_plugins = { workspace = true, optional = true }
[features]
default = ["regular_expression"]
full = [
"codegen",
"mangler",
"minifier",
"semantic",
"transformer",
"isolated_declarations",
"ast_visit",
"regular_expression",
]
semantic = ["oxc_semantic"]
transformer = ["oxc_transformer", "oxc_transformer_plugins"]
minifier = ["oxc_mangler", "oxc_minifier"]
codegen = ["oxc_codegen", "oxc_codegen/sourcemap"]
mangler = ["oxc_mangler"]
cfg = ["oxc_cfg", "oxc_semantic/cfg"]
isolated_declarations = ["oxc_isolated_declarations"]
ast_visit = ["oxc_ast_visit"]
regular_expression = ["oxc_regular_expression", "oxc_parser/regular_expression"]
serialize = [
"oxc_allocator/from_raw_parts",
"oxc_ast/serialize",
"oxc_ast_visit/serialize",
"oxc_semantic?/serialize",
"oxc_span/serialize",
"oxc_syntax/serialize",
]
# Only for conformance tests
conformance = ["oxc_ast_visit/conformance"]
[package.metadata.docs.rs]
all-features = true