{"id":13595552,"url":"https://github.com/rust-threadpool/rust-threadpool","last_synced_at":"2026-04-06T03:36:28.725Z","repository":{"id":27794508,"uuid":"31283475","full_name":"rust-threadpool/rust-threadpool","owner":"rust-threadpool","description":"A very simple thread pool for parallel task execution","archived":false,"fork":false,"pushed_at":"2022-06-14T15:52:58.000Z","size":686,"stargazers_count":531,"open_issues_count":14,"forks_count":83,"subscribers_count":15,"default_branch":"master","last_synced_at":"2024-04-14T15:33:16.722Z","etag":null,"topics":["parallelism","rust","thread-pool"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/threadpool","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rust-threadpool.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-24T21:41:52.000Z","updated_at":"2024-04-13T06:45:49.000Z","dependencies_parsed_at":"2022-07-29T01:07:59.703Z","dependency_job_id":null,"html_url":"https://github.com/rust-threadpool/rust-threadpool","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-threadpool%2Frust-threadpool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-threadpool%2Frust-threadpool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-threadpool%2Frust-threadpool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-threadpool%2Frust-threadpool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rust-threadpool","download_url":"https://codeload.github.com/rust-threadpool/rust-threadpool/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":213549742,"owners_count":15604019,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["parallelism","rust","thread-pool"],"created_at":"2024-08-01T16:01:52.337Z","updated_at":"2025-12-12T14:28:25.457Z","avatar_url":"https://github.com/rust-threadpool.png","language":"Rust","readme":"# threadpool\n\nA thread pool for running a number of jobs on a fixed set of worker threads.\n\n[![Build Status](https://travis-ci.org/rust-threadpool/rust-threadpool.svg?branch=master)](https://travis-ci.org/rust-threadpool/rust-threadpool)\n[![doc.rs](https://docs.rs/threadpool/badge.svg)](https://docs.rs/threadpool)\n\n## Usage\n\nAdd this to your `Cargo.toml`:\n\n```toml\n[dependencies]\nthreadpool = \"1.0\"\n```\n\nand this to your crate root:\n\n```rust\nextern crate threadpool;\n```\n\n## Minimal requirements\n\nThis crate requires Rust \u003e= 1.13.0\n\n## Memory performance\n\nRust [1.32.0](https://blog.rust-lang.org/2019/01/17/Rust-1.32.0.html) has switched from jemalloc to the operating systems allocator.\nWhile this enables more plattforms for some workloads this means some performance loss.\n\nTo regain the performance consider enabling the [jemallocator crate](https://crates.io/crates/jemallocator).\n\n## Similar libraries\n\n* [rayon (`rayon::ThreadPool`)](https://docs.rs/rayon/*/rayon/struct.ThreadPool.html)\n* [rust-scoped-pool](http://github.com/reem/rust-scoped-pool)\n* [scoped-threadpool-rs](https://github.com/Kimundi/scoped-threadpool-rs)\n* [crossbeam](https://github.com/aturon/crossbeam)\n\n## License\n\nLicensed under either of\n\n * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)\n * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)\n\nat your option.\n\n### Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally\nsubmitted for inclusion in the work by you, as defined in the Apache-2.0\nlicense, shall be dual licensed as above, without any additional terms or\nconditions.\n\n## Development\n\nTo install rust version 1.13.0 with [rustup](https://rustup.rs) execute this command:\n```\nrustup install 1.13.0\n```\n\nTo run the tests with 1.13.0 use this command:\n```\ncargo +1.13.0 test\n```\n\nIf your build fails with this error:\n```\nwarning: unused manifest key: package.categories\nerror: failed to parse lock file at: /home/vp/rust/threadpool/Cargo.lock\n```\n\nYou can fix it by removing the lock file:\n```\nrm Cargo.lock\n```\n","funding_links":[],"categories":["Rust","\u003ca name=\"Rust\"\u003e\u003c/a\u003eRust"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frust-threadpool%2Frust-threadpool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frust-threadpool%2Frust-threadpool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frust-threadpool%2Frust-threadpool/lists"}