1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
use serde::{Deserialize, Serialize};

pub mod constants;

// TODO move this and try adding a field for `writer`

#[derive(Clone, Deserialize, Serialize)]
pub struct IoMemoryDocument {
    pub start: usize,
    pub length: usize,
}