summaryrefslogtreecommitdiffstats
path: root/src/lib.rs
blob: 54bee5bc5e2189024b841f408b853e21d75e2bd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
mod plymouthd;
mod theme;

pub use plymouthd::Plymouthd;
pub use theme::Theme;

use std::io;

fn ini_to_io_err(e: ini::ini::Error) -> io::Error {
    match e {
        ini::ini::Error::Io(x) => x,
        ini::ini::Error::Parse(x) => io::Error::new(io::ErrorKind::InvalidData, x),
    }
}