28 Commits

Author SHA1 Message Date
Damir Jelić
1b6240286f
common: Allow padding when decoding the Base64 type from a string 2023-09-20 10:28:57 +00:00
Jonas Platte
eeacf27183
Add missing space 2023-08-15 17:23:07 +02:00
Benjamin Bouvier
2c8ece6bf2
events: Parse TagInfo::order as a f64 or a stringified f64 2023-07-06 14:34:43 +02:00
Jonas Platte
f964656a4d
Upgrade typos-ci, fix typos 2023-06-14 12:47:57 +02:00
Kévin Commaille
b27e54c7ed serde: Add deser functions for Duration from milliseconds 2023-05-04 13:12:43 +02:00
Kévin Commaille
60f754322e events: Update types according to changes in MSC3553 2023-02-27 20:28:38 +01:00
Kévin Commaille
e58b9fcd92 tests: Remove unnecessary borrows 2023-02-06 19:11:06 +01:00
Jonas Platte
fe5077b1a5
Upgrade base64 to 0.21 2023-01-31 18:01:01 +01:00
Jonas Platte
ff8ab6b085
Replace ruma_common::serde::urlencoded with serde_html_form 2023-01-02 17:47:33 +01:00
Jonas Platte
8187556686 Add back test for slightly malformed base64 decoding 2022-12-20 15:34:50 +01:00
Jonas Platte
536341ca7e Upgrade base64 to 0.20 2022-12-20 15:34:50 +01:00
Kévin Commaille
b538234bce chore: Fix new docs warnings 2022-10-12 10:31:23 +02:00
Jonas Platte
ac707e30f0
events: Move ignored_users serde code into ignored_user_list module
… and optimize it.
2022-09-24 11:34:55 +02:00
Jonas Platte
914e5c21e9
events: Rename Any[Sync]RoomEvent to Any[Sync]TimelineEvent 2022-08-24 17:43:42 +02:00
Jonas Platte
dbc1c40c5c
serde: Add Raw::from_json_string 2022-07-28 12:49:39 +02:00
Jonas Platte
402b2764fb common: Move CanonicalJson out of serde mod and behind a Cargo feature 2022-06-23 10:18:26 +02:00
Kévin Commaille
b388202c89 serde: Make some test assertions more helpful 2022-06-14 10:01:49 +02:00
Kévin Commaille
299306d7e2 serde: Make some test assertions more helpful 2022-06-11 21:53:33 +02:00
Kévin Commaille
35d6b90aeb serde: Split test assertions 2022-06-07 12:07:57 +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
Kévin Commaille
e2375ed72e xtask: Add typos check 2022-03-18 14:29:57 +01:00
Jonas Platte
24fd3f79f0
common: Add a test for Raw::get_field 2022-03-15 10:05:22 +01:00
Jonas Platte
a7bead5466
common: Rewrite Raw::get_field to be as fast as possible 2022-03-15 10:05:22 +01:00
Jonas Platte
39cafa3a8f
common: Don't import Formatter for consistency 2022-03-15 10:05:22 +01:00
Kévin Commaille
bdcf07be87
common: Merge ruma-serde into ruma-common 2022-03-10 12:11:00 +01:00