Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update async-* dependencies #1069

Merged
merged 2 commits into from
Feb 12, 2024
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
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ jobs:
target:
- i686-unknown-linux-gnu
- powerpc-unknown-linux-gnu
# - powerpc64-unknown-linux-gnu
- mips-unknown-linux-gnu
- powerpc64-unknown-linux-gnu
# - mips-unknown-linux-gnu
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is MIPS broken for the latest smol version?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It fails before that, like CI doesn't successfully install the MIPS runtime in rustup

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

- arm-linux-androideabi

steps:
Expand Down
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ io_safety = []

[dependencies]
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 }
futures-core = { version = "0.3.4", optional = true, default-features = false }
futures-io = { version = "0.3.4", optional = true }
Expand All @@ -80,10 +80,10 @@ surf = { version = "2.0.0", optional = true }


[target.'cfg(not(target_os = "unknown"))'.dependencies]
async-global-executor = { version = "2.3.1", optional = true, features = ["async-io"] }
async-io = { version = "1.13.0", optional = true }
futures-lite = { version = "1.0.0", optional = true }
async-process = { version = "1.7.0", optional = true }
async-global-executor = { version = "2.4.0", optional = true, features = ["async-io"] }
async-io = { version = "2.2.0", optional = true }
futures-lite = { version = "2.0.0", optional = true }
async-process = { version = "2.0.0", optional = true }

[target.'cfg(target_arch = "wasm32")'.dependencies]
gloo-timers = { version = "0.2.1", features = ["futures"], optional = true }
Expand Down
7 changes: 7 additions & 0 deletions src/collections/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,17 @@ pub mod hash_set;
pub mod linked_list;
pub mod vec_deque;

#[allow(unused)]
pub use binary_heap::BinaryHeap;
#[allow(unused)]
pub use btree_map::BTreeMap;
#[allow(unused)]
pub use btree_set::BTreeSet;
#[allow(unused)]
pub use hash_map::HashMap;
#[allow(unused)]
pub use hash_set::HashSet;
#[allow(unused)]
pub use linked_list::LinkedList;
#[allow(unused)]
pub use vec_deque::VecDeque;
1 change: 1 addition & 0 deletions src/option/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

mod from_stream;

#[allow(unused)]
#[doc(inline)]
pub use std::option::Option;

Expand Down
1 change: 1 addition & 0 deletions src/result/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

mod from_stream;

#[allow(unused)]
#[doc(inline)]
pub use std::result::Result;

Expand Down
1 change: 1 addition & 0 deletions src/string/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
mod extend;
mod from_stream;

#[allow(unused)]
#[doc(inline)]
pub use std::string::String;
2 changes: 1 addition & 1 deletion src/sync/waker_set.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ impl WakerSet {
/// Returns `true` if at least one operation was notified.
#[cold]
fn notify(&self, n: Notify) -> bool {
let mut inner = &mut *self.lock();
let inner = &mut *self.lock();
let mut notified = false;

for (_, opt_waker) in inner.entries.iter_mut() {
Expand Down
1 change: 1 addition & 0 deletions src/vec/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@
mod extend;
mod from_stream;

#[allow(unused)]
#[doc(inline)]
pub use std::vec::Vec;
Loading