compio_dns 0.1.3

Zero-overhead async DNS resolver for compio with smart caching. / 专为 compio 生态打造的零开销异步 DNS 解析器,内置智能缓存。
1
2
3
4
5
6
7
fn main() {
    println!("cargo:rerun-if-env-changed=RUSTFLAGS");
    let rustflags = std::env::var("RUSTFLAGS").unwrap_or_default();
    if !rustflags.contains("compio_dns") {
        println!("cargo:warning=⚠️ You must enable `compio_dns` cfg to integrate into compio ecosystem. / 必须使用 `--cfg compio_dns` 才能整合到 compio 生态。");
    }
}