Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
71 lines (63 loc) · 1.83 KB
/
Copy pathCargo.toml
File metadata and controls
71 lines (63 loc) · 1.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[package]
name = "ruff_python_formatter"
version = "0.0.11"
description = "This is an internal component crate of Ruff"
authors = { workspace = true }
edition = { workspace = true }
rust-version = { workspace = true }
homepage = { workspace = true }
documentation = { workspace = true }
repository = { workspace = true }
license = { workspace = true }
[package.metadata.cargo-shear]
# Used via `CacheKey` macro expansion.
ignored = ["ruff_cache"]
[lib]
doctest = false
[dependencies]
ruff_cache = { workspace = true }
ruff_db = { workspace = true }
ruff_formatter = { workspace = true }
ruff_macros = { workspace = true }
ruff_python_ast = { workspace = true }
ruff_python_parser = { workspace = true }
ruff_python_trivia = { workspace = true }
ruff_source_file = { workspace = true }
ruff_text_size = { workspace = true }
anyhow = { workspace = true }
clap = { workspace = true }
countme = { workspace = true }
itertools = { workspace = true }
memchr = { workspace = true }
regex = { workspace = true }
rustc-hash = { workspace = true }
salsa = { workspace = true }
schemars = { workspace = true, optional = true }
serde = { workspace = true, optional = true }
serde_json = { workspace = true, optional = true }
smallvec = { workspace = true }
static_assertions = { workspace = true }
thiserror = { workspace = true }
tracing = { workspace = true }
[dev-dependencies]
datatest-stable = { workspace = true }
insta = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
similar = { workspace = true }
[features]
default = ["serde"]
serde = [
"dep:serde",
"ruff_formatter/serde",
"ruff_source_file/serde",
"ruff_python_ast/serde",
]
schemars = ["dep:schemars", "dep:serde_json", "ruff_formatter/schemars"]
[[test]]
name = "fixtures"
harness = false
test = true
required-features = ["serde"]
[lints]
workspace = true