├── .github ├── dependabot.yml └── workflows │ ├── ci.yml │ └── release.yml ├── .gitignore ├── CHANGELOG.md ├── Cargo.toml ├── LICENSE-APACHE ├── LICENSE-MIT ├── README.md ├── benches └── spawn.rs ├── examples ├── spawn-local.rs ├── spawn-on-thread.rs ├── spawn.rs └── with-metadata.rs ├── src ├── header.rs ├── lib.rs ├── raw.rs ├── runnable.rs ├── state.rs ├── task.rs └── utils.rs └── tests ├── basic.rs ├── cancel.rs ├── join.rs ├── metadata.rs ├── panic.rs ├── ready.rs ├── waker_panic.rs ├── waker_pending.rs └── waker_ready.rs /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smol-rs/async-task/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smol-rs/async-task/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smol-rs/async-task/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | **/*.rs.bk 3 | Cargo.lock 4 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smol-rs/async-task/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smol-rs/async-task/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE-APACHE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smol-rs/async-task/HEAD/LICENSE-APACHE -------------------------------------------------------------------------------- /LICENSE-MIT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smol-rs/async-task/HEAD/LICENSE-MIT -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smol-rs/async-task/HEAD/README.md -------------------------------------------------------------------------------- /benches/spawn.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smol-rs/async-task/HEAD/benches/spawn.rs -------------------------------------------------------------------------------- /examples/spawn-local.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smol-rs/async-task/HEAD/examples/spawn-local.rs -------------------------------------------------------------------------------- /examples/spawn-on-thread.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smol-rs/async-task/HEAD/examples/spawn-on-thread.rs -------------------------------------------------------------------------------- /examples/spawn.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smol-rs/async-task/HEAD/examples/spawn.rs -------------------------------------------------------------------------------- /examples/with-metadata.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smol-rs/async-task/HEAD/examples/with-metadata.rs -------------------------------------------------------------------------------- /src/header.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smol-rs/async-task/HEAD/src/header.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smol-rs/async-task/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/raw.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smol-rs/async-task/HEAD/src/raw.rs -------------------------------------------------------------------------------- /src/runnable.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smol-rs/async-task/HEAD/src/runnable.rs -------------------------------------------------------------------------------- /src/state.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smol-rs/async-task/HEAD/src/state.rs -------------------------------------------------------------------------------- /src/task.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smol-rs/async-task/HEAD/src/task.rs -------------------------------------------------------------------------------- /src/utils.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smol-rs/async-task/HEAD/src/utils.rs -------------------------------------------------------------------------------- /tests/basic.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smol-rs/async-task/HEAD/tests/basic.rs -------------------------------------------------------------------------------- /tests/cancel.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smol-rs/async-task/HEAD/tests/cancel.rs -------------------------------------------------------------------------------- /tests/join.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smol-rs/async-task/HEAD/tests/join.rs -------------------------------------------------------------------------------- /tests/metadata.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smol-rs/async-task/HEAD/tests/metadata.rs -------------------------------------------------------------------------------- /tests/panic.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smol-rs/async-task/HEAD/tests/panic.rs -------------------------------------------------------------------------------- /tests/ready.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smol-rs/async-task/HEAD/tests/ready.rs -------------------------------------------------------------------------------- /tests/waker_panic.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smol-rs/async-task/HEAD/tests/waker_panic.rs -------------------------------------------------------------------------------- /tests/waker_pending.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smol-rs/async-task/HEAD/tests/waker_pending.rs -------------------------------------------------------------------------------- /tests/waker_ready.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smol-rs/async-task/HEAD/tests/waker_ready.rs --------------------------------------------------------------------------------