prosesmasher-app-core 0.1.7

Internal core checks crate for the prosesmasher workspace. Published to support the workspace dependency graph.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
pub mod paragraph_length;
pub mod word_repetition;

pub use paragraph_length::ParagraphLengthCheck;
pub use word_repetition::WordRepetitionCheck;

use crate::check::BoxedCheck;

/// All prose-flow checks.
#[must_use]
pub fn all_checks() -> Vec<BoxedCheck> {
    vec![Box::new(ParagraphLengthCheck), Box::new(WordRepetitionCheck)]
}