SCons, Autotools, CMake, Meson, and others all assume the current application (or library) version is specified in the build configuration file. This can be transferred to being embedded in the executable by stream editing a template file and compiling it in.

Dub appears not to support this way of working, unless of course I am just missing it.

So what is the way of specifying the application version in Dub builds, and what is the canonical way of getting this data into the built executable?