Skip to content

Commit d6ca102

Browse files
committed
Upgrade deps and fix clippy suggestions
1 parent d6c43db commit d6ca102

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,20 +30,20 @@ const-gen = []
3030
dbg = []
3131

3232
[dependencies]
33-
bytes = { version = "1.2.0", optional = true }
34-
openssl = { version = "0.10.41", optional = true }
35-
tokio = { version = "1.20.1", features = [
33+
bytes = { version = "1.2.1", optional = true }
34+
openssl = { version = "0.10.42", optional = true }
35+
tokio = { version = "1.21.2", features = [
3636
"net",
3737
"io-util",
3838
"io-std",
3939
], optional = true, default-features = false }
4040
tokio-openssl = { version = "0.6.3", optional = true }
4141
r2d2 = { version = "0.8.10", optional = true }
4242
bb8 = { version = "0.8.0", optional = true }
43-
async-trait = { version = "0.1.56", optional = true }
43+
async-trait = { version = "0.1.58", optional = true }
4444

4545
[dev-dependencies]
46-
tokio = { version = "1.20.1", features = [
46+
tokio = { version = "1.21.2", features = [
4747
"test-util",
4848
"macros",
4949
], default-features = false }

src/ddl.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ cfg_sync! {
5252
}
5353

5454
#[non_exhaustive]
55-
#[derive(Debug, PartialEq)]
55+
#[derive(Debug, PartialEq, Eq)]
5656
/// Data types for the Keymap data model
5757
pub enum KeymapType {
5858
/// An unicode string
@@ -95,7 +95,7 @@ impl KeymapType {
9595
}
9696
}
9797

98-
#[derive(Debug, PartialEq)]
98+
#[derive(Debug, PartialEq, Eq)]
9999
/// A Keymap Model Table
100100
///
101101
pub struct Keymap {

src/deserializer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ impl Element {
9595
/// A generic result to indicate parsing errors thorugh the [`ParseError`] enum
9696
pub type ParseResult<T> = Result<T, ParseError>;
9797

98-
#[derive(Debug, PartialEq)]
98+
#[derive(Debug, PartialEq, Eq)]
9999
#[non_exhaustive]
100100
#[repr(u8)]
101101
/// # Parser Errors

src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
use crate::RespCode;
2323
use core::fmt;
2424

25-
#[derive(Debug, PartialEq)]
25+
#[derive(Debug, PartialEq, Eq)]
2626
#[non_exhaustive]
2727
/// An error originating from the Skyhash protocol
2828
pub enum SkyhashError {

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ macro_rules! query {
469469
};
470470
}
471471

472-
#[derive(Debug, PartialEq)]
472+
#[derive(Debug, PartialEq, Eq)]
473473
/// This struct represents a single simple query as defined by the Skyhash protocol
474474
///
475475
/// A simple query is serialized into a flat string array which is nothing but a Skyhash serialized equivalent

src/respcode.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
use core::fmt;
2121

2222
/// Response codes returned by the server
23-
#[derive(Debug, PartialEq)]
23+
#[derive(Debug, PartialEq, Eq)]
2424
#[non_exhaustive]
2525
pub enum RespCode {
2626
/// `0`: Okay (Empty Response)

0 commit comments

Comments
 (0)