manifile

Crates.iomanifile
lib.rsmanifile
version0.0.0
sourcesrc
created_at2024-05-24 07:03:20.234585
updated_at2024-05-24 07:03:20.234585
descriptionGeneric purpose append only manifest file implementation.
homepagehttps://github.com/al8n/manifile
repositoryhttps://github.com/al8n/manifile
max_upload_size
id1250745
size90,725
Al Liu (al8n)

documentation

https://docs.rs/manifile

README

Manifile

Generic purpose append only manifest file implementation.

github LoC Build codecov

docs.rs crates.io crates.io

license

English | 简体中文

Installation

[dependencies]
manifile = "0.0.0"

File Structure

+----------------------+--------------------------+-----------------------+
| magic text (4 bytes) | external magic (2 bytes) | magic (2 bytes)       |
+----------------------+--------------------------+-----------------------+-----------------------+-----------------------+
| op (1 bit)           | custom flag (7 bits)     | len (4 bytes)         | data (N bytes)        | checksum (4 bytes)    |
+----------------------+--------------------------+-----------------------+-----------------------+-----------------------+
| op (1 bit)           | custom flag (7 bits)     | len (4 bytes)         | data (N bytes)        | checksum (4 bytes)    |
+----------------------+--------------------------+-----------------------+-----------------------+-----------------------+
| ...                  | ...                      | ...                   | ...                   | ...                   |
+----------------------+--------------------------+-----------------------+-----------------------+-----------------------+

License

manifile is under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE, LICENSE-MIT for details.

Copyright (c) 2024 Al Liu.

Commit count: 10

cargo fmt