Skip to content

Commit 64b5673

Browse files
author
youngday
committed
update, test ok
1 parent 12557df commit 64b5673

4 files changed

Lines changed: 26 additions & 4 deletions

File tree

Cargo.lock

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ udp = { package = "quinn-udp", version = "0.6.1", default-features = false }
101101

102102
tokio-tungstenite = "0.29.0"
103103
tungstenite = "0.29.0"
104+
serde_yaml = "0.9.34"
104105

105106

106107
[dev-dependencies]

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
|name|replace|fun|note|
99
|-|-|-|-|
1010
|tokio||async task ,tcp ,udp,channel,|async frame,tokio::spawn|
11-
|config.rs|yaml,toml,json,single file|read config files ,and put into struct data|simplize config function|
12-
|log4rs|env_logger|log with file||
11+
|config|yaml,toml,json,single file|read config files ,and put into struct data|simplize config function|
12+
|tracing|log4rs,env_logger|async log with file||
1313
|tmq||zeromq with tokio||
1414
|once_cell|lazy_static|global reference from config file||
1515
|rumqttc|paho-mqtt|mqtt of rust with tokio||
16-
|tokio-serial|serial.rs|async serial port||
16+
|tokio-serial|serial|async serial port||
1717
|base64||base64|encode decode|
1818
|plot|plotly|plot data all you want|plot to web,easy than plotters,(https://github.com/youngday/easy_wasm_plotly)|
1919
|iceoryx2|dds|pubsub dds ipc for ros |new realtime(10us) ipc |

examples/webtransport/src/echo-server.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ async fn main() -> anyhow::Result<()> {
7676
}
7777

7878
async fn run_conn(request: web_transport_quinn::Request) -> anyhow::Result<()> {
79-
info!("received WebTransport request: {}", request.url());
79+
info!("received WebTransport request: {}", request.url);
8080

8181
// Accept the session.
8282
let session = request.ok().await.context("failed to accept session")?;
@@ -118,3 +118,4 @@ async fn run_session(session: Session) -> anyhow::Result<()> {
118118
info!("echo successful!");
119119
}
120120
}
121+

0 commit comments

Comments
 (0)