kellnr-settings 6.12.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
10
11
use provcfg::{ClapArgs, Configurable};
use serde::{Deserialize, Serialize};

#[derive(Debug, Default, Deserialize, Serialize, Eq, PartialEq, Clone, Configurable, ClapArgs)]
#[serde(default)]
#[configurable(clap_prefix = "webhooks")]
pub struct Webhooks {
    /// Refuse webhook deliveries to loopback, private and other non-public
    /// addresses. Link-local and cloud metadata addresses are always refused.
    pub block_private_targets: bool,
}