`~0.3.0` is only equivalent to `>= 0.3.0 < 0.4.0`, which is not the same.