mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-26 11:59:10 +00:00
Replace row/column based Location
with byte-offsets. (#3931)
This commit is contained in:
parent
ee91598835
commit
cab65b25da
418 changed files with 6203 additions and 7040 deletions
|
@ -6,7 +6,7 @@ edition = { workspace = true }
|
|||
rust-version = { workspace = true }
|
||||
|
||||
[dependencies]
|
||||
ruff_text_size = { path = "../ruff_text_size" }
|
||||
ruff_text_size = { workspace = true }
|
||||
|
||||
drop_bomb = { version = "0.1.5" }
|
||||
rustc-hash = { workspace = true }
|
||||
|
@ -19,4 +19,5 @@ unicode-width = { version = "0.1.10" }
|
|||
insta = { workspace = true }
|
||||
|
||||
[features]
|
||||
serde = ["dep:serde", "schemars"]
|
||||
serde = ["dep:serde", "ruff_text_size/serde"]
|
||||
schemars = ["dep:schemars", "ruff_text_size/schemars"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue