Skip to content

Commit 8e69949

Browse files
committed
feat: v3.3.1
1 parent 29da133 commit 8e69949

File tree

4 files changed

+8
-12
lines changed

4 files changed

+8
-12
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tcplane"
3-
version = "3.3.0"
3+
version = "3.3.1"
44
edition = "2021"
55
authors = ["ltpp-universe <root@ltpp.vip>"]
66
license = "MIT"

readme.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,11 @@ use tcplane::*;
3232
async fn test_func(arc_lock_controller_data: ArcRwLockControllerData) {
3333
let res: ResponseData = arc_lock_controller_data.send("tcplane").await.unwrap();
3434
arc_lock_controller_data
35-
.get_controller_data()
36-
.await
37-
.get_log()
38-
.debug(
35+
.log_debug(
3936
format!("Response => {:?}\n", String::from_utf8_lossy(&res)),
4037
log_debug_format_handler,
41-
);
38+
)
39+
.await;
4240
}
4341

4442
async fn run_server() {

src/cfg.rs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,11 @@ async fn test_server_basic_usage() {
55
async fn test_func(arc_lock_controller_data: ArcRwLockControllerData) {
66
let res: ResponseData = arc_lock_controller_data.send("tcplane").await.unwrap();
77
arc_lock_controller_data
8-
.get_controller_data()
9-
.await
10-
.get_log()
11-
.debug(
8+
.log_debug(
129
format!("Response => {:?}\n", String::from_utf8_lossy(&res)),
1310
log_debug_format_handler,
14-
);
11+
)
12+
.await;
1513
}
1614

1715
async fn run_server() {

0 commit comments

Comments
 (0)