Skip to content

Library manager: Library dependencies #5795

Closed
@Avamander

Description

@Avamander

Is there a possibility that in the future versions of Arduino IDE library could define it's dependencies thus making sure it will work.

Something like this:

  1. Library has a line something similar to requires=<other library's name>:<optional minimum version> and/or requiresIDE=<version> in it's library.properties
  2. User presses download but it does not have a required library installed, there is one installed but without library.properties or the library is outdated (with requiresIDE the IDE's version incompatibility is also warned about)
  3. User is prompted to download or update all the required libraries

This would definetly for example improve how people use libraries like RF24, RF24Network and RF24Mesh (I am sure there are more) making sure both the library and it's dependencies are up-to-date when any of those are downloaded.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions