Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
58 lines (52 loc) · 1.68 KB
/
Copy pathCargo.toml
File metadata and controls
58 lines (52 loc) · 1.68 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
[package]
description = "Unofficial fork for RustPython"
name = "rustpython-ruff_python_ast"
version = "0.16.5"
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]
name = "ruff_python_ast"
[dependencies]
# Not published: RustPython does not use the cache and salsa features.
# ruff_cache = { workspace = true, optional = true }
# ruff_macros = { workspace = true, optional = true }
ruff_python_trivia = { workspace = true }
ruff_source_file = { workspace = true }
ruff_text_size = { workspace = true }
aho-corasick = { workspace = true }
arrayvec = { workspace = true }
bitflags = { workspace = true }
char_str = { workspace = true }
compact_str = { workspace = true }
get-size2 = { workspace = true, optional = true }
is-macro = { workspace = true }
memchr = { workspace = true }
rustc-hash = { workspace = true }
# salsa = { workspace = true, optional = true }
schemars = { workspace = true, optional = true }
serde = { workspace = true, optional = true }
serde_json = { workspace = true, optional = true }
thiserror = { workspace = true }
thin-vec = { workspace = true }
[features]
schemars = ["dep:schemars", "dep:serde_json"]
# cache = ["dep:ruff_cache", "dep:ruff_macros"]
serde = [
"dep:serde",
"ruff_text_size/serde",
"char_str/serde",
"compact_str/serde",
"thin-vec/serde",
]
get-size = ["dep:get-size2", "char_str/get-size", "ruff_text_size/get-size"]
# salsa = ["dep:salsa"]
[lints]
workspace = true