Skip to content

Commit

Permalink
Revert removal of the patch versions (#44)
Browse files Browse the repository at this point in the history
This readds the patch versions in the cargo version specifiers to ensure
that we include a tested working version. In theory there could have been
breakage with one of the included patch versions of crates we depend on
so it is best practice to supply a full version specifier. Cargo will
automatically pull in a higher version when running `cargo update` or
building this library with another crate that requires a higher version.

See https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#specifying-dependencies-from-cratesio

This reverts commit 313eac4.
  • Loading branch information
sholderbach authored Jun 6, 2023
1 parent c32266c commit 024aa11
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ derive_serde_style = ["serde"]
gnu_legacy = []

[dependencies]
serde = { version="1.0", features=["derive"], optional=true }
serde = { version="1.0.152", features=["derive"], optional=true }

[target.'cfg(windows)'.dependencies.windows]
version = "0.48"
version = "0.48.0"
package = "windows-sys"
features = [
"Win32_Foundation",
Expand All @@ -34,5 +34,5 @@ features = [
]

[dev-dependencies]
doc-comment = "0.3"
serde_json = "1.0"
doc-comment = "0.3.3"
serde_json = "1.0.94"

0 comments on commit 024aa11

Please sign in to comment.