update to 0.4.2

This commit is contained in:
shenjack 2024-02-21 21:50:52 +08:00
parent 1aeabb3e13
commit 8c87cad42f
Signed by: shenjack
GPG Key ID: 7B1134A979775551
3 changed files with 16 additions and 2 deletions

View File

@ -1,6 +1,6 @@
[package] [package]
name = "ica-rs" name = "ica-rs"
version = "0.4.1" version = "0.4.2"
edition = "2021" edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -67,7 +67,7 @@ async fn main() {
if ica_config.notice_start { if ica_config.notice_start {
for room in ica_config.notice_room.iter() { for room in ica_config.notice_room.iter() {
let startup_msg = crate::data_struct::messages::SendMessage::new( let startup_msg = crate::data_struct::messages::SendMessage::new(
format!("ica-rs bot v{}", VERSION), format!("ica-async-rs bot v{}", VERSION),
room.clone(), room.clone(),
None, None,
); );
@ -90,4 +90,5 @@ async fn main() {
socket.disconnect().await.expect("Disconnect failed"); socket.disconnect().await.expect("Disconnect failed");
info!("Disconnected"); info!("Disconnected");
} }

13
news.md
View File

@ -1,5 +1,18 @@
# 更新日志 # 更新日志
## 0.4.2
现在是 async 版本啦!
## 0.4.1
现在能发送登录信息啦
## 0.4.0
使用 Rust 从头实现一遍
\能登录啦/
## 0.3.3 ## 0.3.3
适配 Rust 端的配置文件修改 适配 Rust 端的配置文件修改