warrah 0.1.0

Warrah: A command-line utility and Rust library that sloppily removes code comments from a text file, supporting 60+ programming languages.
1
2
3
4
5
6
7
8
9
10
11
#[derive(Debug)]
#[doc(hidden)]
pub struct Language {
    // disable dead code warning for this field
    #[allow(dead_code)]
    pub name: String,
    pub extensions: Vec<String>,
    pub file_names: Vec<String>,
    pub single_line_comments: Vec<String>,
    pub multi_line_comments: Vec<(String, String)>,
}