Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion context/http-send-reqwest/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ reqwest = { workspace = true, default-features = false, features = [
wasm-bindgen-test = { version = "0.3" }

[target.'cfg(target_arch = "wasm32")'.dependencies]
futures-channel = { version = "0.3" }
asyncband = { workspace = true, features = ["oneshot"] }
wasm-bindgen-futures = { version = "0.4" }

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions context/http-send-reqwest/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@
//! // Use the custom client
//! let http_send = ReqwestHttpSend::new(client);
//! ```
use bytes::Bytes;
#[cfg(target_arch = "wasm32")]
use futures_channel::oneshot;
use asyncband::oneshot;
use bytes::Bytes;
#[cfg(not(target_arch = "wasm32"))]
use http_body_util::BodyExt;
use reqsign_core::{Error, HttpSend, Result};
Comment thread
tisonkun marked this conversation as resolved.
Expand Down
3 changes: 3 additions & 0 deletions core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ rsa = { workspace = true, optional = true }
serde = { workspace = true, optional = true }
serde_json = { workspace = true, optional = true }

[dev-dependencies]
asyncband = { workspace = true, features = ["oneshot"] }

[target.'cfg(target_os = "windows")'.dependencies]
windows-sys = { version = "0.61.0", features = [
"Win32_Foundation",
Expand Down
2 changes: 1 addition & 1 deletion core/src/signer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ mod tests {
use super::*;
use crate::time::Timestamp;
use crate::{ErrorKind, ProvideCredential, SignRequest};
use futures::channel::oneshot;
use asyncband::oneshot;
use futures::future::{join_all, pending};
use futures::poll;
use http::{HeaderValue, Method, Request, Version};
Expand Down
2 changes: 2 additions & 0 deletions services/azure-storage/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ rust-version.workspace = true

[dependencies]
anyhow = { workspace = true }
asyncband = { workspace = true, features = ["singleflight"] }
base64 = { workspace = true }
bytes = { workspace = true }
form_urlencoded = { workspace = true }
Expand All @@ -45,6 +46,7 @@ rsa = { workspace = true }
reqsign-core = { workspace = true, features = ["jwt"] }

[dev-dependencies]
asyncband = { workspace = true, features = ["semaphore"] }
env_logger = { workspace = true }
reqsign-command-execute-tokio = { workspace = true }
reqsign-file-read-tokio = { workspace = true }
Expand Down
Loading
Loading