mirror of
https://github.com/astral-sh/ruff.git
synced 2026-11-22 17:43:09 +08:00
Co-authored-by: astral-automations-bot[bot] <305554984+astral-automations-bot[bot]@users.noreply.github.com> Co-authored-by: Brent Westbrook <36778786+ntBre@users.noreply.github.com>
58 lines
1.6 KiB
TOML
58 lines
1.6 KiB
TOML
[package]
|
|
name = "ruff_python_ast"
|
|
version = "0.0.23"
|
|
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]
|
|
|
|
[dependencies]
|
|
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",
|
|
"dep:ruff_cache",
|
|
"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
|