2019-10-27 10:54:44 +01:00
|
|
|
//! 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.
|
|
|
|
|
2017-04-25 01:31:50 +02:00
|
|
|
#[macro_use]
|
|
|
|
extern crate clap;
|
|
|
|
extern crate env_logger;
|
2018-09-08 10:08:36 +02:00
|
|
|
extern crate globset;
|
2017-04-25 01:31:50 +02:00
|
|
|
#[macro_use]
|
|
|
|
extern crate log;
|
|
|
|
#[macro_use]
|
|
|
|
extern crate lazy_static;
|
|
|
|
extern crate notify;
|
|
|
|
|
2018-09-08 10:08:36 +02:00
|
|
|
#[cfg(windows)]
|
|
|
|
extern crate kernel32;
|
2017-04-25 01:31:50 +02:00
|
|
|
#[cfg(unix)]
|
|
|
|
extern crate nix;
|
|
|
|
#[cfg(windows)]
|
|
|
|
extern crate winapi;
|
|
|
|
|
|
|
|
pub mod cli;
|
2018-09-08 13:51:44 +02:00
|
|
|
pub mod error;
|
2017-04-25 01:31:50 +02:00
|
|
|
mod gitignore;
|
2019-10-05 12:55:28 +02:00
|
|
|
mod ignore;
|
2017-04-25 01:31:50 +02:00
|
|
|
mod notification_filter;
|
2019-01-23 18:56:09 +01:00
|
|
|
pub mod pathop;
|
2017-04-25 01:31:50 +02:00
|
|
|
mod process;
|
|
|
|
pub mod run;
|
|
|
|
mod signal;
|
|
|
|
mod watcher;
|
|
|
|
|
|
|
|
pub use run::run;
|