It is my pleasure to announce a new beta release (0.10.0) of codept on opam. Codept is an alternative dependency analyzer for OCaml projects. Compared to ocamldep file-by-file analysis, codept uses whole project analysis to reduce the amount of fictitious inferred dependencies and handle module aliases uniformly.
More generally, codept’s objective is to either compute exact dependencies or emit detailed warning messages whenever exact computation would be too involved.
Beyond various bug fixes, there are three new major features in this release compared to the 0.9.0 release.
First, a new
-depsoption outputs the computed dependencies in json format. The corresponding json schema is available here or with
codept -json-schema deps. Alternatively, a s-expression format (with the same structure) is available with
Second, codept supports now deeply nested hierarchy of toplevel modules (see for instance this example) with the
-nestedoption (or by manually ascribing module paths to implementation and interface files).
Third, codept supports now all versions of OCaml ≥4.03 (4.06+trunk included) .