ggemini 0.20.0

Glib/Gio-oriented network API for Gemini protocol
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/// Mutable bytes count
pub struct Size {
    pub chunk: usize,
    pub limit: usize,
    pub total: usize,
}

impl Default for Size {
    fn default() -> Self {
        Self {
            chunk: 0x10000, // 64KB
            limit: 0xfffff, // 1 MB
            total: 0,
        }
    }
}