mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-03 10:23:11 +00:00

## Summary This crate now contains utilities for dealing with trivia more broadly: whitespace, newlines, "simple" trivia lexing, etc. So renaming it to reflect its increased responsibilities. To avoid conflicts, I've also renamed `Token` and `TokenKind` to `SimpleToken` and `SimpleTokenKind`.
39 lines
1 KiB
TOML
39 lines
1 KiB
TOML
[package]
|
|
name = "ruff_python_ast"
|
|
version = "0.0.0"
|
|
publish = false
|
|
authors = { workspace = true }
|
|
edition = { workspace = true }
|
|
rust-version = { workspace = true }
|
|
homepage = { workspace = true }
|
|
documentation = { workspace = true }
|
|
repository = { workspace = true }
|
|
license = { workspace = true }
|
|
|
|
[lib]
|
|
|
|
[dependencies]
|
|
ruff_python_trivia = { path = "../ruff_python_trivia" }
|
|
ruff_text_size = { workspace = true }
|
|
|
|
anyhow = { workspace = true }
|
|
bitflags = { workspace = true }
|
|
is-macro = { workspace = true }
|
|
itertools = { workspace = true }
|
|
log = { workspace = true }
|
|
memchr = { workspace = true }
|
|
num-bigint = { workspace = true }
|
|
num-traits = { workspace = true }
|
|
once_cell = { workspace = true }
|
|
rustc-hash = { workspace = true }
|
|
rustpython-literal = { workspace = true }
|
|
rustpython-parser = { workspace = true }
|
|
rustpython-ast = { workspace = true }
|
|
serde = { workspace = true, optional = true }
|
|
smallvec = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
insta = { workspace = true }
|
|
|
|
[features]
|
|
serde = ["dep:serde", "ruff_text_size/serde"]
|