Use version for lib dependency

This commit is contained in:
Félix Saparelli 2022-01-18 23:54:11 +13:00
parent c58333496e
commit 631c328a55
2 changed files with 31 additions and 2 deletions

31
Cargo.lock generated
View File

@ -2543,6 +2543,35 @@ dependencies = [
"unicase",
]
[[package]]
name = "watchexec"
version = "2.0.0-pre.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2ac1dd280b438b54af77dbc9d31ef72fd476051ed2e861c563884c24929d7580"
dependencies = [
"async-recursion",
"async-stream",
"atomic-take",
"clearscreen",
"command-group",
"dunce",
"futures",
"git2",
"globset",
"ignore",
"libc",
"miette",
"nom 7.1.0",
"notify",
"once_cell",
"regex",
"thiserror",
"tokio",
"tokio-stream",
"tracing",
"unicase",
]
[[package]]
name = "watchexec-cli"
version = "1.17.1"
@ -2560,7 +2589,7 @@ dependencies = [
"tokio",
"tracing",
"tracing-subscriber",
"watchexec",
"watchexec 2.0.0-pre.5 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]

View File

@ -27,7 +27,7 @@ futures = "0.3.17"
miette = { version = "3.2.0", features = ["fancy"] }
notify-rust = "4.5.2"
tracing = "0.1.26"
watchexec = { path = "../lib" }
watchexec = "2.0.0-pre.5"
[dependencies.clap]
version = "2.33.3"