zip-rs-wasm/src/build.rs
2024-05-15 17:47:20 -07:00

7 lines
239 B
Rust

use std::env::var;
fn main() {
if var("CARGO_FEATURE_DEFLATE_MINIZ").is_ok() && var("CARGO_FEATURE__ALL_FEATURES").is_err() {
println!("cargo:warning=Feature `deflate-miniz` is deprecated; replace it with `deflate`");
}
}