kellnr-registry 5.14.1

Kellnr is a self-hosted registry for Rust crates with support for rustdocs and crates.io caching.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize, Debug)]
pub struct YankSuccess {
    ok: bool,
}

impl YankSuccess {
    pub fn new() -> Self {
        Self::default()
    }
}

impl Default for YankSuccess {
    fn default() -> Self {
        Self { ok: true }
    }
}