Skip to content

Commit

Permalink
Drop patch versions from dependencies in Cargo.toml
Browse files Browse the repository at this point in the history
According to semantic versioning rules, we should be capable of
compiling with any crate that is at least minor-version compatible with
our requirements. Retaining the patch versions here creates a lot of
unnecessary work for Dependabot and requires the maintainer to manually
bump the versions through PRs. With this change, this will no longer be
necessary for patch version changes, which will be applied to
`tower-lsp` automatically where applicable by Cargo.
  • Loading branch information
ebkalderon committed Feb 22, 2020
1 parent d575c0e commit 13b31f3
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,21 @@ categories = ["asynchronous"]
keywords = ["language-server", "lsp", "tower"]

[dependencies]
async-trait = "0.1.24"
bytes = "0.5.0"
futures = { version = "0.3.2", features = ["compat"] }
jsonrpc-core = "14.0.5"
jsonrpc-derive = "14.0.5"
log = "0.4.8"
lsp-types = "0.68.0"
nom = "5.0.1"
serde = { version = "1.0.103", features = ["derive"] }
serde_json = "1.0.40"
tokio = { version = "0.2.11", features = ["rt-core"] }
tokio-util = { version = "0.2.0", features = ["codec"] }
tower-service = "0.3.0"
async-trait = "0.1"
bytes = "0.5"
futures = { version = "0.3", features = ["compat"] }
jsonrpc-core = "14.0"
jsonrpc-derive = "14.0"
log = "0.4"
lsp-types = "0.68"
nom = "5.1"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tokio = { version = "0.2", features = ["rt-core"] }
tokio-util = { version = "0.2", features = ["codec"] }
tower-service = "0.3"

[dev-dependencies]
env_logger = "0.7.1"
tokio = { version = "0.2.11", features = ["io-std", "macros", "test-util"] }
tower-test = "0.3.0"
env_logger = "0.7"
tokio = { version = "0.2", features = ["io-std", "macros", "test-util"] }
tower-test = "0.3"

0 comments on commit 13b31f3

Please sign in to comment.