Commit Graph

49 Commits

Author SHA1 Message Date
Taiki Endo e0048be071
Migrate to Rust 2021 (#15) 2023-10-08 15:12:28 +09:00
John Nunley c5a8fab56f
v3.3.1
Signed-off-by: John Nunley <dev@notgull.net>
2023-09-25 10:19:44 -07:00
Taiki Endo e86ac7cfc9 Fix clippy::useless_vec warning in test
```
warning: useless use of `vec!`
 --> tests/smoke.rs:8:13
  |
8 |     let v = vec![2, 3, 5, 7, 11];
  |             ^^^^^^^^^^^^^^^^^^^^ help: you can use an array directly: `[2, 3, 5, 7, 11]`
  |
  = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
  = note: `#[warn(clippy::useless_vec)]` on by default

warning: useless use of `vec!`
  --> tests/smoke.rs:21:13
   |
21 |     let v = vec![10, 20, 30];
   |             ^^^^^^^^^^^^^^^^ help: you can use an array directly: `[10, 20, 30]`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec

warning: useless use of `vec!`
  --> tests/smoke.rs:30:13
   |
30 |     let v = vec![10, 20, 30];
   |             ^^^^^^^^^^^^^^^^ help: you can use an array directly: `[10, 20, 30]`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
```
2023-09-10 20:52:03 +09:00
Taiki Endo d40a8747f6 Update actions/checkout action to v4 2023-09-10 18:26:07 +09:00
Taiki Endo 93d1bcf191 Minimize GITHUB_TOKEN permissions
Refs: https://github.blog/changelog/2021-04-20-github-actions-control-permissions-for-github_token
2023-08-06 16:57:26 +09:00
Taiki Endo 148b4f7701 Set CARGO_NET_GIT_FETCH_WITH_CLI=true in CI 2023-08-06 16:57:26 +09:00
John Nunley 1ef25770ab
Add smol-rs logo (#12) 2023-07-17 14:38:59 +09:00
John Nunley 6995e2e77a
Reimplement in 100% safe code (#11) 2023-06-11 09:27:59 -07:00
John Nunley f17bf33277
v3.3.0 (#10)
- Add `Parallel::collect()` and `Parallel::finish_in()` to allow for generic containers. (#9)
2023-04-07 12:05:46 -07:00
John Nunley 7b7c472203
feat: Add generic collection methods (#9) 2022-12-31 19:04:52 -08:00
Taiki Endo 23e9387721 Enable dependabot update for Rust 2022-12-28 12:37:09 +09:00
Taiki Endo ef8e467463 Clean up CI config 2022-12-28 12:37:09 +09:00
Taiki Endo 675298d76f Remove msrv field from .clippy.toml
Since Rust 1.64, Clippy respects `rust-version` field in Cargo.toml.
rust-lang/rust@b776fb8
2022-12-28 12:37:09 +09:00
Taiki Endo 74fcb8df11 Apply clippy to all targets 2022-07-17 21:21:45 +09:00
Taiki Endo 998d947f47 Update CI config 2022-07-03 21:04:41 +09:00
Taiki Endo b83a27d390 Run Miri on CI 2022-05-01 15:04:28 +09:00
Taiki Endo 2fde9f9779 Update actions/checkout action to v3 2022-05-01 14:13:35 +09:00
Taiki Endo 95a1a5ff64 Ignore clippy::should_implement_trait lint 2022-01-08 22:46:18 +09:00
Taiki Endo db4efcbf96 Clean up CI config 2022-01-08 22:45:51 +09:00
Taiki Endo 5e2bc4516a Release 3.2.0 2021-12-30 12:51:29 +09:00
Taiki Endo 18839b0752 Create GitHub release automatically 2021-12-30 12:49:27 +09:00
Taiki Endo bcccfba162 Remove doc URL from Cargo.toml
https://doc.rust-lang.org/cargo/reference/manifest.html#the-documentation-field

> If no URL is specified in the manifest file, crates.io will
> automatically link your crate to the corresponding docs.rs page.
2021-12-30 12:48:38 +09:00
Taiki Endo 119d3c29d2 Remove `T: Default` bound from Default impl
Fixes #7
2021-12-30 12:48:10 +09:00
Taiki Endo 5048c69633
Merge pull request #5 from smol-rs/readme
Remove readme field from Cargo.toml
2021-02-14 19:52:34 +09:00
Taiki Endo 42688c98cc Remove readme field from Cargo.toml 2021-02-14 19:44:11 +09:00
Taiki Endo 3522a32b08
Merge pull request #4 from smol-rs/badge
Update license badge to match Cargo.toml
2021-02-14 13:54:45 +09:00
Taiki Endo c49f354417 Update license badge to match Cargo.toml 2021-02-14 13:37:38 +09:00
Taiki Endo 1594a3f326
Merge pull request #3 from taiki-e/url
Update URLs
2020-12-26 23:59:43 +09:00
Taiki Endo c1327475a4 Update URLs 2020-12-26 23:47:13 +09:00
Taiki Endo b0d9708609
Merge pull request #2 from taiki-e/ci
Fix CI
2020-12-24 20:41:39 +09:00
Taiki Endo 9c7322816c Fix CI 2020-12-24 20:36:18 +09:00
Stjepan Glavina 3ac50c3ba7
. 2020-11-30 12:26:14 +01:00
Stjepan Glavina 1bbc7fae77 Bump to v3.1.0 2020-07-22 10:20:50 +02:00
Stjepan Glavina d8499b9844 Add Parallel::finish() 2020-07-22 10:12:09 +02:00
Stjepan Glavina e78d9ab79c Bump to v3.0.0 2020-05-28 09:53:14 +02:00
Stjepan Glavina c484247882 Collect results in same order closures were added 2020-05-28 09:52:33 +02:00
Stjepan Glavina 5b6c9e128a Bump to v2.2.0 2020-05-27 21:41:18 +02:00
Stjepan Glavina 95e2999761 Remove PhantomData 2020-05-27 21:40:28 +02:00
Stjepan Glavina 3adcbc884e Bump to v2.1.0 2020-05-27 12:32:32 +02:00
Stjepan Glavina 5befc44a62 More examples 2020-05-27 12:27:15 +02:00
Stjepan Glavina 1882f805d4 More examples 2020-05-27 12:26:44 +02:00
Stjepan Glavina 586c163c6f Typo 2020-05-27 12:21:46 +02:00
Stjepan Glavina dbb570340b Run one of the closures on the main thread 2020-05-27 12:21:17 +02:00
Stjepan Glavina 4f210e1063 Add a par_sum example 2020-05-27 12:21:09 +02:00
Stjepan Glavina 32f352e6a2 Bump to v2.0.0 2020-05-27 10:10:37 +02:00
Stjepan Glavina 7d1c36b2fc Collect results in run() 2020-05-27 10:08:25 +02:00
Stjepan Glavina 364eb2fa4e Bump to v1.0.1 2020-05-27 00:23:21 +02:00
Stjepan Glavina 3ca2667e6b Remove unused mut 2020-05-27 00:22:58 +02:00
Stjepan Glavina 0db060cfd0 Initial commit 2020-05-27 00:05:45 +02:00