# Tool to compute dependencies between OCaml modules in a dune project?

**URL:** https://discuss.ocaml.org/t/tool-to-compute-dependencies-between-ocaml-modules-in-a-dune-project/9167
**Category:** Ecosystem
**Tags:** dune, dependencies
**Created:** [January 18, 2022, 9:44am UTC](https://discuss.ocaml.org/t/tool-to-compute-dependencies-between-ocaml-modules-in-a-dune-project/9167 "2022-01-18T09:44:35Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![esope](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/esope/32/2982_2.png) [@esope](https://discuss.ocaml.org/u/esope)
#### Post date: [April 19, 2022, 6:25am UTC](https://discuss.ocaml.org/t/tool-to-compute-dependencies-between-ocaml-modules-in-a-dune-project/9167/5 "2022-04-19T06:25:06Z")

</div>

This is now implemented in the `dune describe` command in the latest release of [dune 3.1.0](https://discuss.ocaml.org/t/ann-dune-3-1-0/9690).  
In particular, you will get the direct dependencies between modules within an executable or library with the command `dune describe workspace --with-deps`.

---

_[View the full topic](https://discuss.ocaml.org/t/tool-to-compute-dependencies-between-ocaml-modules-in-a-dune-project/9167)._
