FORMAT_VERSION in rustdoc_json_types - Rust
Description: The version of JSON output that this crate represents.

Skip to main content

## FORMAT_VERSION

# Constant FORMAT_VERSION

Source

    pub const FORMAT_VERSION: u32 = 57;

Expand description

The version of JSON output that this crate represents.

This integer is incremented with every breaking change to the API, and is returned along with the JSON blob as `Crate::format_version`. Consuming code should assert that this value matches the format version(s) that it supports.