openbao 1.0.2

Secure, typed, async Rust SDK for OpenBao
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Build-time safety warnings for feature combinations that deserve attention.

fn main() {
    if std::env::var_os("CARGO_FEATURE_TLS12_ACKNOWLEDGED").is_some() {
        println!(
            "cargo:warning=TLS 1.2 support has been acknowledged. TLS 1.3 remains the default and is strongly preferred for high-security OpenBao deployments."
        );
    }
    if std::env::var_os("CARGO_FEATURE_SENSITIVE_HTTP_TEST_ONLY").is_some() {
        println!(
            "cargo:warning=DANGER: sensitive-http-test-only disables HTTPS enforcement for sensitive loopback requests. Never include this feature in production builds."
        );
    }
}