summaryrefslogtreecommitdiff
path: root/src/options.rs
blob: 3b36e520d1fb03f9c169d9dd5c3afc586e2ec969 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
pub struct Options {
    pub latin1_as_utf8: bool,
    pub file: String,
}

impl Default for Options {
    fn default() -> Self {
        Options {
            latin1_as_utf8: false,
            file: String::new(),
        }
    }
}

pub struct EncodingOptions {
    pub latin1_as_utf8: bool,
}