Jonas Platte
|
aa5fdf9d22
|
Merge serde attributes and improve docs
|
2021-10-08 12:49:13 +02:00 |
|
Jonas Platte
|
142f1800df
|
Bump MSRV to 1.53
|
2021-10-06 21:37:46 +02:00 |
|
Jonas Platte
|
04080085f9
|
events: Include all event type segments in Rust type names
|
2021-10-02 21:25:21 +02:00 |
|
Jonas Platte
|
de2b415020
|
state-res: Silence buggy clippy lint
|
2021-09-30 21:49:39 +02:00 |
|
Amanda Graven
|
3b5f3cb5a6
|
events: Move JoinRulesEventContent.allow into JoinRules
|
2021-09-28 13:39:58 +00:00 |
|
Jonas Platte
|
c6144c2299
|
state-res: Fix state-res tests
Before, they wouldn't compile with the unstable-exhaustive-types feature
active on ruma-state-res, but not on ruma-events.
|
2021-09-28 14:27:42 +02:00 |
|
Jonas Platte
|
e2d9bf5eba
|
ruma-events 0.24.6
Improvements:
* Add (unstable) support for [MSC3083](https://github.com/matrix-org/matrix-doc/blob/main/proposals/3083-restricted-rooms.md)
-----BEGIN PGP SIGNATURE-----
iIwEABYIADQWIQSYRl0lv78dXawPPq7MFU3g4wt8ZwUCYUjgYBYcanBsYXR0ZStn
aXRAcG9zdGVvLmRlAAoJEMwVTeDjC3xnvF8A/0s7gcm4pijTII7wrIOxB0eWSUgc
TSxXIOYpsiDcswnUAP9+PLx+ziy0oxtbPcWK5bil7JBcYwM1tlqIM+d9qlgiCQ==
=W1O9
-----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
iIwEABYIADQWIQSYRl0lv78dXawPPq7MFU3g4wt8ZwUCYUjgkBYcanBsYXR0ZStn
aXRAcG9zdGVvLmRlAAoJEMwVTeDjC3xnrOkBALaAq5RRXvD2xdBD2Q6H9xEPsd/x
KSknkjMjqgCJq2g8AQCql0S5QpH8PsmOKDmMO9X6lIHnnaqUxpSOOHIm83VKAA==
=9Aii
-----END PGP SIGNATURE-----
Merge tag 'ruma-events-0.24.6'
ruma-events 0.24.6
Improvements:
* Add (unstable) support for [MSC3083](https://github.com/matrix-org/matrix-doc/blob/main/proposals/3083-restricted-rooms.md)
|
2021-09-20 21:27:12 +02:00 |
|
Jonas Platte
|
d07cacb61d
|
Release ruma-events 0.24.6
|
2021-09-20 21:25:27 +02:00 |
|
Jonas Platte
|
69a97232b9
|
state-res: Clean up test code
|
2021-09-17 23:52:28 +02:00 |
|
Jonas Platte
|
a9985d7763
|
events / state-res: Use RawJsonValue over JsonValue for event content
|
2021-09-15 20:58:42 +02:00 |
|
Jonas Platte
|
1df1256a86
|
events: Put pdu module behind an unstable feature flag
|
2021-09-15 20:58:37 +02:00 |
|
Jonathan de Jong
|
c33920d8ae
|
Use thiserror in id-validation, add more detail to mxc-uri errors
|
2021-09-15 20:36:20 +02:00 |
|
Jonas Platte
|
9cb9b1104a
|
state-res: Remove unused Event trait methods
|
2021-09-15 18:15:01 +02:00 |
|
Jonas Platte
|
c94f9d5c88
|
state-res: Remove unnecessary .iter() call
|
2021-09-14 10:14:51 +02:00 |
|
Jonas Platte
|
a6a1224652
|
state-res: Make functions more general
Don't require different parameters to use the same impl Event.
|
2021-09-13 19:02:36 +02:00 |
|
Jonas Platte
|
0999e420ae
|
state-res: Return borrowed content in Event method
|
2021-09-13 19:02:36 +02:00 |
|
Jonas Platte
|
e49f76b4be
|
state-res: Implement Event for &T where T: Event
|
2021-09-13 19:02:36 +02:00 |
|
Jonas Platte
|
889406b6c2
|
state-res: Make resolve more general by using impl IntoIterator for state_sets
|
2021-09-13 19:02:36 +02:00 |
|
Jonas Platte
|
3830dcddc2
|
state-res: Simplify tests a bit
|
2021-09-13 19:02:36 +02:00 |
|
Jonas Platte
|
717fd1198d
|
state-res: Remove unnecessary unwrap call
|
2021-09-13 19:02:36 +02:00 |
|
Jonas Platte
|
f566cd4486
|
state-res: Remove unneeded rebuilding of collection for logging
|
2021-09-13 19:02:36 +02:00 |
|
Jonas Platte
|
a9a522ccfa
|
state-res: Fix benchmark
|
2021-09-13 19:02:36 +02:00 |
|
Jonas Platte
|
118aa8fc4a
|
state-res: Make usage of Arc optional
|
2021-09-13 19:02:36 +02:00 |
|
Jonas Platte
|
a4b8f3bc90
|
state-res: Implement Event for Arc<T> where T: Event
|
2021-09-13 19:02:36 +02:00 |
|
Jonas Platte
|
f0cd82dae7
|
state-res: Refactor test_utils
|
2021-09-13 19:02:36 +02:00 |
|
Jonas Platte
|
279322862c
|
state-res: Reduce public API to what Conduit uses
|
2021-09-13 19:02:36 +02:00 |
|
Jonas Platte
|
bc1e7eb1fc
|
state-res: Remove unused code from test_utils
|
2021-09-13 19:02:36 +02:00 |
|
Jonas Platte
|
3c0493bddf
|
state-res: Move tests into the crate and make test_utils private
|
2021-09-13 19:02:36 +02:00 |
|
Jonas Platte
|
3b9bd1fc76
|
state-res: Simplify benchmark
|
2021-09-13 19:02:36 +02:00 |
|
Jonas Platte
|
2b7ab82401
|
state-res: Remove unneeded .as_deref() call
|
2021-09-13 19:02:36 +02:00 |
|
Jonas Platte
|
d60b7bf814
|
state-res: Filter out None s from conflicted_state earlier
|
2021-09-13 19:02:35 +02:00 |
|
Jonas Platte
|
b31065827b
|
state-res: Allocate less when computing all_conflicted
|
2021-09-13 19:02:35 +02:00 |
|
Jonas Platte
|
6559681095
|
state-res: Rewrite get_auth_chain_diff algorithm
|
2021-09-13 19:02:35 +02:00 |
|
Jonas Platte
|
3a04aea446
|
state-res: Delete empty file
|
2021-09-13 19:02:35 +02:00 |
|
Jonas Platte
|
00a59d0528
|
state-res: Reduce unnecessary Arc usage
|
2021-09-13 19:02:35 +02:00 |
|
Jonas Platte
|
2d83cf9a03
|
state-res: Remove unused functions
|
2021-09-13 19:02:35 +02:00 |
|
Jonas Platte
|
f65b8b63e2
|
state-res: Make most functions in event_auth private
|
2021-09-13 19:02:35 +02:00 |
|
Jonas Platte
|
355a493024
|
state-res: Fix some docs
|
2021-09-13 19:02:35 +02:00 |
|
Jonas Platte
|
0cd91ed61e
|
state-res: Don't import-rename crate root
|
2021-09-13 19:02:35 +02:00 |
|
Jonas Platte
|
0ed0a620a3
|
state-res: Refactor iterative_auth_check
|
2021-09-13 19:02:35 +02:00 |
|
Jonas Platte
|
1e19de9579
|
state-res: Return borrows from Event::{prev_events, auth_events}
|
2021-09-13 19:02:35 +02:00 |
|
Jonas Platte
|
34a10b87c5
|
state-res: Return borrows from Event::{event_type, state_key}
|
2021-09-13 19:02:35 +02:00 |
|
Jonas Platte
|
660cd97962
|
state-res: Remove todo comment
EventId has the same ordering as str.
|
2021-09-13 19:02:35 +02:00 |
|
Jonas Platte
|
91e6a1c65c
|
state-res: Use HashSet::retain
|
2021-09-13 19:02:35 +02:00 |
|
Jonas Platte
|
1a4b7903b8
|
state-res: Replace if let with match
|
2021-09-13 19:02:35 +02:00 |
|
Jonas Platte
|
324fb58a62
|
state-res: Simplify get_auth_chain_diff signature
It never returned Err(_), so the return type shouldn't be Result<_>.
|
2021-09-13 19:02:35 +02:00 |
|
Jonas Platte
|
290c61820b
|
state-res: Remove unused function parameters
|
2021-09-13 19:02:35 +02:00 |
|
Jonas Platte
|
17ffade52b
|
state-res: Use named fields instead of multiline messages for tracing events
|
2021-09-13 19:02:35 +02:00 |
|
Jonas Platte
|
43c8df18ad
|
state-res: Use match instead of repeatedly comparing the same variable
|
2021-09-13 19:02:34 +02:00 |
|
Jonas Platte
|
b4c22d5783
|
state-res: Further simplify valid_membership_change
|
2021-09-13 19:02:34 +02:00 |
|