cbz
A Rust crate that allows you to read and write cbz, cbt, cb7 files, with ComicInfo.xml metadata.
Features flag
cbz: support forcbzreader and writercbt: support forcbtreader and writercb7: support forcb7reader and writerlog: logging...comicinfo: support forComicInfo.xmlmetadata
None of these features is enabled by default.
Examples
Reading a cbz file
use ;
Writing a cbz file
use ;
use ;
Custom reader and writer implementations.
You can make your own reader via the cbz::read::ComicBookReader trait. For writer, check the cbz::read::ComicBookWriter trait.
References and acknowledgement:
- cbz pip created by @hyugogirubato
- anansi-project/comicinfo for the
ComicInfo.xmlspecification
License
MIT or Apache 2.0 (at your choice)