INNER CODE UNIT · Rust

nonstandard_features_string

ogham/dog · build.rs:136

fn nonstandard_features_string() -> String {
    let mut s = Vec::new();

    if ! feature_enabled("WITH_IDNA") {
        s.push("-idna");
    }

    if ! feature_enabled("WITH_TLS") {
        s.push("-tls");
    }

    if ! feature_enabled("WITH_HTTPS") {
        s.push("-https");
    }

    s.join(", ")
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…