fc1593b76f
Bump criterion version
...
0.3 uses some Rust features that will not work in the future, so upgrade
while we're moving thigns anyway
2023-08-27 14:25:14 +02:00
8f19921e9e
Merge pull request #30 from bertptrs/remove-lazy-static
2023-08-27 11:26:58 +02:00
00420d6807
Implement wrapper for OnceLock
2023-08-26 00:58:54 +02:00
49b15bb6bd
Bump MSRV to 1.70
2023-08-26 00:58:54 +02:00
29c9daf53e
Replace dependency on lazy-static with OnceLock
2023-08-25 08:44:45 +02:00
bors[bot]
8feedb09d2
Merge #27
...
27: Add MSRV of 1.63 r=bertptrs a=bertptrs
Fixes #26 .
Co-authored-by: Bert Peters <bert@bertptrs.nl >
2022-08-29 06:34:17 +00:00
de9888a102
Update documentation with MSRV
2022-08-29 08:32:17 +02:00
2d2e03eede
Simplify lazy mutex ID drop
2022-08-29 08:26:12 +02:00
e9b577a0f5
Make stdsync wrappers const-constructible
2022-08-27 10:33:15 +02:00
5f6823394d
Build and test with Rust 1.63
2022-08-27 10:26:42 +02:00
bors[bot]
61d19f866c
Merge #25
...
25: Restructure modules r=bertptrs a=bertptrs
The `TracingFoo`, `DebugFoo` versions of every `Foo` resulted in quite verbose types everywhere. This PR restructures them to separate modules. The new modules map onto the old types as follows:
- `tracing_mutex::foo::TracingFoo` -> `tracing_mutex::foo::tracing::Foo`
- `tracing_mutex::foo::DebugFoo` -> `tracing_mutex::foo::Foo`
Co-authored-by: Bert Peters <bert@bertptrs.nl >
2022-08-27 08:18:29 +00:00
f78969ebf7
Update documentation
2022-08-27 10:08:51 +02:00
56b0604448
Restructure parking_lot wrappers
2022-08-27 10:06:31 +02:00
6e5516eaa7
Restructure std::sync wrappers
2022-08-27 10:01:51 +02:00
764d3df454
Add parking_lot to changelog
2022-08-24 10:28:51 +02:00
bors[bot]
e543860d8b
Merge #24
...
24: Update parking_lot dependency to 0.12 r=bertptrs a=djkoloski
The changelog for parking_lot 0.12 can be found [here](https://github.com/Amanieu/parking_lot/blob/master/CHANGELOG.md#parking_lot-0120-parking_lot_core-090-lock_api-046-2022-01-28 ):
```
- The MSRV is bumped to 1.49.0.
- Disabled eventual fairness on wasm32-unknown-unknown. (#302 )
- Added a rwlock method to report if lock is held exclusively. (#303 )
- Use new asm! macro. (#304 )
- Use windows-rs instead of winapi for faster builds. (#311 )
- Moved hardware lock elision support to a separate Cargo feature. (#313 )
- Removed used of deprecated spin_loop_hint. (#314 )
```
Co-authored-by: David Koloski <dkoloski@google.com >
2022-08-24 08:20:55 +00:00
David Koloski
ed04552af3
Update parking_lot dependency to 0.12
2022-08-23 11:34:31 -04:00
bors[bot]
c5a506436c
Merge #23
...
23: Ensure `BorrowedMutex` is `!Send` r=bertptrs a=bertptrs
This should prevent the bugs found in #22 .
Co-authored-by: Bert Peters <bert@bertptrs.nl >
2022-06-23 20:02:10 +00:00
33cb6014a3
Ensure BorrowedMutex is !Send
2022-06-23 21:54:25 +02:00
5232bac582
Bump version
v0.2.1
2022-05-23 08:59:47 +02:00
bors[bot]
6472f4b807
Merge #21
...
21: Prepare for release v0.2.1 r=bertptrs a=bertptrs
Co-authored-by: Bert Peters <bert@bertptrs.nl >
2022-05-23 06:55:45 +00:00
6afe7b1c48
Update README and CHANGELOG
2022-05-23 08:53:56 +02:00
9238ef53ee
Update copyright
2022-05-23 08:37:26 +02:00
bors[bot]
c08addff7d
Merge #17
...
17: Fix typos r=bertptrs a=quisar
Co-authored-by: Benjamin Lerman <qsr@chromium.org >
2022-05-23 06:33:21 +00:00
bors[bot]
c1ce9df8ad
Merge #19
...
19: Add a wrapper for `std::sync::Condvar` r=bertptrs a=bertptrs
This wrapper does not do any tracing itself but supports the use of a tracing mutex guard instead of an `std::sync` one.
Co-authored-by: Bert Peters <bert@bertptrs.nl >
2022-05-17 19:50:02 +00:00
312eaa8649
Add a wrapper for std::sync::Condvar
...
This wrapper does not do any tracing itself but supports the use of a
tracing mutex guard instead of an `std::sync` one.
2022-05-17 21:45:25 +02:00
bors[bot]
1f7e6921aa
Merge #18
...
18: Enable bors for nicer merging r=bertptrs a=bertptrs
Co-authored-by: Bert Peters <bert@bertptrs.nl >
2022-05-15 21:40:40 +00:00
f7048f265f
Enable CI builds on staging/trying
2022-05-15 23:35:00 +02:00
64e56fdb86
Add minimal bors config
2022-05-15 23:35:00 +02:00
Benjamin Lerman
8e3278fdd2
Fix typos
2022-05-10 10:30:20 +02:00
9ea993e737
Add missing date
2022-05-07 18:15:50 +02:00
062850fc3e
Merge pull request #16 from bertptrs/docsrs_feature_docs
...
Fix documentation builds for features
2022-05-07 17:56:09 +02:00
0d2622d5c6
Build documentation on CI
2022-05-07 17:52:32 +02:00
d1417e0b0c
Tag module docs with their required features
2022-05-07 17:52:32 +02:00
fcc64e2cef
Automatically build documentation for all features
2022-05-07 17:03:45 +02:00
fd0d05307c
Update README and copyright year
2022-05-07 16:54:37 +02:00
2f6e214784
Merge pull request #15 from bertptrs/pre-release-cleanup
v0.2.0
2022-05-07 16:50:10 +02:00
3ec7e83e00
Update changelog and version
2022-05-07 16:43:31 +02:00
ea8e0208a0
Explicitly test for disallowed self-cycles
2022-05-07 16:43:31 +02:00
8926af4e13
Also deny clippy warnings on other targets
2022-05-07 16:43:31 +02:00
77676ea04d
Fix formatting
2022-05-07 16:43:31 +02:00
46c92cfbbf
Merge pull request #13 from quisar/add_upgradable
2022-05-06 10:17:54 +02:00
Benjamin Lerman
743cc83669
Add TracingRwLockUpgradableReadGuard wrapper for parking_lot
2022-05-03 10:16:27 +02:00
4faaae8d8f
Merge pull request #10 from quisar/fix_locking_issues_in_lockapi
2022-05-02 08:32:13 +02:00
Benjamin Lerman
b78af9150d
Fix a number of issues in the lockapi wrappers.
2022-05-02 08:20:23 +02:00
515930c0a2
Merge pull request #9 from quisar/prevent-reentrant-locking
2022-05-02 08:13:48 +02:00
Benjamin Lerman
b5a5ca16c3
Do not allow recursive locks.
2022-05-02 08:11:37 +02:00
aef99d4f65
Merge pull request #8 from quisar/fix_deref
2022-05-02 08:04:55 +02:00
Benjamin Lerman
6073c6c78d
Fix Target for Deref of stdsync::TracingMutexGuard
2022-05-01 16:53:26 +02:00
cdd44f74fa
Merge pull request #11 from bertptrs/fix-bitrot
2022-05-01 14:06:23 +02:00