From 5cb43772dc26cceddc3496ce99ba3b944f49a8e2 Mon Sep 17 00:00:00 2001 From: Johannes Baiter Date: Tue, 14 Feb 2023 08:14:05 +0100 Subject: Add `history_filter` cfg to exclude commands from history (#515) (#716) Adds a new `history_filter` setting through which users can specify a list of regular expressions that match commands that should not be recorded in the history. --- Cargo.lock | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'Cargo.lock') diff --git a/Cargo.lock b/Cargo.lock index cf16119b..2b7786f7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -133,6 +133,7 @@ dependencies = [ "semver", "serde", "serde_json", + "serde_regex", "sha2", "shellexpand", "sodiumoxide", @@ -1871,6 +1872,16 @@ dependencies = [ "serde", ] +[[package]] +name = "serde_regex" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a8136f1a4ea815d7eac4101cfd0b16dc0cb5e1fe1b8609dfd728058656b7badf" +dependencies = [ + "regex", + "serde", +] + [[package]] name = "serde_urlencoded" version = "0.7.1" -- cgit v1.3.1