Thanks for all the responses!
I didn’t try dune install but I did try opam pin add . and opam pin remove .. But I’m experiencing the same performance issues with those commands. It appears the less I call opam, the better it will be for my use case.
With other programming languages I’ve used, I’ve never kept an independent library within the confines of an executable project that uses that library. If the library is inside the project, how do you handle version control for the executable and library separately? One git repository for bin/ and one git repository for each subdirectory library in lib/?
How would I keep the executable and library in the same dune project but in different packages? I tried searching for examples but so far have not found anything. Can you give me a pointer to information or to a dune project that is set up this way?