feat: add ringbuf and crossbeam-utils dependencies
This commit is contained in:
committed by
Andrew Phillips (aider)
parent
b58d0a2df5
commit
196fdbbda8
16
Cargo.lock
generated
16
Cargo.lock
generated
@@ -477,6 +477,12 @@ dependencies = [
|
|||||||
"cfg-if",
|
"cfg-if",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "crossbeam-utils"
|
||||||
|
version = "0.8.21"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "crunchy"
|
name = "crunchy"
|
||||||
version = "0.2.4"
|
version = "0.2.4"
|
||||||
@@ -1386,6 +1392,7 @@ dependencies = [
|
|||||||
"pwhash",
|
"pwhash",
|
||||||
"rand",
|
"rand",
|
||||||
"regex",
|
"regex",
|
||||||
|
"ringbuf",
|
||||||
"rmcp",
|
"rmcp",
|
||||||
"rusqlite",
|
"rusqlite",
|
||||||
"rusqlite_migration",
|
"rusqlite_migration",
|
||||||
@@ -1980,6 +1987,15 @@ version = "0.8.5"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c"
|
checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "ringbuf"
|
||||||
|
version = "0.3.3"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "79abed428d1fd2a128201cec72c5f6938e2da607c6f3745f769fabea399d950a"
|
||||||
|
dependencies = [
|
||||||
|
"crossbeam-utils",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "rmcp"
|
name = "rmcp"
|
||||||
version = "0.2.1"
|
version = "0.2.1"
|
||||||
|
|||||||
@@ -1,9 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
export KEEP_LIST_FORMAT="${KEEP_LIST_FORMAT:-id,time,size,tags,meta:full_hostname,meta:file_magic,meta:command}"
|
|
||||||
export KEEP_META_PLUGINS="${KEEP_META_PLUGINS:-binary,cwd,file_magic,full_hostname}"
|
|
||||||
|
|
||||||
|
|
||||||
function __keep_preexec {
|
function __keep_preexec {
|
||||||
KEEP_META_command="$1"
|
KEEP_META_command="$1"
|
||||||
KEEP_META_tty=${KEEP_META_tty:-$(tty)}
|
KEEP_META_tty=${KEEP_META_tty:-$(tty)}
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ fn main() -> Result<(), Error> {
|
|||||||
},
|
},
|
||||||
NumberOrString::Str(str) => {
|
NumberOrString::Str(str) => {
|
||||||
// For --info and --get, try to parse strings as numbers to treat them as IDs
|
// For --info and --get, try to parse strings as numbers to treat them as IDs
|
||||||
if (args.mode.info || args.mode.get) {
|
if args.mode.info || args.mode.get {
|
||||||
if let Ok(num) = str.parse::<i64>() {
|
if let Ok(num) = str.parse::<i64>() {
|
||||||
debug!("MAIN: Adding parsed string to ids: {}", num);
|
debug!("MAIN: Adding parsed string to ids: {}", num);
|
||||||
ids.push(num);
|
ids.push(num);
|
||||||
|
|||||||
Reference in New Issue
Block a user