sophus_tensor 0.15.0

Dynamic-size tensors of static-size tensors
Documentation
1
2
3
4
5
6
7
8
9
10
fn main() {
    println!("cargo:rustc-check-cfg=cfg(nightly)"); // Declares 'nightly' as a valid cfg condition

    let is_nightly =
        rustc_version::version_meta().unwrap().channel == rustc_version::Channel::Nightly;

    if is_nightly {
        println!("cargo:rustc-cfg=nightly");
    }
}