Crate jubako

Crate jubako 

Source

Modules§

creator
reader
tools

Macros§

layout_builder
properties
variants

Structs§

Bound
ContentAddress
ContentIdx
EntryCount
EntryIdx
Error
FileSource
Offset
A offset used Jubako. We handling content in 64 bits space. We cannot use a usize as it is arch dependent.
PackId
PropertyCount
PropertyIdx
Reader
Size
A size used in Jubako. We handling content in 64 bits space. We cannot use a usize as it is arch dependent. Let’s define our own type.
SmallBytes
SmallString
A SmallVec which is guaranty to be a value utf8 content.
Utf8Path
A slice of a UTF-8 path (akin to str).
Utf8PathBuf
An owned, mutable UTF-8 path (akin to String).
VariantIdx
VendorId
Vow

Enums§

CompressionType
ErrorKind
Kind of error returned by Jubako.
MayRef
MayRef is a mix between a Cow and AsRef. It is a enum as Cow but with only one feature : AsRef/Deref. In opposition to Cow which has a to_owned and so enforce a clone on T, MayRef inforce nothing on the (potentially) owned type.
Value

Traits§

Pack
A Pack is the more global entity in Jubako. It is a “File”, which can be a single file in the fs or embedded in another file.
PropertyName
VariantName

Type Aliases§

EntryRange
Result