Skip to content

Commit

Permalink
revert config crate
Browse files Browse the repository at this point in the history
  • Loading branch information
jkarneges committed Apr 25, 2024
1 parent 83ff0e0 commit 17d88c6
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 144 deletions.
173 changes: 32 additions & 141 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ crate-type = ["rlib", "staticlib"]
arrayvec = "0.7"
base64 = "0.13"
clap = { version = "=4.2.1", features = ["cargo", "string", "wrap_help", "derive"] }
config = "0.14.0"
config = "0.13.3"
httparse = "1.7"
ipnet = "2"
jsonwebtoken = "8"
Expand Down
4 changes: 2 additions & 2 deletions src/zhttpsocket.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3241,7 +3241,7 @@ mod tests {
};

let msg = msg.get();
assert_eq!(&**msg, b"hello a");
assert_eq!(msg.as_ref(), b"hello a");

h1.send(header, zmq::Message::from("world a".as_bytes()))
.unwrap();
Expand All @@ -3264,7 +3264,7 @@ mod tests {
};

let msg = msg.get();
assert_eq!(&**msg, b"hello b");
assert_eq!(msg.as_ref(), b"hello b");

h2.send(header, zmq::Message::from("world b".as_bytes()))
.unwrap();
Expand Down

0 comments on commit 17d88c6

Please sign in to comment.