mirror of
https://github.com/async-rs/async-std.git
synced 2025-04-07 00:46:43 +00:00
Merge pull request #1069 from Keruspe/update-deps
This commit is contained in:
commit
8947d8e03c
8 changed files with 19 additions and 8 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -132,8 +132,8 @@ jobs:
|
||||||
target:
|
target:
|
||||||
- i686-unknown-linux-gnu
|
- i686-unknown-linux-gnu
|
||||||
- powerpc-unknown-linux-gnu
|
- powerpc-unknown-linux-gnu
|
||||||
# - powerpc64-unknown-linux-gnu
|
- powerpc64-unknown-linux-gnu
|
||||||
- mips-unknown-linux-gnu
|
# - mips-unknown-linux-gnu
|
||||||
- arm-linux-androideabi
|
- arm-linux-androideabi
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
10
Cargo.toml
10
Cargo.toml
|
@ -62,7 +62,7 @@ io_safety = []
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
async-attributes = { version = "1.1.2", optional = true }
|
async-attributes = { version = "1.1.2", optional = true }
|
||||||
async-lock = { version = "2.7.0", optional = true }
|
async-lock = { version = "3.1.0", optional = true }
|
||||||
crossbeam-utils = { version = "0.8.0", optional = true }
|
crossbeam-utils = { version = "0.8.0", optional = true }
|
||||||
futures-core = { version = "0.3.4", optional = true, default-features = false }
|
futures-core = { version = "0.3.4", optional = true, default-features = false }
|
||||||
futures-io = { version = "0.3.4", optional = true }
|
futures-io = { version = "0.3.4", optional = true }
|
||||||
|
@ -80,10 +80,10 @@ surf = { version = "2.0.0", optional = true }
|
||||||
|
|
||||||
|
|
||||||
[target.'cfg(not(target_os = "unknown"))'.dependencies]
|
[target.'cfg(not(target_os = "unknown"))'.dependencies]
|
||||||
async-global-executor = { version = "2.3.1", optional = true, features = ["async-io"] }
|
async-global-executor = { version = "2.4.0", optional = true, features = ["async-io"] }
|
||||||
async-io = { version = "1.13.0", optional = true }
|
async-io = { version = "2.2.0", optional = true }
|
||||||
futures-lite = { version = "1.0.0", optional = true }
|
futures-lite = { version = "2.0.0", optional = true }
|
||||||
async-process = { version = "1.7.0", optional = true }
|
async-process = { version = "2.0.0", optional = true }
|
||||||
|
|
||||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||||
gloo-timers = { version = "0.2.1", features = ["futures"], optional = true }
|
gloo-timers = { version = "0.2.1", features = ["futures"], optional = true }
|
||||||
|
|
|
@ -11,10 +11,17 @@ pub mod hash_set;
|
||||||
pub mod linked_list;
|
pub mod linked_list;
|
||||||
pub mod vec_deque;
|
pub mod vec_deque;
|
||||||
|
|
||||||
|
#[allow(unused)]
|
||||||
pub use binary_heap::BinaryHeap;
|
pub use binary_heap::BinaryHeap;
|
||||||
|
#[allow(unused)]
|
||||||
pub use btree_map::BTreeMap;
|
pub use btree_map::BTreeMap;
|
||||||
|
#[allow(unused)]
|
||||||
pub use btree_set::BTreeSet;
|
pub use btree_set::BTreeSet;
|
||||||
|
#[allow(unused)]
|
||||||
pub use hash_map::HashMap;
|
pub use hash_map::HashMap;
|
||||||
|
#[allow(unused)]
|
||||||
pub use hash_set::HashSet;
|
pub use hash_set::HashSet;
|
||||||
|
#[allow(unused)]
|
||||||
pub use linked_list::LinkedList;
|
pub use linked_list::LinkedList;
|
||||||
|
#[allow(unused)]
|
||||||
pub use vec_deque::VecDeque;
|
pub use vec_deque::VecDeque;
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
|
|
||||||
mod from_stream;
|
mod from_stream;
|
||||||
|
|
||||||
|
#[allow(unused)]
|
||||||
#[doc(inline)]
|
#[doc(inline)]
|
||||||
pub use std::option::Option;
|
pub use std::option::Option;
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
|
|
||||||
mod from_stream;
|
mod from_stream;
|
||||||
|
|
||||||
|
#[allow(unused)]
|
||||||
#[doc(inline)]
|
#[doc(inline)]
|
||||||
pub use std::result::Result;
|
pub use std::result::Result;
|
||||||
|
|
||||||
|
|
|
@ -5,5 +5,6 @@
|
||||||
mod extend;
|
mod extend;
|
||||||
mod from_stream;
|
mod from_stream;
|
||||||
|
|
||||||
|
#[allow(unused)]
|
||||||
#[doc(inline)]
|
#[doc(inline)]
|
||||||
pub use std::string::String;
|
pub use std::string::String;
|
||||||
|
|
|
@ -149,7 +149,7 @@ impl WakerSet {
|
||||||
/// Returns `true` if at least one operation was notified.
|
/// Returns `true` if at least one operation was notified.
|
||||||
#[cold]
|
#[cold]
|
||||||
fn notify(&self, n: Notify) -> bool {
|
fn notify(&self, n: Notify) -> bool {
|
||||||
let mut inner = &mut *self.lock();
|
let inner = &mut *self.lock();
|
||||||
let mut notified = false;
|
let mut notified = false;
|
||||||
|
|
||||||
for (_, opt_waker) in inner.entries.iter_mut() {
|
for (_, opt_waker) in inner.entries.iter_mut() {
|
||||||
|
|
|
@ -6,5 +6,6 @@
|
||||||
mod extend;
|
mod extend;
|
||||||
mod from_stream;
|
mod from_stream;
|
||||||
|
|
||||||
|
#[allow(unused)]
|
||||||
#[doc(inline)]
|
#[doc(inline)]
|
||||||
pub use std::vec::Vec;
|
pub use std::vec::Vec;
|
||||||
|
|
Loading…
Reference in a new issue