diff options
| author | Igor Tolmachev <me@igorek.dev> | 2024-07-16 17:24:33 +0900 |
|---|---|---|
| committer | Igor Tolmachev <me@igorek.dev> | 2024-07-16 17:24:33 +0900 |
| commit | cc18a545a87ca616f05114d174690e5cc9614669 (patch) | |
| tree | 51ec845115754bb1d8b41d82e5349db5343a40ec /src/lib.rs | |
| parent | a83767f9fbd51df654901b52bdba7838f6a10bf9 (diff) | |
| download | archivator-cc18a545a87ca616f05114d174690e5cc9614669.tar.gz archivator-cc18a545a87ca616f05114d174690e5cc9614669.zip | |
Optimize encryption
- Add archive for testing encryption of compressed files
- Implement incorrect password check
- Use custom crc32 function
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 6 |
1 files changed, 2 insertions, 4 deletions
| @@ -1,14 +1,12 @@ | |||
| 1 | mod archive; | 1 | mod archive; |
| 2 | mod driver; | ||
| 2 | mod error; | 3 | mod error; |
| 3 | mod file; | 4 | mod structs; |
| 4 | mod utils; | 5 | mod utils; |
| 5 | 6 | ||
| 6 | pub mod driver; | ||
| 7 | pub mod structs; | ||
| 8 | pub mod zip; | 7 | pub mod zip; |
| 9 | 8 | ||
| 10 | pub use archive::Archive; | 9 | pub use archive::Archive; |
| 11 | pub use error::{ArchiveError, ArchiveResult}; | 10 | pub use error::{ArchiveError, ArchiveResult}; |
| 12 | pub use file::ArchiveFile; | ||
| 13 | 11 | ||
| 14 | pub use zip::Zip; | 12 | pub use zip::Zip; |
