mte/unikernel/duniverse/dune_/doc/reference/dune-project/using.rst

22 lines
673 B
ReStructuredText
Raw Normal View History

2025-11-11 02:07:51 +01:00
using
-----
.. describe:: (using <plugin> <version>)
Enable a dune language extension.
The language of configuration files read by Dune can be extended to support
additional stanzas (e.g., ``menhir``, ``coq.theory``, ``mdx``).
`<plugin>` is the name of the plugin that defines this stanza and
`<version>` describes the configuration language's version. Note that this
version has nothing to do with the version of the associated tool or
library. In particular, adding a ``using`` stanza will not result in a build
dependency in the generated ``.opam`` file. See :doc:`generate_opam_files`.
Example:
.. code:: dune
(using mdx 0.3)