mirror of
https://github.com/oxc-project/oxc.git
synced 2026-09-14 19:36:11 +08:00
72c00f32ea
Migration from `tasks/prettier_conformance` to each crate test using `oxc_formatter_tests`, for YAML.
54 lines
1.4 KiB
TOML
54 lines
1.4 KiB
TOML
[package]
|
|
name = "oxc_formatter_tests"
|
|
version = "0.62.0"
|
|
authors.workspace = true
|
|
categories.workspace = true
|
|
edition.workspace = true
|
|
homepage.workspace = true
|
|
include = ["/src"]
|
|
keywords.workspace = true
|
|
license.workspace = true
|
|
publish = false
|
|
repository.workspace = true
|
|
rust-version.workspace = true
|
|
description.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
oxc_formatter_core = { workspace = true }
|
|
|
|
serde_json = { workspace = true }
|
|
|
|
oxc_allocator = { workspace = true, optional = true }
|
|
oxc_ast = { workspace = true, optional = true }
|
|
oxc_ast_visit = { workspace = true, optional = true }
|
|
oxc_parser = { workspace = true, optional = true }
|
|
oxc_span = { workspace = true, optional = true }
|
|
|
|
cow-utils = { workspace = true, optional = true }
|
|
rustc-hash = { workspace = true, optional = true }
|
|
similar = { workspace = true, optional = true }
|
|
walkdir = { workspace = true, optional = true }
|
|
|
|
[features]
|
|
# Prettier-conformance machinery (spec parsing needs the JS parser).
|
|
# Kept off by default so `[build-dependencies]` consumers (fixture codegen)
|
|
# never pull the parser into their build closure; enable from `[dev-dependencies]` only.
|
|
conformance = [
|
|
"dep:cow-utils",
|
|
"dep:oxc_allocator",
|
|
"dep:oxc_ast",
|
|
"dep:oxc_ast_visit",
|
|
"dep:oxc_parser",
|
|
"dep:oxc_span",
|
|
"dep:rustc-hash",
|
|
"dep:similar",
|
|
"dep:walkdir",
|
|
]
|
|
|
|
[lib]
|
|
doctest = false
|
|
test = false
|