Thread with 1 post
jump to expanded post@mcc I just realised that with the Cargo packaging conundrum, there's actually three ways to do it:
• one package with both bin and lib targets, with the lib target being both dynamic and static
• three packages: one that has a bin target, one that has a static lib target, one that has a dynamic lib target
• two packages: one with both bin and lib targets (static library only), one with just a dynamic lib target
I'm probably going to do the last of these for my project because it's neater for my purposes