From 96deafbf78f886d7d4271e880fcea5ac5d56cd0a Mon Sep 17 00:00:00 2001 From: Andrew Phillips Date: Wed, 3 Sep 2025 09:31:04 -0300 Subject: [PATCH] feat: Add pest and pest_derive dependencies --- Cargo.toml | 2 ++ src/filter_plugin/head.rs | 10 ---------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index b1c609a..e4798b3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -64,6 +64,8 @@ uzers = "0.12.1" which = "8.0.0" xdg = "2.5.2" strip-ansi-escapes = "0.2.1" +pest = "2.8.1" +pest_derive = "2.8.1" [dev-dependencies] tempfile = "3.3.0" diff --git a/src/filter_plugin/head.rs b/src/filter_plugin/head.rs index 2dfb554..00c3546 100644 --- a/src/filter_plugin/head.rs +++ b/src/filter_plugin/head.rs @@ -48,16 +48,6 @@ impl FilterPlugin for HeadBytesFilter { } ] } - - fn options(&self) -> Vec { - vec![ - FilterOption { - name: "count".to_string(), - default: None, - required: true, - } - ] - } } pub struct HeadLinesFilter {