6 Commits

Author SHA1 Message Date
dcb8b8cad2 Add renovate.json
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2025-07-02 00:53:28 +00:00
177820f3c3 docs: clarify usage
Some checks failed
continuous-integration/drone/push Build is failing
2025-07-01 16:08:33 +02:00
3fc9c3143f docs: set private url 2025-07-01 16:03:34 +02:00
8b1ef0c2cb feat: clarify readme
All checks were successful
continuous-integration/drone/push Build is passing
2025-07-01 16:02:05 +02:00
688e742f20 feat: set mit
All checks were successful
continuous-integration/drone/push Build is passing
2025-07-01 15:46:50 +02:00
c6dbf5f4ea feat use mit license 2025-07-01 15:46:33 +02:00
5 changed files with 17 additions and 3 deletions

2
Cargo.lock generated
View File

@@ -88,7 +88,7 @@ dependencies = [
[[package]]
name = "noworkers"
version = "0.1.0"
version = "0.0.1"
dependencies = [
"anyhow",
"tokio",

View File

@@ -4,6 +4,7 @@ resolver = "2"
[workspace.package]
version = "0.0.1"
license = "MIT"
[workspace.dependencies]
noworkers = { path = "crates/noworkers" }

View File

@@ -5,6 +5,12 @@ Manage concurrent tasks with optional limits, cancellation, and first-error prop
Inpired by golang (errgroups)
## Disclaimer
The library is still new, and as such the API is subject to change, I don't expect changes to the add and wait functions, but the rest may change. I might also move to custom error types, and or removing the tokio_utils entirely to slim down the package. It shouldn't affect the user too much however.
The crate is in production, and has seen extensive use
## Features
- **Unlimited or bounded concurrency** via `with_limit(usize)`.
@@ -101,5 +107,9 @@ async fn main() -> anyhow::Result<()> {
Dual-licensed under **MIT** or **Apache-2.0**.
See [LICENSE-MIT](LICENSE-MIT) and [LICENSE-APACHE](LICENSE-APACHE) for details.
```
## Contribute
Simply create an issue here or pr https://github.com/kjuulh/noworkers.git, development happens publicly at: https://git.front.kjuulh.io/kjuulh/noworkers.

View File

@@ -3,7 +3,7 @@ name = "noworkers"
edition = "2024"
readme = "../../README.md"
version.workspace = true
license = "MIT or APACHE"
license.workspace = true
repository = "https://git.front.kjuulh.io/kjuulh/noworkers"
authors = ["kjuulh <contact@kasperhermansen.com>"]
description = "A small asyncronous worker pool manages thread pool limiting, cancellation and error propogation, inspired by golangs errgroup (requires tokio)"

3
renovate.json Normal file
View File

@@ -0,0 +1,3 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
}