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.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| How bad is type piracy actually? | 12 | 5817 | April 21, 2020 | |
| Is it OK to structure my packages like this (benign type piracy)? | 5 | 408 | March 6, 2025 | |
| "Best practice" type piracy for package compatibility? | 9 | 930 | June 20, 2021 | |
| Even more clarification on Type piracy | 24 | 3929 | January 6, 2022 | |
| Temporary solution from user side for type piracy between packages? | 8 | 803 | May 23, 2019 |