Am 12.09.2014 19:44, schrieb SiegeLord:

I have two libraries in a single repository, sitting in separate branches (they are bindings for stable and unstable versions of the same C library). Is it possible to cleanly support this using Dub?

Sounds like the cleanest way to represent this would be using different
version series (e.g 1.x.x for the stable one and 2.x.x-... for the
unstable one). The general restriction is that there must always be a
single root package per repository - or rather a single root package
name per repository.

What could be done, but which would really not be a nice solution in
this case, would be to use different submodules (e.g. mylib:stable and
mylib:unstable).