mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
Using `FxHashMap` is faster than `HashMap` in many cases, especially for hashing-heavy workloads. This change improves the performance of the linter, prettier, and diagnostics crates by using `FxHashMap` instead of `std::collections::HashMap`.
35 lines
758 B
TOML
35 lines
758 B
TOML
[package]
|
|
name = "oxc_prettier"
|
|
version = "0.0.0"
|
|
authors.workspace = true
|
|
categories.workspace = true
|
|
edition.workspace = true
|
|
homepage.workspace = true
|
|
include = ["/examples", "/src"]
|
|
keywords.workspace = true
|
|
license.workspace = true
|
|
publish = false
|
|
repository.workspace = true
|
|
rust-version.workspace = true
|
|
description.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
doctest = false
|
|
|
|
[dependencies]
|
|
oxc_allocator = { workspace = true }
|
|
oxc_ast = { workspace = true }
|
|
oxc_span = { workspace = true }
|
|
oxc_syntax = { workspace = true }
|
|
|
|
bitflags = { workspace = true }
|
|
cow-utils = { workspace = true }
|
|
rustc-hash = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
oxc_parser = { workspace = true }
|
|
oxc_span = { workspace = true }
|
|
pico-args = { workspace = true }
|