Skip to content

Commit

Permalink
build: 更新依赖
Browse files Browse the repository at this point in the history
  • Loading branch information
itsusinn committed Jan 18, 2022
1 parent a66368f commit 29110cb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2018"

[dependencies]
# bot
teloxide ={ version = "0.5.2",default-features = false,features = ["frunk", "macros", "auto-send","ctrlc_handler","rustls"] }
teloxide ={ version = "0.5.3",default-features = false,features = ["frunk", "macros", "auto-send","ctrlc_handler","rustls"] }
teloxide-core = { version = "0.3.3",default-features = false, features = ["rustls"] }
teloxide-macros = "0.4.1"

Expand All @@ -16,13 +16,13 @@ env_logger = "0.9.0"
log = "0.4.14"

# serialization
serde = { version = "1.0.130", features = ["derive","rc"] }
serde = { version = "1.0.130",default-features = false,features = ["derive","rc"] }
serde_json = "1.0.68"
serde_yaml = "0.8.21"

# asynchronous
async-std = "1.10.0"
tokio = { version = "1.12.0", features = ["rt-multi-thread", "macros","signal"] }
tokio = { version = "1.15.0",default-features = false,features = ["rt-multi-thread", "macros","signal"] }
tokio-util = "0.6.8"
tokio-stream = "0.1.7"
smol = "1.2.5"
Expand All @@ -40,7 +40,7 @@ aes-gcm = {version = "0.9.4",features = ["std"]}

# tools
url = "2.2.2"
dashmap = { version = "4.0.2" , features = ["serde"] }
dashmap = { version = "5.0.0",features = ["serde"] }
once_cell = "1.8.0"
educe = "0.4.18"
num-bigint = "0.4.2"
Expand All @@ -51,14 +51,14 @@ bytes = { version = "1.1.0", features = ["serde"] }
warp = "0.3.1"

# http
reqwest = { version = "0.11.5" ,default-features = false ,features = ["rustls","socks","rustls-tls-webpki-roots","stream","multipart"] }
reqwest = { version = "0.11.9" ,default-features = false ,features = ["rustls","socks","rustls-tls-webpki-roots","stream","multipart"] }

# database
sled = "0.34.7"

# mesagisto
nats = "0.16.0"
mesagisto-client = { git = "https://github.com/MeowCat-Studio/mesagisto-client-rs.git", rev = "cfe7a4" }
mesagisto-client = { branch = "master", git = "https://github.com/MeowCat-Studio/mesagisto-client-rs.git"}
# mesagisto-client = { path = "../../mesagisto-client/rust" }
automatic-config = { git = "https://github.com/Itsusinn/automatic-config-rs.git" }
singleton = { git = "https://github.com/Itsusinn/singleton-rs.git", rev = "bee321c" }
Expand All @@ -68,7 +68,7 @@ either = "1.6.1"
base64-url = "1.4.10"

[dependencies.pyo3]
version = "0.14.5"
version = "0.15.1"
optional = true
features = ["auto-initialize"]

Expand Down
2 changes: 1 addition & 1 deletion src/message/handlers/send.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ pub async fn answer_common(cx: Arc<Cx>) -> anyhow::Result<()> {
let packet = Packet::from(message.tl())?;

SERVER
.send_and_receive(target, address, packet, receive_from_server)
.send_and_receive(target.to_be_bytes().to_vec(), address, packet, receive_from_server)
.await?;
Ok(())
}

0 comments on commit 29110cb

Please sign in to comment.