Félix Saparelli
c79a3bd12c
Upgraded fmt
2022-01-22 14:00:42 +13:00
Félix Saparelli
6a541e5f27
Move ignore_files one level deeper
...
in preparation for new ignore functionality
2022-01-10 20:47:06 +13:00
Félix Saparelli
185676cc1e
Fix doctests
2021-12-29 21:21:07 +13:00
Félix Saparelli
c3094eaff8
Upgrade to tokio-console 0.1
2021-12-24 02:28:21 +13:00
Félix Saparelli
470cdd698b
Replace ExitStatus with our own type in Event
2021-10-22 05:38:48 +13:00
Félix Saparelli
88dfc0d664
Add note about logging and error handling to main lib doc
2021-10-17 01:16:41 +13:00
Félix Saparelli
e62f313533
Eliminate eyre from doctests too
2021-10-16 19:08:35 +13:00
Félix Saparelli
17310ee4b5
Docs: modules
2021-10-16 17:13:32 +13:00
Félix Saparelli
083c1e2f52
Move common_prefix to its own mod
2021-10-16 13:55:20 +13:00
Félix Saparelli
8bc58ba6b5
Start sketching gitignore support
2021-10-09 18:45:32 +13:00
Félix Saparelli
81bee9513d
Remove derive-builder
...
* the InitConfigBuilder non-miette error goes away
* creating an InitConfig is no longer faillible for no reason
* the "builder" style is consistent between the two config structs
2021-10-09 18:37:59 +13:00
Félix Saparelli
6a55f5cc6d
Start on filter types
2021-09-13 19:51:07 +12:00
Félix Saparelli
05afb141b6
Add InitConfig::builder() to be a little more idiomatic
...
Neat side effect: keeps rust-analyzer from complaining about unknown types
(because it doesn't expand the builder macro)!
2021-08-24 19:59:11 +12:00
Félix Saparelli
18d2487ec3
Rename reconfig to reconfigure
2021-08-23 00:31:39 +12:00
Félix Saparelli
7a709b9b4d
Prefer generic Both combinator than specific ClearAnd
2021-08-22 23:22:27 +12:00
Félix Saparelli
c85c164c09
Make the example in lib.rs compile
2021-08-22 22:06:50 +12:00
Félix Saparelli
6c3c06e39c
Stop using Builder for RuntimeConfig
2021-08-22 20:49:24 +12:00
Félix Saparelli
019018c93e
Add docs for error_handler as it's a bit tricky
2021-08-21 22:30:19 +12:00
Félix Saparelli
816313303a
Finish handlers by implementing the error hook
2021-08-21 20:46:44 +12:00
Félix Saparelli
0f37e42243
Add action worker
2021-08-21 04:43:55 +12:00
Félix Saparelli
dcde429787
Improve handlers to not need GATs and provide various impls
2021-08-21 04:43:15 +12:00
Félix Saparelli
95ad3e91ff
Add example / aspirational usage to lib doc
2021-08-20 02:56:13 +12:00
Félix Saparelli
249c581dc9
Make channel buffers configurable
2021-08-19 21:28:56 +12:00
Félix Saparelli
5d11ccaa71
Add a bit more structure via documentation
2021-08-19 20:44:02 +12:00
Félix Saparelli
319729582f
Split signal and fs examples
2021-08-19 20:31:29 +12:00
Félix Saparelli
4e4a8e6853
Add Handler trait
2021-08-19 20:30:01 +12:00
Félix Saparelli
0bb38f40a5
Start off on main interface
2021-08-19 01:12:50 +12:00
Félix Saparelli
0237a568df
Handle signals into events
2021-08-17 21:41:13 +12:00
Félix Saparelli
f5e19a6e5f
Adapt Shell command builder
2021-08-17 03:09:22 +12:00
Félix Saparelli
822148da03
Canonicalise paths + add example
2021-08-17 01:15:17 +12:00
Félix Saparelli
b15615bbaa
Start on watchexec v2
2021-08-16 21:49:12 +12:00
Félix Saparelli
d8fb70c454
Cease with the 2015-style #[macro_use]s
2021-07-22 01:01:11 +12:00
Félix Saparelli
bb6a5ae891
Split process.rs into shell and paths
...
(now that the bulk of process code is gone)
2021-07-21 23:37:24 +12:00
Félix Saparelli
4d6ad2cc1f
Use website as source for docs logo
2021-07-20 20:32:38 +12:00
Félix Saparelli
6aebd9b3e7
Formatting
2021-05-08 19:12:13 +12:00
Félix Saparelli
aeab4159d4
Change semver policy for the library
2021-05-01 03:56:16 +12:00
Félix Saparelli
1f3f4ada35
Split into two crates: lib and cli
...
That has a number of advantages:
- #193 the build.rs is only run for the CLI, so the Windows manifest is
not embedded in the library anymore, opening it up for downstreams.
- it sets the stage for decoupling the version numbers of the CLI and
library, to have the library increase its major more often, while the
CLI retains compatibility further… that is, to have both follow semver
- it removes the CLI-only dependencies from the library
- it makes compilation a bit faster as compiling the library and the
CLI's other dependencies can happen in parallel
One major disadvantage:
- installing via cargo changes from watchexec to watchexec-cli. Most
installs are from prebuilt and from packages, but that's still a
potential stumble.
And of course, the CLI APIs in the library are gone (they were already
deprecated, though).
We also take this opportunity to get rid of the clear_screen code and
use our new clearscreen library. #99 #171 #185
2021-05-01 03:27:17 +12:00