koban 0.2.1

A Rust client library for the Invoice Ninja API, built for humans and AI agents
Documentation
1
2
3
4
5
6
7
8
pub fn redact(input: impl Into<String>, token: &str) -> String {
    let input = input.into();
    if token.trim().is_empty() {
        input
    } else {
        input.replace(token, "[REDACTED]")
    }
}