mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-25 12:54:45 +00:00

This PR removes the dependency on `ruff_rowan` (i.e., Rome's fork of rust-analyzer's `rowan`), and in turn, trims out a lot of code in `ruff_formatter` that isn't necessary (or isn't _yet_ necessary) to power the autoformatter. We may end up pulling some of this back in -- TBD. For example, the autoformatter has its own comment representation right now, but we may eventually want to use the `comments.rs` data structures defined in `rome_formatter`.
12 lines
514 B
Rust
12 lines
514 B
Rust
pub use crate::builders::*;
|
|
pub use crate::format_element::document::Document;
|
|
pub use crate::format_element::tag::{LabelId, Tag, TagKind};
|
|
pub use crate::format_element::*;
|
|
pub use crate::format_extensions::{MemoizeFormat, Memoized};
|
|
pub use crate::formatter::Formatter;
|
|
pub use crate::printer::PrinterOptions;
|
|
|
|
pub use crate::{
|
|
best_fitting, dbg_write, format, format_args, write, Buffer as _, BufferExtensions, Format,
|
|
Format as _, FormatResult, FormatRule, FormatWithRule as _, SimpleFormatContext,
|
|
};
|