boox-note-parser 0.2.0

A Rust library for parsing .note files from Onyx Boox e-ink devices.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct FileMetadata {
    pub path: String,
    pub size_bytes: u64,
}

#[derive(Debug, Clone, PartialEq, Eq)]
pub struct TocMetadata {
    pub exists: bool,
    pub files: Vec<FileMetadata>,
}

#[derive(Debug, Clone, PartialEq, Eq)]
pub struct NoteAssetsMetadata {
    pub toc: TocMetadata,
    pub preview: Option<FileMetadata>,
}