summaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorAgathe Porte <microjoe@microjoe.org>2020-07-12 00:34:37 +0200
committerAgathe Porte <microjoe@microjoe.org>2020-07-14 10:38:23 +0200
commit9fae66d7cdbba8fd68d835c23e2fd7739c185024 (patch)
tree78c9acab70f41a8ca4b580ff4ad8298c995bde8e /src/lib.rs
downloadplymouth-rs-9fae66d7cdbba8fd68d835c23e2fd7739c185024.tar.gz
plymouth-rs-9fae66d7cdbba8fd68d835c23e2fd7739c185024.zip
initial commit
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
new file mode 100644
index 0000000..54bee5b
--- /dev/null
+++ b/src/lib.rs
@@ -0,0 +1,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),
+ }
+} \ No newline at end of file