14 Commits

Author SHA1 Message Date
Jonas Platte
76fa15f248
state-res: Rename Event::kind to event_type 2021-09-13 19:02:33 +02:00
Jonas Platte
4bea59caef
state-res: Remove StateResolution type
… making its associated functions free instead.
2021-09-13 19:02:33 +02:00
Jonas Platte
cc9336e444
state-res: Take ownership of events to sort in reverse_topological_power_sort
Avoids clones.
2021-09-13 19:02:33 +02:00
Devin Ragotzy
b7d0970335
state-res: Remove dead code and stale comments 2021-08-10 15:22:47 +02:00
Devin Ragotzy
318f3186ad
state-res: Replace unwraps with expect or errors 2021-08-10 15:22:47 +02:00
Timo Kösters
3a0ee7740f
state-res: Change BTreeMap/Set to HashMap/Set 2021-08-10 15:22:47 +02:00
Devin Ragotzy
b8c54d8e2b
state-res: Pass fetch_event closure as owned F not &F 2021-08-10 15:22:46 +02:00
Devin Ragotzy
a4e6cc7c42
state-res: Use closure to fetch unknown events during state-res
state-res: Remove event_map arg from all functions

state-res: Remove get_or_load_event helper func and fix resolve docs
2021-08-10 15:22:26 +02:00
Jonas Platte
4dfaad104b
Enable clippy lint str_to_string 2021-07-02 23:02:50 +02:00
Devin Ragotzy
ce6fd1e65e
state-res: Use unique over dedup, remove Vec -> BTreeSet conversions 2021-06-17 19:43:21 +02:00
Jonas Platte
410b4aed25
state-res: Upgrade rand and update usage 2021-05-08 00:57:43 +02:00
Jonas Platte
f58462a002
state-res: Depend on ruma-* subcrates instead of ruma 2021-05-08 00:52:50 +02:00
Jonas Platte
addc67051e
Integrate state-res and rename to ruma-state-res 2021-05-08 00:39:51 +02:00
Jonas Platte
6609829735 Add 'crates/ruma-state-res/' from commit '56bf45c0235701ac6df56993c327d2f97a499ef9'
git-subtree-dir: crates/ruma-state-res
git-subtree-mainline: 719433eb5c41fb5b8099481ce7bb0a37931b260f
git-subtree-split: 56bf45c0235701ac6df56993c327d2f97a499ef9
2021-05-08 00:20:05 +02:00