12 Commits

Author SHA1 Message Date
Jonas Platte
22ec1710b5
Update ruma-identifiers validation logic
* Allow empty localparts
* Simplify some code
2020-09-21 22:34:56 +02:00
Jonas Platte
85e3df7c76
identifiers-validation: Fix docs 2020-09-21 21:57:53 +02:00
Julian Tescher
c3a074059f
Make custom enum variants doc hidden 2020-09-08 01:06:23 +02:00
Jonas Platte
3b36a974fa
Clean up dependencies 2020-08-25 16:01:30 +02:00
Jonas Platte
abeb2160ad
Fix formatting 2020-08-11 01:57:53 +02:00
Amanda Graven
fdc15123b0
Reorganize encyption related code
Some types used for encryption related tasks need to be used across more
internal crates than expected, so a few have been moved and renamed for
clarity.

* Rename the key_algorithms module in ruma-identifiers-validation to crypto_algorithms
* Move ruma_events::Algorithm to ruma-identifiers-validation and rename it EventEncryptionAlgorithm
* Move DeviceKeys from ruma-client-api to ruma-common
2020-08-10 18:38:53 +02:00
Jonas Platte
67154e2c31
Fix key algorithm serde (de)serialization 2020-08-08 18:11:14 +02:00
Jonas Platte
f7ac4e2080
Add tests for key_algorithm parsing 2020-08-08 18:05:54 +02:00
Jonas Platte
a1916837f9
Bump ruma-identifiers version 2020-08-08 16:21:11 +02:00
Isaiah Inuwa
9fa96268b4 Add optional serde dependency. 2020-08-08 15:54:31 +02:00
Jonas Platte
30e73186e7
Bump dependencies 2020-08-07 19:13:00 +02:00
Jonas Platte
1881e45eee
Move ruma-identifiers validation logic into a new crate 2020-08-04 23:23:39 +02:00