`Cargo.toml`: move `build-dependencies` up
@@ -26,6 +26,9 @@ bitflags = "1"
rustc_version = "0.4"
trybuild = "1.0.42"
+[build-dependencies]
+semver = "1.0"
+
[workspace]
members = [
".",
@@ -49,9 +52,6 @@ lto = "fat"
opt-level = 3
overflow-checks = false
-[build-dependencies]
-semver = "1.0"
-
[package.metadata.docs.rs]
features = ["alloc"]
rustdoc-args = ["--cfg=docsrs"]
