Commit Graph

18 Commits

Author SHA1 Message Date
dependabot[bot] b447c2dc1c Update smol requirement from 1 to 2
Updates the requirements on [smol](https://github.com/smol-rs/smol) to permit the latest version.
- [Release notes](https://github.com/smol-rs/smol/releases)
- [Changelog](https://github.com/smol-rs/smol/blob/master/CHANGELOG.md)
- [Commits](https://github.com/smol-rs/smol/compare/v1.0.0...v2.0.0)

---
updated-dependencies:
- dependency-name: smol
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-07 03:41:27 +09:00
Taiki Endo 3507db58f5 Migrate to Rust 2021 2024-01-07 03:38:56 +09:00
Taiki Endo 05e0dd7c4b Bump MSRV to 1.60
https://github.com/crossbeam-rs/crossbeam/pull/1056
2024-01-07 03:38:56 +09:00
John Nunley 30b8039983
v1.2.4
Signed-off-by: John Nunley <dev@notgull.net>
2023-12-02 11:02:32 -08:00
John Nunley 90dc513458
bugfix: Use async-lock as the locking mechanism
We can't use `std::sync::Mutex` without further unsafe code, and we
can't use `simple-mutex` since it is unmaintained. Therefore we use the
`async-lock` crate, since it has a good blocking mutex.

Closes #12

Signed-off-by: John Nunley <dev@notgull.net>
2023-11-14 20:06:19 -08:00
John Nunley f2b822a618
v1.2.3
Signed-off-by: John Nunley <dev@notgull.net>
2023-09-25 09:30:07 -07:00
John Nunley 50851bfd8e
m: Remove the simple-mutex dependency
Remove the simple-mutex dependency

It appears that this was originally done when std::sync::Mutex used the
PThreads implementation, which was much slower than other
contemporary Mutex implementations (like parking_lot). Therefore it
made sense to use a custom Mutex implementation here. However std
Mutexes now use futexes, which are much faster than the previous
implementation.

In addition, the original git history for simple-mutex appears to be lost
to time. The only copy of the source code is on crates.io, and the crate
is not owned by anyone. So it is problematic to use it anyways, as
updating it would require us to go through the painstaking process of
reclaiming the name.

This commit removes the dependency on simple-mutex and replaces its
usages with std::sync::Mutex for the reasons listed above. The
performance impact of this change has not been measured, but I believe
it to be negligible.

Also bumps MSRV to 1.41.

Signed-off-by: John Nunley <dev@notgull.net>
2023-09-20 19:29:36 -07:00
Taiki Endo d106d4d581 Create GitHub release automatically 2022-01-08 21:28:14 +09:00
Taiki Endo f0e426066d Clean up CI config 2022-01-08 21:27:38 +09:00
Taiki Endo f8aa7dc7bd Remove readme field from Cargo.toml 2021-02-14 19:40:06 +09:00
Taiki Endo 672da84529 Update URLs 2020-12-26 23:47:13 +09:00
Taiki Endo 49ab18e9b6 Update smol to 1 2020-12-26 22:16:18 +09:00
Stjepan Glavina 286e5f507e Bump to v1.2.2 2020-09-19 00:28:24 +02:00
Stjepan Glavina c37934d55e Bump to v1.2.1 2020-07-07 09:56:47 +02:00
Stjepan Glavina 7067d5b799 Bump to v1.2.0 2020-07-05 19:23:50 +02:00
Stjepan Glavina 51b0494900 Bump to v1.1.0 2020-06-19 12:27:13 +02:00
Stjepan Glavina ad65bacbae Bump to v1.0.1 2020-05-31 17:12:48 +02:00
Stjepan Glavina 34842de454 Initial commit 2020-05-31 16:55:34 +02:00