I'm writing a package that uses features from a number of others (ApproxFun
, LinearAlgebra
, IntervalSets
, ...).
I would like to have the exports from those packages available too, just as if the user were to execute using ApproxFun, LinearAlgebra, IntervalSets, ...
. I've tried a bit of googling, but haven't come across an answer yet. If someone might know how this is done, that would be brilliant!
Look at Reexport.jl
Thanks! I was trying to find some sort of base-julia functionality, but I see that doesn't exist from the README :slight_frown:
Note that this is not necessarily a good idea though, since if you are reexporting someone else's API, you have to tag a breaking version any time any of your reexports releases a breaking version. It's generally preferable to have users be explicitly aware which packages they depend on, so compat can be handled appropriately.
Last updated: Nov 22 2024 at 04:41 UTC