Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,19 @@ specify the individual dependencies:
Individual dependencies as objects are only supported from version
`0.31.0`.

Dependencies can be the main (unnamed) library of a package or named
sublibraries of a package. For example, for a package named `my-package` with
a main library and a sublibrary named `my-library`:

* `my-package` or `my-package:my-package` specifies a dependency on its main
library only;

* `my-package:my-library` specifies a dependency on its sublibrary `my-library`
only; and

* `my-package:{my-package,my-library}` specifies a dependency on
the libraries listed between `{` and `}` only.

When a dependency is specified as an object, you can use the `mixin`
field to control what modules from the dependency your program will
see and how its signatures are filled in:
Expand Down
Loading