You could make it a separate Julia package (which can live in the same repo). Some libraries use this for “glue” code to avoid needing a dependency, e.g. Optimization.jl/lib at master · SciML/Optimization.jl · GitHub.
1 Like