On Tue, 29 Jan 2019 21:13:17 +0000, WebFreak001 wrote:
> dub.sdl:
> name "my-awesome-gtk-app"
> 
> dependency "gtk-d" version="~>3.8.5"

Might I recommend instead:

    dependency "gtk-d" version="3.8.5"

This depends on gtk-d 3.8.5 and only that version. If there is a breaking 
change in 3.8.6 despite semantic versioning, your code keeps working.

In libraries, I prefer using ~> to give more freedom to people depending 
on my code. But in applications, that isn't a concern. May as well only 
allow the code to be built with the versions of your dependencies that 
you've actually tested.

Reply via email to