aboutsummaryrefslogtreecommitdiff
path: root/src/structs
diff options
context:
space:
mode:
authorIgor Tolmachev <me@igorek.dev>2024-06-15 03:30:50 +0900
committerIgor Tolmachev <me@igorek.dev>2024-06-23 15:34:34 +0900
commitf8c3c93824645a807d28b760855b4676ea479720 (patch)
tree1f91838c2abcb3b0683a061f892b8e2835be4fa1 /src/structs
parentbd77f62e99a5300dfa52aef3a7040414b28ebfd6 (diff)
downloadarchivator-f8c3c93824645a807d28b760855b4676ea479720.tar.gz
archivator-f8c3c93824645a807d28b760855b4676ea479720.zip
Add simple zip reader
Diffstat (limited to 'src/structs')
-rw-r--r--src/structs/de.rs0
-rw-r--r--src/structs/mod.rs2
-rw-r--r--src/structs/ser.rs6
3 files changed, 8 insertions, 0 deletions
diff --git a/src/structs/de.rs b/src/structs/de.rs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/structs/de.rs
diff --git a/src/structs/mod.rs b/src/structs/mod.rs
new file mode 100644
index 0000000..d7e9daa
--- /dev/null
+++ b/src/structs/mod.rs
@@ -0,0 +1,2 @@
1mod de;
2mod ser;
diff --git a/src/structs/ser.rs b/src/structs/ser.rs
new file mode 100644
index 0000000..a3fe291
--- /dev/null
+++ b/src/structs/ser.rs
@@ -0,0 +1,6 @@
1use crate::ArchiveError;
2use serde::{ser, Serialize};
3
4pub struct ArchiveSerializer {
5 bin: Vec<u8>,
6}