Skip to content

primetype/packtool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

packtool

Continuous Health Check

Rust's tooling to write packed objects. Objects that can be packed into specific serialization format of fixed size.

Requires Rust 1.96.0 or newer.

Example

bitcoin block header

a simple example of the bitcoin block header format parsing is available in the examples directory.

$ cargo run --example bitcoin

tar

a very simplified implementation of the TAR archive file format is implemented in the examples directory.

$ tar -cf example.tar README.md Cargo.toml
$ cargo run --example tar
compressed file: README.md (967 bytes)
compressed file: Cargo.toml (885 bytes)

License

This project is licensed under the MIT OR Apache-2.0 dual license.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in packtool by you, shall be licensed as MIT OR Apache-2.0 dual license, without any additional terms or conditions.

About

rust library to serialise static length objects

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

1 star

Watchers

1 watching

Forks

Packages

 
 
 

Contributors

Languages