rerun-cli 0.27.0

Log images, point clouds, etc, and visualize them effortlessly
1
2
3
4
5
6
7
8
9
10
11
12
13
14
fn main() {
    re_build_tools::export_build_info_vars_for_crate("rerun-cli");

    // Warn about not using the `nasm` feature in a release build.
    let is_release = std::env::var("PROFILE") == Ok("release".to_owned());
    let has_nasm_feature = std::env::var("CARGO_FEATURE_NASM").is_ok();
    if is_release && !has_nasm_feature {
        println!(
            "cargo:warning=Rerun is compiled in release mode without the `nasm` feature activated. \
            Enabling the `nasm` feature is recommended for better video decoding performance. \
            This requires that the `nasm` CLI is installed and available in the current PATH."
        );
    }
}