Use lib pre.6

This commit is contained in:
Félix Saparelli 2022-01-19 00:02:34 +13:00
parent a3fd743786
commit 7d60b1689e
3 changed files with 40 additions and 40 deletions

60
Cargo.lock generated
View file

@ -2515,35 +2515,6 @@ version = "0.10.2+wasi-snapshot-preview1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6" checksum = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6"
[[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]] [[package]]
name = "watchexec" name = "watchexec"
version = "2.0.0-pre.6" version = "2.0.0-pre.6"
@ -2572,6 +2543,35 @@ dependencies = [
"unicase", "unicase",
] ]
[[package]]
name = "watchexec"
version = "2.0.0-pre.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "68ae22e09484cce8c40e2ac7e8c5c885ea682e8d40cfb432c810ff5b00610210"
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]] [[package]]
name = "watchexec-cli" name = "watchexec-cli"
version = "1.17.1" version = "1.17.1"
@ -2589,7 +2589,7 @@ dependencies = [
"tokio", "tokio",
"tracing", "tracing",
"tracing-subscriber", "tracing-subscriber",
"watchexec 2.0.0-pre.5", "watchexec 2.0.0-pre.6 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]

View file

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

View file

@ -13,7 +13,7 @@ _The library which powers [Watchexec CLI](https://watchexec.github.io) and other
- Minimum Supported Rust Version: 1.58.0 (incurs a minor semver bump). - Minimum Supported Rust Version: 1.58.0 (incurs a minor semver bump).
- Status: in preview (`2.0.0-pre.N` series). - Status: in preview (`2.0.0-pre.N` series).
[docs]: https://docs.rs/watchexec/2.0.0-pre.5 [docs]: https://docs.rs/watchexec/2.0.0-pre.6
[license]: ../LICENSE [license]: ../LICENSE
@ -79,21 +79,21 @@ async fn main() -> Result<()> {
The library also exposes a large amount of components which are available to make your own tool, or The library also exposes a large amount of components which are available to make your own tool, or
to make anything else you may want: to make anything else you may want:
- **[Command handling](https://docs.rs/watchexec/2.0.0-pre.5/watchexec/command/index.html)**, to - **[Command handling](https://docs.rs/watchexec/2.0.0-pre.6/watchexec/command/index.html)**, to
build a command with an arbitrary shell, deal with grouped and ungrouped processes the same way, build a command with an arbitrary shell, deal with grouped and ungrouped processes the same way,
and supervise a process while also listening for & acting on interventions such as sending signals. and supervise a process while also listening for & acting on interventions such as sending signals.
- **Event sources**: [Filesystem](https://docs.rs/watchexec/2.0.0-pre.5/watchexec/fs/index.html), - **Event sources**: [Filesystem](https://docs.rs/watchexec/2.0.0-pre.6/watchexec/fs/index.html),
[Signals](https://docs.rs/watchexec/2.0.0-pre.5/watchexec/signal/source/index.html), (more to come). [Signals](https://docs.rs/watchexec/2.0.0-pre.6/watchexec/signal/source/index.html), (more to come).
- Finding **[a common prefix](https://docs.rs/watchexec/2.0.0-pre.5/watchexec/paths/fn.common_prefix.html)** - Finding **[a common prefix](https://docs.rs/watchexec/2.0.0-pre.6/watchexec/paths/fn.common_prefix.html)**
of a set of paths. of a set of paths.
- Detecting the **[origin(s)](https://docs.rs/watchexec/2.0.0-pre.5/watchexec/project/fn.origins.html)** - Detecting the **[origin(s)](https://docs.rs/watchexec/2.0.0-pre.6/watchexec/project/fn.origins.html)**
and **[types](https://docs.rs/watchexec/2.0.0-pre.5/watchexec/project/fn.types.html)** of projects. and **[types](https://docs.rs/watchexec/2.0.0-pre.6/watchexec/project/fn.types.html)** of projects.
- Discovering project-local and global - Discovering project-local and global
**[ignore files](https://docs.rs/watchexec/2.0.0-pre.5/watchexec/ignore/index.html)**. **[ignore files](https://docs.rs/watchexec/2.0.0-pre.6/watchexec/ignore/index.html)**.
- And [more][docs]! - And [more][docs]!
@ -112,4 +112,4 @@ This library is also the home of Watchexec's current _two_ filtering implementat
behaviour which has proven confusing and inconsistent over the years, and an upcoming complete behaviour which has proven confusing and inconsistent over the years, and an upcoming complete
overhaul called "tagged filtering" which will potentially replace the legacy one. overhaul called "tagged filtering" which will potentially replace the legacy one.
Have a look at the [docs](https://docs.rs/watchexec/2.0.0-pre.5/watchexec/filter/tagged/struct.TaggedFilterer.html)! Have a look at the [docs](https://docs.rs/watchexec/2.0.0-pre.6/watchexec/filter/tagged/struct.TaggedFilterer.html)!