kellnr-settings 6.9.0

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
// Minimal size of a crate and its documentation.
pub const MIN_BODY_CRATE_AND_DOC_BYTES: usize = 10;

// Name of the cookie set on the client to identify a current session.
pub const COOKIE_SESSION_ID: &str = "kellnr_session_id";

pub const COOKIE_SESSION_USER: &str = "kellnr_session_user";

pub const COOKIE_OIDC_ID_TOKEN: &str = "kellnr_oidc_id_token";