]> git.lizzy.rs Git - enumset.git/commitdiff
Update darling crate to 0.14.x
authorAlejandro González <AlexTMjugador@users.noreply.github.com>
Sun, 2 Oct 2022 13:58:33 +0000 (15:58 +0200)
committerAlejandro González <AlexTMjugador@users.noreply.github.com>
Sun, 2 Oct 2022 14:05:49 +0000 (16:05 +0200)
A semver-breaking version of the darling crate was released just a few
days after the last release of enumset, and other crates of the Rust
ecosystem, such as serde_with, have moved to the newer version.

Even though enumset works just fine anyway, it is a good idea to update
because that way Cargo doesn't need to download and build two different
versions of the same crate for the same application, which negatively
impacts the executable size. Moreover, some automated analysis tools
such as `cargo deny` rightfully warn about this condition.

This commit just bumps the darling version to the latest one. I've
looked at the darling changelog and I don't think that enumset is
impacted by any breaking changes. To confirm this, I've successfully run
the test suite with `cargo test`.

enumset_derive/Cargo.toml

index 39648c80622c2e281c6818fa24b008d9e2e4a117..6dd572a4c9ea8d8a41d51e6bc2d6679a4c064b69 100644 (file)
@@ -18,7 +18,7 @@ proc-macro = true
 serde = []
 
 [dependencies]
-darling = { version = "0.13.0", default-features = false }
+darling = { version = "0.14.1", default-features = false }
 syn = "1"
 quote = "1"
 proc-macro2 = "1"