Skip to content

Commit

Permalink
prepare release v1.2.0. fix fieldarray bug, step amqp_serde to v0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
gftea committed Mar 20, 2023
1 parent c9c628c commit dffc530
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 18 deletions.
16 changes: 3 additions & 13 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 amqp_serde/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "amqp_serde"
version = "0.2.1"
version = "0.3.0"
edition = "2021"
rust-version = "1.56"
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion amqp_serde/src/de.rs
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ mod tests {
let result: FieldValue = from_bytes(&input).unwrap();
assert_eq!(expected, result);
}

#[test]
fn test_struct() {
#[derive(Deserialize, PartialEq, Debug)]
Expand Down
4 changes: 2 additions & 2 deletions amqprs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "amqprs"
version = "1.1.1"
version = "1.2.0"
edition = "2021"
rust-version = "1.56"
license = "MIT"
Expand Down Expand Up @@ -38,7 +38,7 @@ tokio = { version = "1", features = [
] }
bytes = { version = "1.2" }
serde = { version = "1.0", features = ["derive"] }
amqp_serde = { version = "0.2" }
amqp_serde = { path = "../amqp_serde", version = "0.3" }
async-trait = "0.1"
tracing = { version = "0.1", optional = true }
uriparse = { version = "0.6", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion amqprs/tests/test_io_error_handling.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ async fn test_net_io_err_handling() {
}
}
// here, old connection should be closed no matter due to network failure or closed by server
assert!(connection2.is_open() == false);
assert!(connection2.is_open() == false);
});
let handle1 = tokio::spawn(async move {
// wait on io failure
Expand Down

0 comments on commit dffc530

Please sign in to comment.