Skip to main content

VERSION

Constant VERSION 

Source
pub const VERSION: &str = "0.1.1";
Expand description

The version of this crate, as Cargo.toml states it.

env!("CARGO_PKG_VERSION") answers only for the crate it is written in, and a consumer’s cache key needs the parser’s version: a summary written by another grammar is a wrong answer, not a missing one. This is the one place that reads the number, so the key and the package cannot disagree.