16 Commits

Author SHA1 Message Date
Kévin Commaille
bd6ba8b9ee
identifiers: Fix MatrixToUri parsing for non-url-encoded room aliases 2022-10-17 17:20:40 +02:00
Kévin Commaille
eb567dac73 identifiers: Separate RoomId URI methods with and without via 2022-07-08 15:49:14 +02:00
Kévin Commaille
2dacaf2ea0 identifiers: Allow via on RoomId::matrix_to_event_uri() 2022-06-29 14:54:37 +02:00
Kévin Commaille
4883a3154c identifiers: Make matrix URI ctors generic over owned parameters
Avoid unnecessary cloning
2022-06-29 14:54:37 +02:00
Kévin Commaille
cbcf9b0a7b identifiers: Implement From<Owned*Id> for MatrixId 2022-06-29 14:54:37 +02:00
Kévin Commaille
536fae523e identifiers: Make more test assertions more helpful 2022-06-14 10:54:18 +02:00
Kévin Commaille
08d3e0d43e identifiers: Make some test assertions more helpful 2022-06-11 21:53:33 +02:00
Jonas Platte
8912182c56
Increase usage of implicit named arguments in format strings 2022-06-03 10:06:28 +02:00
Jonas Platte
73c2963ebd
Enforce consistent semicolons after ()-typed expressions in blocks 2022-06-03 08:40:16 +02:00
Jonas Platte
5f902851af
Upgrade to Rust 2021 2022-05-27 12:04:23 +02:00
Jonas Platte
b34bfaf1f6
Replace matches crate with assert_matches 2022-05-24 18:07:29 +02:00
Jonas Platte
9cfee27722
identifiers: Clean up error enum 2022-04-27 19:09:44 +02:00
Jonas Platte
efe48af207 Replace remaining uses of boxed IDs with dedicated owned ones 2022-04-20 10:39:36 +02:00
Jonas Platte
d855ec33d6 identifiers: Update ToOwned implementations to use new types
… and a lot of changes that cascaded from that.
2022-04-20 10:39:36 +02:00
Kévin Commaille
e6cd2b0995 identifiers: Derive Clone on MatrixId 2022-04-03 10:32:56 +02:00
Kévin Commaille
088d1872b7
common: Merge ruma-identifiers into ruma-common 2022-03-09 17:46:51 +00:00