//! Deterministic, rule-based formatter for the R language.
//!
//! This crate is the formatting engine of [arity](https://arity.cc),
//! extracted so that other tools (e.g. a dprint plugin) can embed it. Output
//! is decided solely by the formatter's rules and its best-fit layout engine;
//! the input's existing line breaks never influence the result. The target
//! style is the tidyverse R style guide.
//!
//! The entry points are [`format`] and [`format_with_style`], configured via
//! [`FormatStyle`]. With the `serde` feature, `FormatStyle` is
//! (de)serializable; the `schema` feature additionally derives
//! `schemars::JsonSchema`.
/// The `rowan` version this crate's CST types are built on.
///
/// [`format_range`] takes a `rowan::TextRange`, so an embedder has to be able
/// to name it. Re-exporting the dependency keeps that caller version-matched
/// with us instead of making them guess a compatible `rowan` in their own
/// `Cargo.toml`.
pub use rowan;
pub use ;