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
-deps
option outputs the computed dependencies in json format. The corresponding json schema is available here or withcodept -json-schema deps
. Alternatively, a s-expression format (with the same structure) is available with-sexp
. -
Second, codept supports now deeply nested hierarchy of toplevel modules (see for instance this example) with the
-nested
option (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) .