Skip to content

Commit

Permalink
Update deps
Browse files Browse the repository at this point in the history
Signed-off-by: Heinz N. Gies <[email protected]>
  • Loading branch information
Licenser committed Mar 6, 2024
1 parent e46df12 commit 51d3f38
Show file tree
Hide file tree
Showing 3 changed files with 84 additions and 41 deletions.
114 changes: 78 additions & 36 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
name = "tremor-kv"
version = "0.6.1"
authors = ["The Tremor Team"]
edition = "2018"
edition = "2021"
license = "Apache-2.0"
description = "A logstash inspured key value extractor"
readme = "README.md"

[dependencies]
simd-json = { version = "0.12.0" }
simd-json = { version = "0.13" }
serde = "1"

[features]
Expand Down
7 changes: 4 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
#![allow(clippy::must_use_candidate)]

use serde::{Deserialize, Serialize};
use simd_json::prelude::*;
use simd_json::prelude::{MutableObject, *};
use std::fmt;

#[derive(Debug, PartialEq, Eq)]
Expand Down Expand Up @@ -200,8 +200,9 @@ impl Pattern {
/// Note: Fields that have on value are dropped.
pub fn run<'input, V>(&self, input: &'input str) -> Option<V>
where
V: ValueTrait + ValueAccess<Target = V> + Mutable + Builder<'input> + 'input,
<V as ValueAccess>::Key: std::convert::From<&'input str>,
V: ValueBuilder<'input> + MutableObject + 'input,
<V as MutableObject>::Key: std::hash::Hash + Eq + From<&'input str>,
<V as MutableObject>::Target: std::convert::From<&'input str>,
{
let mut r = V::object();
let mut empty = true;
Expand Down

0 comments on commit 51d3f38

Please sign in to comment.