Commit graph

6 commits

Author SHA1 Message Date
6064b798c9 Add drone CI config
Some checks failed
continuous-integration/drone/push Build is failing
2021-01-10 17:25:30 +01:00
28368bce3d fix: Change Worker struct to be private
The Worker struct is part of the internal ThreadPool implementation and
doesn't need to be exported.
2021-01-08 19:02:51 +01:00
941b47790b doc: Add general documentation for the poolth crate 2021-01-08 19:01:57 +01:00
92b4db36a6 feat: Implement the tutorial ThreadPool version
This commit includes the version of the ThreadPool from the official
rust book [1] with a small improvment regarding the pool creation. This
version does not panic if it fails to create the pool it will return a
Result with a possible ThreadPoolCreatError. Everything else is equal to
the tutorial implementation.

[1]
https://doc.rust-lang.org/book/ch20-00-final-project-a-web-server.html
2021-01-08 11:49:36 +01:00
da4f8ee784 Init project
Inclueds license file and cargo setup with a short project explenation
inside the README.md.
2021-01-07 11:30:11 +01:00
cbcec69552 Initial commit 2021-01-07 11:05:50 +01:00