CRC checksums (CRC-16, CRC-32, CRC-32C) for OCaml
0
fork

Configure Feed

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

csv: rename from csvt

Drops the redundant "t" suffix. Library name, opam package, module
(Csvt -> Csv), and directory all rename in lockstep. Every downstream
reference in interop tests, libraries, and docs updated.

+3 -3
+1 -1
test/interop/crcmod/dune
··· 1 1 (test 2 2 (name test) 3 - (libraries crc csvt alcotest) 3 + (libraries crc csv alcotest) 4 4 (deps 5 5 (source_tree traces) 6 6 (source_tree scripts)))
+2 -2
test/interop/crcmod/test.ml
··· 24 24 let hex_to_string s = if s = "" then "" else string_of_hex s 25 25 26 26 let vector_codec = 27 - Csvt.( 27 + Csv.( 28 28 Row.( 29 29 obj (fun name input_hex crc16_ccitt crc16_x25 crc32 crc32c -> 30 30 { ··· 44 44 |> finish)) 45 45 46 46 let parse_vectors () = 47 - match Csvt.decode_file vector_codec (trace "vectors.csv") with 47 + match Csv.decode_file vector_codec (trace "vectors.csv") with 48 48 | Ok rows -> rows 49 49 | Error e -> Alcotest.failf "CSV: %s" e 50 50