jtnunley
0ddf3d6b95
Move list guard/inner list to list.rs
2023-03-30 09:26:36 -07:00
jtnunley
9e3217767d
Move inner data to lib.rs
2023-03-30 09:14:22 -07:00
Alain Zscheile
690cae5b9d
fix(el-strategy): missing feature='std' on Ready impl
2023-03-15 19:47:28 +01:00
John Nunley
52cb4bfd1a
feat: Add the event-listener-strategy crate ( #49 )
2023-03-15 08:48:40 -07:00
Taiki Endo
673e1fa36d
Enable dependabot update for Rust
2022-12-28 12:26:08 +09:00
Taiki Endo
097cbaef91
Clean up CI config
2022-12-28 12:26:08 +09:00
Taiki Endo
7beefeb66a
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:26:08 +09:00
Alex Touchet
0ea39a68eb
Fix build badge and update links ( #45 )
2022-12-18 07:05:53 -08:00
John Nunley
0235e55a0f
Replace the linked list with a safer and less allocation-heavy alternative ( #38 )
...
* Use slab to avoid unsafe code
* Move send+sync impls down to Mutex
* Code review
* Unwrap the key earlier
* Reduce the scope of one of the unsafe blocks.
2022-11-21 08:42:27 -08:00
John Nunley
64965711e1
Bump criterion to 0.4.0 ( #35 )
2022-11-12 08:14:57 -08:00
John Nunley
16b3d599fc
Implement an algorithm to make this crate no_std, take 3 ( #34 )
2022-11-11 07:53:43 -08:00
John Nunley
5c1ae634fb
Add basic benchmarks ( #31 )
2022-09-09 07:30:51 -07:00
John Nunley
c36d7d5ca8
Bump rust-version to 1.39 ( #29 )
2022-08-31 20:54:19 -07:00
John Nunley
a01518f41c
Use the parking crate instead of threading APIs ( #27 )
2022-08-24 06:39:27 -07:00
Taiki Endo
a38fcb4955
Release 2.5.3
2022-07-27 11:26:40 +09:00
Taiki Endo
9b5816aee8
Revert "Temporarily disable Miri weak memory emulation"
...
This reverts commit b634e5b654
.
2022-07-20 23:41:05 +09:00
Taiki Endo
71b5673484
Do not use x86 specific fence on Miri
2022-07-20 22:57:28 +09:00
Taiki Endo
89f6ec2d74
Use compiler_fence in full_fence on x86
2022-07-20 22:56:49 +09:00
Taiki Endo
b634e5b654
Temporarily disable Miri weak memory emulation
2022-07-17 23:08:56 +09:00
Taiki Endo
6670c38635
Apply clippy to all targets
2022-07-17 21:21:50 +09:00
Taiki Endo
42b03cddcf
Update CI config
2022-07-08 02:49:11 +09:00
Taiki Endo
bd79600b1a
Revert "Temporarily disable Miri weak memory emulation"
...
This reverts commit 9decab163b
.
2022-06-23 23:17:24 +09:00
Taiki Endo
9decab163b
Temporarily disable Miri weak memory emulation
2022-06-18 16:12:06 +09:00
Taiki Endo
3672f0806c
Update MIRIFLAGS
2022-05-01 15:04:44 +09:00
Taiki Endo
d5602c2b80
Update actions/checkout action to v3
2022-05-01 14:24:33 +09:00
Taiki Endo
c73ad619f6
Release 2.5.2
2022-01-22 16:38:14 +09:00
Taiki Endo
a8af39b17c
Merge pull request #24 from smol-rs/miri
...
Fix stacked borrows violation with -Zmiri-tag-raw-pointers
2022-01-22 15:40:44 +09:00
Taiki Endo
1fa31c553e
Fix stacked borrows violation with -Zmiri-tag-raw-pointers
2022-01-22 14:45:25 +09:00
Taiki Endo
31708e41b2
Enable -Zmiri-disable-isolation in miri CI
2022-01-08 19:35:32 +09:00
Taiki Endo
ccc68b9249
Run Miri on CI
2022-01-08 19:30:52 +09:00
Taiki Endo
c2be9b7511
Create GitHub release automatically
2022-01-08 19:28:55 +09:00
Taiki Endo
153fd3d871
Clean up CI config
2022-01-08 19:28:02 +09:00
Taiki Endo
c2f20d6adb
Merge pull request #22 from smol-rs/readme
...
Remove readme field from Cargo.toml
2021-02-14 19:52:43 +09:00
Taiki Endo
4dcf727262
Remove readme field from Cargo.toml
2021-02-14 19:44:16 +09:00
Taiki Endo
577d0eb4b9
Merge pull request #21 from smol-rs/badge
...
Update license badge to match Cargo.toml
2021-02-14 14:01:16 +09:00
Taiki Endo
e162fd2d2e
Update license badge to match Cargo.toml
2021-02-14 13:37:31 +09:00
Taiki Endo
42a1cac106
Merge pull request #19 from taiki-e/url
...
Update URLs
2020-12-27 00:00:03 +09:00
Taiki Endo
5cdd66c265
Update URLs
2020-12-26 23:47:13 +09:00
Taiki Endo
a0c600a1a3
Merge pull request #18 from taiki-e/compare_and_swap
...
Replace deprecated compare_and_swap with compare_exchange
2020-12-24 21:35:15 +09:00
Taiki Endo
d4aa0302dc
Replace deprecated compare_and_swap with compare_exchange
2020-12-24 21:19:23 +09:00
Taiki Endo
a652d3be12
Merge pull request #17 from taiki-e/ci
...
Fix CI
2020-12-24 19:13:27 +09:00
Taiki Endo
c213ae18e1
Fix CI
2020-12-24 19:10:43 +09:00
Stjepan Glavina
e6b52dff59
.
2020-11-30 12:29:14 +01:00
Stjepan Glavina
aba502bf9a
Nits
2020-10-09 19:08:39 +02:00
Stjepan Glavina
0dbf5a612a
Add Drop impl for Mutex
2020-10-09 19:08:07 +02:00
Stjepan Glavina
f28e3c6010
Bump to v2.5.1
2020-09-22 10:17:13 +02:00
Stjepan Glavina
1f32082318
Remove spinlock
2020-09-22 10:16:45 +02:00
Stjepan Glavina
95f3eae73e
Bump to v2.5.0
2020-09-22 09:00:11 +02:00
Stjepan Glavina
417658b6ce
Merge pull request #15 from kalcutter/eventlistener-discard
...
EventListener: Add pub fn `discard()`
2020-09-22 08:57:54 +02:00
Kal Conley
64a570bbda
EventListener: Add pub fn `discard()`
...
This function provides a convenient way to drop a listener and avoid
having its notification sent to another active listener.
2020-09-22 01:18:22 +02:00