Skip to content

Commit

Permalink
Add badges and documentation link to README
Browse files Browse the repository at this point in the history
  • Loading branch information
Xaeroxe authored May 8, 2024
1 parent ebed560 commit 0c7224c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
# tokio-inherit-task-local
# tokio-inherit-task-local [![Build Status]][actions] [![Latest Version]][crates.io]

[Build Status]: https://img.shields.io/github/actions/workflow/status/Xaeroxe/tokio-inherit-task-local/rust.yml?branch=main
[actions]: https://github.com/Xaeroxe/tokio-inherit-task-local/actions?query=branch%3Amain
[Latest Version]: https://img.shields.io/crates/v/tokio-inherit-task-local.svg
[crates.io]: https://crates.io/crates/tokio-inherit-task-local

[Documentation](https://docs.rs/tokio-inherit-task-local)


Provides functionality very similar to [`tokio::task_local`](https://docs.rs/tokio/latest/tokio/macro.task_local.html) with one key difference. Any future annotated with
`.inherit_task_local()` will inherit the task local values of the task which spawned it. This does not inherit
Expand Down

0 comments on commit 0c7224c

Please sign in to comment.