216 Commits

Author SHA1 Message Date
805e5fd445
Added warning for lint clippy::std_instead_of_core. 2024-03-11 01:41:56 +00:00
81bd0c9239
Added warning for many more clippy lints. 2024-03-11 01:32:17 +00:00
9d1b7529c4
Added warning for lint clippy::use_self. 2024-03-11 01:30:09 +00:00
8a6b1aae28
Added warning for lint clippy::type_repetition_in_bounds. 2024-03-11 01:23:10 +00:00
a6e2e87423
Added warning for lint clippy::redundant_type_annotations. 2024-03-11 01:11:45 +00:00
ed7556aed4
Added warning for lint clippy::or_fun_call. 2024-03-11 01:06:50 +00:00
9f9d4f7613
Added warning for lint clippy::non_send_fields_in_send_ty. 2024-03-11 01:05:11 +00:00
2e3c49a0dd
Added warning for lint clippy::missing_const_for_fn. 2024-03-11 00:59:45 +00:00
eab2349305
Added warning for lint clippy::let_underscore_untyped. 2024-03-11 00:54:20 +00:00
65145a5510
Added warning for lint clippy::needless_pass_by_value. 2024-03-11 00:32:55 +00:00
5537e5576a
Added warning for lint clippy::explicit_into_iter_loop. 2024-03-11 00:32:06 +00:00
4d8d8f434b
Added warning for lint clippy::manual_assert. 2024-03-11 00:31:26 +00:00
1d0d9898a3
Added warning for lint clippy::semicolon_if_nothing_returned. 2024-03-11 00:30:02 +00:00
37e4995d63
Added warning for lint clippy::must_use_candidate. 2024-03-11 00:27:33 +00:00
527a37527d
Added warning for lint clippy::flat_map_option. 2024-03-11 00:22:10 +00:00
e3a741ce2f
Added warning for lint clippy::map_unwrap_or. 2024-03-11 00:21:08 +00:00
7a245e0668
Every crate now uses workspace lints. 2024-03-11 00:18:11 +00:00
102b2acb1b
Added LoadableSignal.
A thin wrapper over `AsyncSignal` of `Result<T>, E` that uses `Loadable<T, E>` instead.
2024-03-11 00:15:36 +00:00
1757a8baf8
Added Loadable::as_deref[_mut]. 2024-03-11 00:15:26 +00:00
db0a1d3106
AsyncSignal no longer allows de-initializing the inner value.
This allowed polling the completed future again, which shouldn't be allowed.
2024-03-11 00:14:13 +00:00
c72337760a
Added SignalBorrowMut.
Fixed `AsyncSignal::update` not triggering subscribers.
2024-03-10 01:17:16 +00:00
8da49828a4
Added SignalBorrow. 2024-03-10 00:34:02 +00:00
ef153e8cad
Added Loadable From impls for Option and Result.
Removed `Loadable::from_res` in favor of these impls.
2024-03-10 00:30:49 +00:00
434f920dc9
Separated all signal operations into their own modules. 2024-03-09 19:09:42 +00:00
c529a150b9
Updated tests' Cargo.lock. 2024-03-09 19:05:52 +00:00
1d79430763
Improved dynatos_context::{expect, with_expect} to not ever copy/clone the Option<_>. 2024-03-07 17:05:22 +00:00
0485d41229
Added benchmark for multiple types in dynatos_context. 2024-03-07 17:05:16 +00:00
4b9f70e00e
Improved dynatos_context benchmarks. 2024-03-07 16:41:10 +00:00
c3c2d3ee4e
Effect stack now uses #[thread_local]. 2024-03-06 16:30:31 +00:00
7eafc46990
Added some benchmarks to effects. 2024-03-06 16:29:38 +00:00
68c971ee15
Removed memory leak in effect tests. 2024-03-06 16:26:29 +00:00
c9e75a148e
dynatos_context::Handle is now !Send + !Sync due to the thread-local nature of context. 2024-03-05 19:46:51 +00:00
5adc1a41a7
Option<T> can now be ?d in a function that returns Loadable<T, E>. 2024-03-05 19:18:56 +00:00
354e5db27c
Fixed redundant imports. 2024-03-05 19:18:29 +00:00
f8339133a3
Removed LazyLoadable. 2024-03-05 18:59:48 +00:00
598fb44f8b
Added AsyncSignal::with_inner. 2024-03-05 18:47:45 +00:00
2b2f04a5ce
AsyncSignal now implements SignalUpdate. 2024-03-05 18:39:39 +00:00
18cc9b0eae
Added AsyncSignal. 2024-03-05 16:56:41 +00:00
0e175d4ddb
Fixed anchor not being able to use absolute locations. 2024-03-05 16:29:34 +00:00
56f128602b
Added WeakTrigger. 2024-03-05 15:31:12 +00:00
0880635e49
Renamed methods of SignalSetWith to avoid overloading existing terms. 2024-03-05 15:13:59 +00:00
fafb26aaff
Renamed methods of SignalGetCopy and SignalGetClone to avoid overloading existing terms. 2024-03-05 14:58:06 +00:00
430d7dea10
Moved all signal operators to their own module. 2024-03-05 14:57:06 +00:00
e87bf87157
SignalUpdate now uses GATs for it's Value type. 2024-03-05 14:53:22 +00:00
d020122ba1
SignalSet now supports a trait for adding types that may be set via SignalSetWith. 2024-03-05 14:41:32 +00:00
7c1ab7ee0c
SignalSet now has a default implementation. 2024-03-04 21:06:22 +00:00
45f133c4ea
Loadable now implements SignalGetClone. 2024-03-04 20:57:18 +00:00
e3c425afff
SignalGetCloned now supports a trait for adding types that may be cloned via SignalGetClone. 2024-03-04 20:57:15 +00:00
579df3eaa8
Loadable now implements SignalGetCopy. 2024-03-04 20:55:05 +00:00
074935e425
Renamed SignalGetInner to SignalGetCopy and made it public. 2024-03-04 20:54:55 +00:00