OCaml wire format DSL with EverParse 3D output for verified parsers
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(lint): replace Printf/Format with Fmt across remaining packages

Migrate Printf.sprintf to Fmt.str, Format.fprintf to Fmt.pf, and
Format.pp_print_string to Fmt.string across bundle, gpt, hap, homebrew,
jsonwt, matter, mbr, meross, paseto, precommit, publicsuffix, qemu,
retry, sdnv, slack, sle, space-packet, spake2, sqlite, squashfs, tar,
tc, tcf, tcpcl, tm, tomlt, tty, uslp, vlog, wal, wire, yamlrw, yamlt,
osrelease, space, xdge, and crypto test runner.

+1 -1
+1 -1
lib/wire.ml
··· 273 273 let arr = Array.of_list variants in 274 274 let decode n = 275 275 if n >= 0 && n < Array.length arr then arr.(n) 276 - else invalid_arg (Printf.sprintf "Wire.cases: unknown value %d" n) 276 + else invalid_arg (Fmt.str "Wire.cases: unknown value %d" n) 277 277 in 278 278 let encode v = 279 279 let rec go i =