diff options
Diffstat (limited to 'src/structs')
| -rw-r--r-- | src/structs/de.rs | 0 | ||||
| -rw-r--r-- | src/structs/mod.rs | 2 | ||||
| -rw-r--r-- | src/structs/ser.rs | 6 |
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 @@ | |||
| 1 | mod de; | ||
| 2 | mod 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 @@ | |||
| 1 | use crate::ArchiveError; | ||
| 2 | use serde::{ser, Serialize}; | ||
| 3 | |||
| 4 | pub struct ArchiveSerializer { | ||
| 5 | bin: Vec<u8>, | ||
| 6 | } | ||
