Skip to content

Remove ModelingToolkit and Symbolics as direct deps of subpackages #1015

@asinghvi17

Description

@asinghvi17

Is your feature request related to a problem? Please describe.

I'm always frustrated when precompiling ModelingToolkit.

A couple of sublibraries like OptimizationMOI have MTK as a direct dependency, which adds MTK to the dependency stack, increasing load time and precompile time as well as environment size.

Describe the solution you’d like

It would be good to move MTK to extensions in these packages so that it's not a direct dependency.
If necessary Optimization.jl can continue to load MTK and trigger these extensions but I don't imagine that is necessary.

Additional context

cc @meggart @lazarusA @felixcremer

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions