Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace Requires.jl use with package extensions via PackageExtensionTools.jl #4

Closed
marcom opened this issue Mar 17, 2023 · 0 comments · Fixed by #7
Closed

Replace Requires.jl use with package extensions via PackageExtensionTools.jl #4

marcom opened this issue Mar 17, 2023 · 0 comments · Fixed by #7

Comments

@marcom
Copy link
Owner

marcom commented Mar 17, 2023

Package extensions can make code loading faster:

https://pkgdocs.julialang.org/dev/creating-packages/#Conditional-loading-of-code-in-packages-(Extensions)

These are available from julia-1.9 onwards. Backwards compatibility can for older julia versions can be had with PackageExtensionTools.jl (which falls back to Requires.jl)

https://github.com/cjdoris/PackageExtensionTools.jl

This could be used in PlotRNA for the UnicodePlots and CairoMakie dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant