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",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "crossbeam-utils"
|
||||
version = "0.8.21"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
|
||||
|
||||
[[package]]
|
||||
name = "crunchy"
|
||||
version = "0.2.4"
|
||||
@@ -1386,6 +1392,7 @@ dependencies = [
|
||||
"pwhash",
|
||||
"rand",
|
||||
"regex",
|
||||
"ringbuf",
|
||||
"rmcp",
|
||||
"rusqlite",
|
||||
"rusqlite_migration",
|
||||
@@ -1980,6 +1987,15 @@ version = "0.8.5"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
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]]
|
||||
name = "rmcp"
|
||||
version = "0.2.1"
|
||||
|
||||
@@ -1,9 +1,5 @@
|
||||
#!/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 {
|
||||
KEEP_META_command="$1"
|
||||
KEEP_META_tty=${KEEP_META_tty:-$(tty)}
|
||||
|
||||
@@ -67,7 +67,7 @@ fn main() -> Result<(), Error> {
|
||||
},
|
||||
NumberOrString::Str(str) => {
|
||||
// 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>() {
|
||||
debug!("MAIN: Adding parsed string to ids: {}", num);
|
||||
ids.push(num);
|
||||
|
||||
Reference in New Issue
Block a user