layout 0.0.1

Optimized memory layout using struct of array, Data-oriented design in Rust, DOD SOA
Documentation
1
2
3
4
5
6
7
use rustc_version::Version;

fn main() {
    if rustc_version::version().unwrap() >= Version::parse("1.78.0").unwrap() {
        println!("cargo:rustc-cfg=rustc_is_at_least_1_78");
    }
}