oxc/apps/oxlint/Cargo.toml
Boshen 21505e885c refactor(cli): move crates/oxc_cli to apps/oxlint (#3413)
We need to split the cli crate up to reduce dependencies,
the current cli crate is pulling in `oxc_prettier`, which is redundant
for the linter.
2024-05-26 05:00:30 +00:00

47 lines
1.3 KiB
TOML

[package]
name = "oxlint"
version = "0.0.0"
publish = false
authors.workspace = true
description.workspace = true
edition.workspace = true
homepage.workspace = true
keywords.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
categories.workspace = true
[lints]
workspace = true
[lib]
doctest = false
[[bin]]
name = "oxlint"
path = "src/main.rs"
test = false
[target.'cfg(not(target_env = "msvc"))'.dependencies]
jemallocator = { workspace = true, optional = true }
[target.'cfg(target_os = "windows")'.dependencies]
mimalloc = { workspace = true, optional = true }
[dependencies]
oxc_diagnostics = { workspace = true }
oxc_linter = { workspace = true }
oxc_span = { workspace = true }
glob = { workspace = true }
ignore = { workspace = true, features = ["simd-accel"] }
miette = { workspace = true }
tempfile = { workspace = true }
rayon = { workspace = true }
bpaf = { workspace = true, features = ["autocomplete", "bright-color", "derive"] }
tracing-subscriber = { workspace = true, features = [] } # Omit the `regex` feature
[features]
default = []
allocator = ["dep:jemallocator", "dep:mimalloc"]