pub fn parse_and_compare(current: &str, body: &str) -> Option<String>Expand description
Compare a latest.json body against the current compiled-in version.
current is expected in vMAJOR.MINOR.PATCH form; body is the raw
JSON manifest. Returns Some(latest) only when the body deserializes
cleanly AND its version is strictly greater than current. Returns
None for same-or-older versions, malformed JSON, HTML responses, or
any other noise.