Task: Add motivation (with Rust's proposal as prior art).
Bindings from private dependencies should not be allowed to be re-exported from the dependent (via @public) and should probably also not appear inside argument and return types of public bindings.
Public dependencies on the other hand do not bring about such restrictions.
All dependencies are private by default unless they are provided by the distribution (i.e. provider: distribution). One can manually overwrite this default via the Boolean field public in the dependency declaration. E.g:
Task: Add motivation (with Rust's proposal as prior art).
Bindings from private dependencies should not be allowed to be re-exported from the dependent (via
@public
) and should probably also not appear inside argument and return types of public bindings. Public dependencies on the other hand do not bring about such restrictions.All dependencies are private by default unless they are provided by the distribution (i.e.
provider: distribution
). One can manually overwrite this default via the Boolean fieldpublic
in the dependency declaration. E.g:Public dependencies lead to different SemVer rules / considerations. Task: Specify those.