We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f91c12 commit b7a2496Copy full SHA for b7a2496
CHANGELOG.md
@@ -1,3 +1,7 @@
1
+# Version 1.3.1
2
+
3
+- Make `spawn_local` available only on unix and windows.
4
5
# Version 1.3.0
6
7
- Add `waker_fn`.
Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "async-task"
-version = "1.3.0"
+version = "1.3.1"
authors = ["Stjepan Glavina <stjepang@gmail.com>"]
edition = "2018"
license = "Apache-2.0/MIT"
src/lib.rs
@@ -129,5 +129,8 @@ mod utils;
129
mod waker_fn;
130
131
pub use crate::join_handle::JoinHandle;
132
-pub use crate::task::{spawn, spawn_local, Task};
+pub use crate::task::{spawn, Task};
133
pub use crate::waker_fn::waker_fn;
134
135
+#[cfg(any(unix, windows))]
136
+pub use crate::task::spawn_local;
0 commit comments