Remove chrono dep

This commit is contained in:
Félix Saparelli 2021-08-18 18:54:05 +12:00
parent 0237a568df
commit cae00070fb
No known key found for this signature in database
GPG Key ID: B948C4BAE44FC474
3 changed files with 0 additions and 4 deletions

1
Cargo.lock generated
View File

@ -2067,7 +2067,6 @@ checksum = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6"
name = "watchexec"
version = "1.17.1"
dependencies = [
"chrono",
"color-eyre",
"command-group",
"dunce",

View File

@ -15,7 +15,6 @@ readme = "README.md"
edition = "2018"
[dependencies]
chrono = "0.4.19"
miette = "0.7.0"
notify = "5.0.0-pre.11"
thiserror = "1.0.26"

View File

@ -4,7 +4,6 @@
//! 2. To be filtered upon according to whatever set of criteria is desired;
//! 3. To carry information about what caused the event, which may be provided to the process.
use chrono::{DateTime, Local};
use std::{collections::HashMap, path::PathBuf};
use crate::signal::Signal;
@ -20,7 +19,6 @@ pub struct Event {
#[derive(Clone, Debug, Eq, PartialEq)]
#[non_exhaustive]
pub enum Particle {
Time(DateTime<Local>),
Path(PathBuf),
Source(Source),
Process(u32),