feat: Add pest and pest_derive dependencies
This commit is contained in:
committed by
Andrew Phillips (aider)
parent
383cf1e98f
commit
96deafbf78
@@ -64,6 +64,8 @@ uzers = "0.12.1"
|
|||||||
which = "8.0.0"
|
which = "8.0.0"
|
||||||
xdg = "2.5.2"
|
xdg = "2.5.2"
|
||||||
strip-ansi-escapes = "0.2.1"
|
strip-ansi-escapes = "0.2.1"
|
||||||
|
pest = "2.8.1"
|
||||||
|
pest_derive = "2.8.1"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
tempfile = "3.3.0"
|
tempfile = "3.3.0"
|
||||||
|
|||||||
@@ -48,16 +48,6 @@ impl FilterPlugin for HeadBytesFilter {
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
fn options(&self) -> Vec<FilterOption> {
|
|
||||||
vec![
|
|
||||||
FilterOption {
|
|
||||||
name: "count".to_string(),
|
|
||||||
default: None,
|
|
||||||
required: true,
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub struct HeadLinesFilter {
|
pub struct HeadLinesFilter {
|
||||||
|
|||||||
Reference in New Issue
Block a user