Crate paperdoll_tar

Crate paperdoll_tar 

Source
Expand description

Tar archive container format for paperdoll.

§Examples

use paperdoll_tar::paperdoll;

let factory = paperdoll::PaperdollFactory::default();

paperdoll_tar::save(&mut factory.to_manifest(), "/path/to/save/your.ppd");

let factory = paperdoll_tar::load("/path/to/save/your.ppd").unwrap();

Re-exports§

pub use paperdoll;

Constants§

EXTENSION_NAME
The file extension.
FILE_NAME_MANIFEST
The file name of the manifest file saved in the ppd file.

Functions§

load
Loads a paperdoll project from the path of a ppd file.
read
Reads a paperdoll project from a reader containing the bytes of a ppd file.
save
Saves a ppd file using the given manifest to the path.