Skip to content

Commit 874f06a

Browse files
committed
Add Clone trait impl to CommandError
1 parent fe7e7b3 commit 874f06a

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

CHANGES.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changes
22

3+
## [0.3.2] - 2022-05-xx
4+
5+
* Add Clone trait impl to CommandError
6+
37
## [0.3.1] - 2022-01-10
48

59
* Simplify connector type, drop .boxed_connector() method

Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ntex-redis"
3-
version = "0.3.1"
3+
version = "0.3.2"
44
authors = ["ntex contributors <[email protected]>"]
55
description = "Redis client"
66
documentation = "https://docs.rs/ntex-redis"
@@ -12,8 +12,8 @@ exclude = [".gitignore", ".travis.yml", ".cargo/config"]
1212
edition = "2018"
1313

1414
[dependencies]
15-
ntex = "0.5.8"
16-
itoa = "0.4.5"
15+
ntex = "0.5.15"
16+
itoa = "1.0.0"
1717
btoi = "0.4.2"
1818
log = "0.4"
1919
derive_more = "0.99"

src/errors.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ pub enum ConnectError {
5757

5858
impl std::error::Error for ConnectError {}
5959

60-
#[derive(Debug, Display, From)]
60+
#[derive(Debug, Display, From, Clone)]
6161
/// Redis command execution errors
6262
pub enum CommandError {
6363
/// A redis server error response

0 commit comments

Comments
 (0)