Skip to content

Commit

Permalink
Make the library compilable with minimal dependency versions (#1573)
Browse files Browse the repository at this point in the history
Dependency specifications in the current `Cargo.toml` are too loose, and the
library can fail to compile even when all the dependencies are within versions
specified in `Cargo.toml`. 

This commit bumps dependencies to make the library compile with any
`Cargo.lock` that satisfies `Cargo.toml`. In order to prevent unintended side
effects, the lowest possible versions are used.

Intended changes are below:

* Remove `num` v0.0.1 (pulled from `enum_premitive` v0.1.0).
* Bump `quote` v0.6.3 to v1.0.9 (pulled from `serde_repr` v0.1.0).
* Bump `async-tungstenite` v0.9.0 to v0.9.2 (pulled from `serenity`).
  • Loading branch information
lo48576 committed Nov 9, 2021
1 parent 1977e9f commit 37e33bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Expand Up @@ -102,7 +102,7 @@ package = "async-tungstenite"
default-features = false
features = ["tokio-runtime"]
optional = true
version = "0.9"
version = "0.9.2"

[dependencies.typemap_rev]
optional = true
Expand Down
4 changes: 2 additions & 2 deletions voice-model/Cargo.toml
Expand Up @@ -14,8 +14,8 @@ edition = "2018"

[dependencies]
bitflags = "1"
enum_primitive = "0.1"
serde_repr = "0.1"
enum_primitive = "0.1.1"
serde_repr = "0.1.5"

[dependencies.serde]
version = "1"
Expand Down

0 comments on commit 37e33bd

Please sign in to comment.