diff options
| author | Igor Tolmachev <me@igorek.dev> | 2024-06-15 03:30:50 +0900 |
|---|---|---|
| committer | Igor Tolmachev <me@igorek.dev> | 2024-06-23 15:34:34 +0900 |
| commit | f8c3c93824645a807d28b760855b4676ea479720 (patch) | |
| tree | 1f91838c2abcb3b0683a061f892b8e2835be4fa1 /src/structs/ser.rs | |
| parent | bd77f62e99a5300dfa52aef3a7040414b28ebfd6 (diff) | |
| download | archivator-f8c3c93824645a807d28b760855b4676ea479720.tar.gz archivator-f8c3c93824645a807d28b760855b4676ea479720.zip | |
Add simple zip reader
Diffstat (limited to 'src/structs/ser.rs')
| -rw-r--r-- | src/structs/ser.rs | 6 |
1 files changed, 6 insertions, 0 deletions
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 | } | ||
