swayfmt/lib.rs
//! Based on `rustfmt`, `swayfmt` aims to be a transparent approach to formatting Sway code.
//!
//! `swayfmt` configurations can be adjusted with a `swayfmt.toml` config file declared at the root of a Sway project,
//! however the default formatter does not require the presence of one and any fields omitted will remain as default.
#![allow(dead_code)]
pub mod comments;
pub mod config;
mod constants;
mod error;
mod formatter;
mod items;
mod module;
pub mod parse;
mod utils;
pub use crate::formatter::{Format, Formatter};
pub use error::FormatterError;