Janis
1aee8d2f1c
feat(Cargo): add nightly feature to default configuration
2025-08-08 00:33:00 +02:00
Janis
9e3fa2cdb0
u32,u64,u16 conversion functions, sync queue, random utilities
...
- `NextIf` iterator trait that yields the next element iff some predicate holds
- `u64_from_u32s`, `u32s_from_u64`, `u32_from_u16s`, `u16s_from_u32` functions
- moved `can_transmute` to `mem` module, added `is_same_size` and `is_aligned`
functions
- `copy_from` function for `TaggedAtomicPtr`
- attempt at a sync queue?
- `is_whitespace` function
2025-08-06 22:51:27 +02:00
Janis
b3d4159883
Option type which short-cirtuits on Some instead of None in Try contexts
2025-07-06 15:05:04 +02:00
Janis
b22254cb32
comments
2025-07-06 15:04:58 +02:00
Janis
568d14aa9c
sync channel inspired by chili
2025-07-06 14:26:51 +02:00
Janis
5a3b6447f3
slight refactor of Lock
2025-07-06 14:26:39 +02:00
Janis
4c70dbfc71
Parker: park with callback before waiting
2025-07-05 14:21:31 +02:00
Janis
c9e69c3b06
cachepadded: turn into pub newtype
2025-07-05 14:21:15 +02:00
Janis
eee2f8995a
Thread parker
2025-07-04 18:37:41 +02:00
Janis
7f7a1c3314
AtomicOption try_set, into/from_option
2025-07-04 13:29:47 +02:00
Janis
c2f1d8d749
AtomicTaggedPtr compareexchange ptr part, remove unsafe nonnull conversions
2025-07-04 13:29:26 +02:00
Janis
1ea8bcb3ed
atomiccell
2025-07-03 16:50:41 +02:00
Janis
4f1e4b1672
small fixes, std implies alloc, dropguarded wrapper with dropguard
2025-07-03 16:50:20 +02:00
Janis
f23f815708
simple atomic lock
2025-07-02 22:37:56 +02:00
Janis
71f1767092
nightly feature gate
2025-07-02 21:50:24 +02:00
Janis
42443518e1
taggedptr
2025-07-02 19:19:00 +02:00
Janis
f4623d1205
fixed can_transmute/SmallBox::is_inline
2025-07-02 19:18:41 +02:00
Janis
56faa52d0d
xorshift64star
2025-07-02 18:46:02 +02:00
Janis
119b49e20d
random small things:
...
Send wrapper
available_parallelism
2025-07-02 18:07:25 +02:00
Janis
2fabc61378
smallbox
2025-07-02 18:04:21 +02:00
Janis
7eca9adde5
initial commit
2025-07-02 17:42:01 +02:00