Skip to main content

WRAPPER_VERSION

Constant WRAPPER_VERSION 

Source
pub const WRAPPER_VERSION: &str = "0.5.34";
Expand description

What: The crate version printed in the banner. env! reads a Cargo-provided environment variable while compiling. Why: The banner must name the wrapper build that answered, and the manifest is the one place that version lives.

In TS you’d write (pseudocode):

const WRAPPER_VERSION = packageJson.version;