package crunch

  1. Overview
  2. Docs
Convert a filesystem into a static OCaml module

Install

Dune Dependency

Authors

Maintainers

Sources

crunch-3.3.1.tbz
sha256=2c5ba0d4110bcbb7731cba4eafb6c44a7487c3f88c1ad47401271b69ffa8ed6a
sha512=5aaa1b67456dd2f5e3ab450ea547e62fba2b0341a49f3b24669162dce91b6ea1158c1594d60c6df3e416e719484411c50ae61017c40b2f75ee90401aa543bd08

CHANGES.md.html

v3.3.1 (2022-08-05)

  • Fixed a regression in v3.3.0 where periods ('.') had to be specified in the extention list. (#62, @MisterDA, fixes #61 reported by @cemerick)

v3.3.0 (2022-07-24)

  • Open files in binary mode so buffers don't underread on Windows. (#54, @jonahbeckford)

  • Always use Unix-style paths for path keys (#58, @MisterDA)

  • Add -s and --silent flags (#52, #60, @MisterDA)

  • Add hash and size functions to the plain module (#53, #60, @MisterDA)

  • Update to cmdliner 1.1 (#55, @MisterDA)

v3.2.0 (2019-12-14)

  • Make crunch reproducible: use a Map.Make(String) instead of Hashtbl. Iterating over the former is guaranteed to be sorted over the keys. (#51 @hannesm)

  • The state (Map.t) is passed explicit to scan_file, output_implementation and walk_directory_tree. The value empty is provided to construct an empty t. (#51 @hannesm)

v3.1.0 (2019-11-01)

  • Adapt mirage-kv 3.0.0 interface (#50 @hannesm)

v3.0.0 (2019-02-28)

  • Implement the mirage-kv 2.0.0 interface, using mirage-kv-mem (#47 @linse @hannesm)

  • Removed no longer used size function (#47 @linse @hannesm)

v2.2.0 (2019-02-05)

  • Port to dune from jbuilder (#46 @hannesm)

  • use SOURCE_DATE_EPOCH instead of gettimeofday if set to support reproducible builds (#45 @xclerc)

v2.1.0 (2017-06-24)

  • Port to Jbuilder and simplify test dependencies (#38 by @rgrinberg)

v2.0.0 (2016-02-24)

  • Fix reading of files consisting of multiple pages (#30 by @hannesm)

  • Port to MirageOS3 API: removed unused id type (#17), add Failure error type (#20), connect does not return a result anymore.

  • Generate a mem function for the filesystem (#18)

  • Port to topkg and respect the odig packaging convention (#24 via @fgimenez)

  • Add LICENSE file to repository (#19 via @djs55)

v1.4.1 (2016-02-08)

  • Use a poor-man realpath instead of relying on C bindings which are not available under Cygwin

v1.4.0 (2015-03-09)

  • Add an explicit connect function to the signature of generated code. (#13)

  • Use centralised Travis CI scripts.

v1.3.0 (2014-03-08)

  • Deduplicate file chunks so that only one copy of each sector is allocated in the static module.

v1.2.3 (2013-12-24)

  • Fix compilation of 0-length files.

v1.2.2 (2013-12-08)

  • Use the V1.KV_RO signature from mirage-types>=0.5.0

  • Add Travis CI scripts.

v1.2.1 (2013-12-08)

  • Generate the correct signature for V1.KV_RO.

v1.2.0 (2013-12-08)

  • Use the V1.KV_RO signature from mirage-types>=0.3.0

v1.1.2 (2013-12-07)

  • Do not skip files without an extension.

v1.1.1 (2013-12-06)

  • Bugfix release.

v1.1.0 (2013-12-05)

  • New release to adapt to the new mirage-types API

v0.7.0 (2013-07-21)

  • Add a -nolwt output mode which simply uses strings and has no dependence on Lwt. For the modern user who demands ultra-convenience.

v0.6.0 (2013-07-09)

  • Adapt output to mirage-platform-0.9.2 Io_page API.

v0.5.0 (2013-03-28)

  • Added a -o option (needed for mirari)

0.4.0 (2012-12-20)

  • Initial public release