Module version

Version information

The information is recovered from Cargo.toml and git describe, when available.

use rav1e::version;
use semver::Version;

let major = version::major();
let minor = version::minor();
let patch = version::patch();

let short = version::short();

let v1 = Version::new(major, minor, patch);
let v2 = Version::parse(&short).unwrap();

assert_eq!(v1.major, v2.major);

Functions