rustywind_core/
lib.rs

1//! The functionality you need is in the [`sorter`] module.
2//! Call [`sorter::sort_file_contents`] with the file contents and the sorter options.
3//!
4//! The [`parser`] module contains the functions to parse the classes from a file.
5//! The [`parser::parse_classes_from_file`] function will return a `HashMap<String, usize>` with the classes and their order.
6//!
7//! You can use this to create a custom sorter. Using this customer sorter you can call [`sorter::sort_file_contents`].
8pub(crate) mod app;
9pub mod class_wrapping;
10pub mod consts;
11pub mod defaults;
12pub mod parser;
13pub mod sorter;
14
15pub type RustyWind = app::RustyWind;