pub fn version() -> Result<Version>
This is supported on crate feature version only.
Expand description

Parse cargo web --version

Examples

let v = cargo_web::version().unwrap();
assert_eq!(v.tool_name, "cargo-web");