JuliaLang / Public.jl

11 stars 1 forks source link

Register this package #15

Open ChrisRackauckas opened 4 weeks ago

ChrisRackauckas commented 4 weeks ago

This is a small dependency that allows for v1.11 backwards compatibility to the new LTS for one of the main features that someone would want in terms of large-scale organization. Amazing. Can we get it registered so it can be widely used?

fredrikekre commented 4 weeks ago

Would you rather add this as a new dependency everywhere with [compat] and stuff instead of just adding something like

if VERSION >= v"1.11.0-DEV.469"
    eval(Meta.parse("public foo, bar, baz"))
end

? See e.g. https://github.com/fredrikekre/Literate.jl/blob/90b24681a77ccb2ca6ae453e892f589354319c30/src/Literate.jl#L14-L16