-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(maitake): change name to
maitake
, add docs (#180)
* chore(async): rename to `maitake` * chore: update CI config * docs(maitake): add README, etc Signed-off-by: Eliza Weisman <[email protected]> Co-authored-by: James Munns <[email protected]>
- Loading branch information
1 parent
afd1ce2
commit 7bb3180
Showing
16 changed files
with
106 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,20 @@ | ||
[package] | ||
name = "mycelium-async" | ||
name = "maitake" | ||
version = "0.1.0" | ||
edition = "2021" | ||
authors = [ | ||
"Eliza Weisman <[email protected]>", | ||
"James Munns <[email protected]>" | ||
] | ||
description = "Async runtime construction kit" | ||
repository = "https://github.com/hawkw/mycelium" | ||
license = "MIT" | ||
readme = "./README.md" | ||
categories = [ | ||
"no-std", | ||
"async", | ||
] | ||
edition = "2021" | ||
rust-version = "1.61.0" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
|
@@ -27,4 +36,8 @@ futures-util = "0.3" | |
[target.'cfg(loom)'.dev-dependencies] | ||
loom = { version = "0.5.5", features = ["futures"] } | ||
tracing_01 = { package = "tracing", version = "0.1", default_features = false } | ||
tracing_subscriber_03 = { package = "tracing-subscriber", version = "0.3.11", features = ["fmt"] } | ||
tracing_subscriber_03 = { package = "tracing-subscriber", version = "0.3.11", features = ["fmt"] } | ||
|
||
[package.metadata.docs.rs] | ||
all-features = true | ||
rustdoc-args = ["--cfg", "docsrs"] |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
# maitake | ||
|
||
["Dancing mushroom"][maitake-wiki] — an async runtime construction kit. | ||
|
||
[![crates.io][crates-badge]][crates-url] | ||
[![Documentation][docs-badge]][docs-url] | ||
[![Documentation (HEAD)][docs-main-badge]][docs-main-url] | ||
[![MIT licensed][mit-badge]][mit-url] | ||
[![Test Status][tests-badge]][tests-url] | ||
[![Loom Models][loom-badge]][loom-url] | ||
[![Sponsor @hawkw on GitHub Sponsors][sponsor-badge]][sponsor-url] | ||
|
||
[crates-badge]: https://img.shields.io/crates/v/maitake.svg | ||
[crates-url]: https://crates.io/crates/maitake | ||
[docs-badge]: https://docs.rs/maitake/badge.svg | ||
[docs-url]: https://docs.rs/maitake | ||
[docs-main-badge]: https://img.shields.io/netlify/3ec00bb5-251a-4f83-ac7f-3799d95db0e6?label=docs%20%28main%20branch%29 | ||
[docs-main-url]: https://mycelium.elizas.website/maitake | ||
[mit-badge]: https://img.shields.io/badge/license-MIT-blue.svg | ||
[mit-url]: ../LICENSE | ||
[tests-badge]: https://github.com/hawkw/mycelium/actions/workflows/ci.yml/badge.svg?branch=main | ||
[tests-url]: https://github.com/hawkw/mycelium/actions/workflows/ci.yml | ||
[loom-badge]: https://github.com/hawkw/mycelium/actions/workflows/maitake.yml/badge.svg?branch=main | ||
[loom-url]: https://github.com/hawkw/mycelium/actions/workflows/maitake.yml | ||
[sponsor-badge]: https://img.shields.io/badge/sponsor-%F0%9F%A4%8D-ff69b4 | ||
[sponsor-url]: https://github.com/sponsors/hawkw | ||
[maitake-wiki]: https://en.wikipedia.org/wiki/Grifola_frondosa | ||
|
||
## what is it? | ||
|
||
This library is a collection of modular components for building a Rust | ||
async runtime based on [`core::task`] and [`core::future`], with a focus on | ||
supporting `#![no_std]` projects. | ||
|
||
Unlike other async runtime implementations, `maitake` does *not* provide a | ||
complete, fully-functional runtime implementation. Instead, it provides reusable | ||
implementations of common functionality, including a [task system], | ||
[scheduling], and [notification primitives][wait]. These components may be | ||
combined with other runtime services, such as timers and I/O resources, to | ||
produce a complete, application-specific async runtime. | ||
|
||
`maitake` was initially designed for use in the [mycelium] and [mnemOS] | ||
operating systems, but may be useful for other projects as well. | ||
|
||
[`core::task`]: https://doc.rust-lang.org/stable/core/task/index.html | ||
[`core::future`]: https://doc.rust-lang.org/stable/core/future/index.html | ||
[task system]: task | ||
[scheduling]: scheduler | ||
[wait]: wait | ||
[mycelium]: https://github.com/hawkw/mycelium | ||
[mnemOS]: https://mnemos.jamesmunns.com | ||
|
||
## features | ||
|
||
The following features are available (this list is incomplete; you can help by [expanding it].) | ||
|
||
[expanding it]: https://github.com/hawkw/mycelium/edit/main/maitake/README.md | ||
|
||
| Feature | Default | Explanation | | ||
| :--- | :--- | :--- | | ||
| `alloc` | `true` | Enables [`liballoc`] dependency | | ||
|
||
[`liballoc`]: https://doc.rust-lang.org/alloc/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters