pac2 0.1.0

A simple, fast packfile format.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use pac2;

use pac2::PacfileBuilder;

fn main() {
    let mut builder = PacfileBuilder::new();
    builder.add("src/main.rs".to_owned(), "src/main.rs".to_owned());
    builder.add(
        "src/proto/index.rs".to_owned(),
        "src/proto/index.rs".to_owned(),
    );
    builder.sort();
    builder.build("data.p2i").unwrap();
}