Skip to content

Commit

Permalink
chore: bump to 0.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
driftluo committed Jun 6, 2022
1 parent 0f53b0d commit 44a065a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "influx_db_client"
version = "0.5.1"
version = "0.5.2"
authors = ["piaoliu <[email protected]>"]
documentation = "https://docs.rs/influx_db_client/"
repository = "https://github.com/driftluo/InfluxDBClient-rs"
Expand Down
6 changes: 2 additions & 4 deletions tests/client_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ fn create_and_delete_measurement() {
.add_field("float", 22.3)
.add_field("'boolean'", false);

client
.write_point(point, Some(Precision::Seconds), None)
tokio::spawn(client.write_point(point, Some(Precision::Seconds), None))
.await
.unwrap();

Expand Down Expand Up @@ -61,8 +60,7 @@ fn use_points() {

let points = Points::create_new(vec![point1, point]);

client
.write_points(points, Some(Precision::Seconds), None)
tokio::spawn(client.write_points(points, Some(Precision::Seconds), None))
.await
.unwrap();

Expand Down

0 comments on commit 44a065a

Please sign in to comment.