Skip to main content

parse_binary_version

Function parse_binary_version 

Source
pub fn parse_binary_version(output: &str) -> Result<CoreVersion, PortError>
Expand description

Parses the first line of sing-box -v output into the canonical v<major>.<minor>.<patch> identity used by operation evidence locks.