Skip to content

Commit b7a2496

Browse files
author
Stjepan Glavina
committed
Bump to 1.3.1
1 parent 7f91c12 commit b7a2496

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Version 1.3.1
2+
3+
- Make `spawn_local` available only on unix and windows.
4+
15
# Version 1.3.0
26

37
- Add `waker_fn`.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "async-task"
3-
version = "1.3.0"
3+
version = "1.3.1"
44
authors = ["Stjepan Glavina <[email protected]>"]
55
edition = "2018"
66
license = "Apache-2.0/MIT"

src/lib.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -129,5 +129,8 @@ mod utils;
129129
mod waker_fn;
130130

131131
pub use crate::join_handle::JoinHandle;
132-
pub use crate::task::{spawn, spawn_local, Task};
132+
pub use crate::task::{spawn, Task};
133133
pub use crate::waker_fn::waker_fn;
134+
135+
#[cfg(any(unix, windows))]
136+
pub use crate::task::spawn_local;

0 commit comments

Comments
 (0)