//! Watchexec: the library //! //! This is the library version of the CLI tool [watchexec]. The tool is //! implemented with this library, but the purpose of the watchexec project is //! to deliver the CLI tool, instead of focusing on the library interface first //! and foremost. **For this reason, semver guarantees do _not_ apply to this //! library.** Please use exact version matching, as this API may break even //! between patch point releases. This policy may change in the future. //! //! [watchexec]: https://github.com/watchexec/watchexec #![warn( clippy::option_unwrap_used, clippy::result_unwrap_used, )] #[macro_use] extern crate derive_builder; #[macro_use] extern crate log; #[macro_use] extern crate lazy_static; mod args; pub mod cli; pub mod config; pub mod error; mod gitignore; mod ignore; mod notification_filter; pub mod pathop; mod process; pub mod run; mod signal; mod watcher; pub use process::Shell; pub use run::{run, watch, Handler}; #[deprecated(since = "1.15.0", note = "Config has moved to config::Config")] pub type Args = config::Config; #[deprecated(since = "1.15.0", note = "ConfigBuilder has moved to config::ConfigBuilder")] pub type ArgsBuilder = config::ConfigBuilder;