pub fn as_bytes(json: &str) -> &[u8] ⓘExpand description
Return the raw bytes of the ironprint JSON string.
Because ironprint.json is already normalised (sorted keys, no whitespace,
no absolute paths) at build time, the returned bytes are stable and
deterministic across equivalent builds.
ⓘ
const IRONPRINT: &str = include_str!(concat!(env!("OUT_DIR"), "/ironprint.json"));
let bytes: &[u8] = toolkit_zero::dependency_graph::capture::as_bytes(IRONPRINT);