You've already forked rust-ffmpeg
mirror of
https://github.com/encounter/rust-ffmpeg.git
synced 2026-03-30 11:37:01 -07:00
13 lines
227 B
Rust
13 lines
227 B
Rust
use std::env;
|
|
|
|
fn main() {
|
|
for (name, _value) in env::vars() {
|
|
if name.starts_with("DEP_FFMPEG_") {
|
|
println!(
|
|
r#"cargo:rustc-cfg=feature="{}""#,
|
|
name["DEP_FFMPEG_".len()..name.len()].to_lowercase()
|
|
);
|
|
}
|
|
}
|
|
}
|