31 Commits

Author SHA1 Message Date
Kévin Commaille
e2728a7081
identifiers: Make MxcUri less strict 2021-04-11 10:15:37 +02:00
Jonas Platte
1bf4157a89
Add favicon and logo URLs for rustdoc 2021-04-05 11:42:07 +02:00
Jonas Platte
da6746a82e
Release ruma-identifiers-validation 0.2.2 2021-04-03 17:49:51 +02:00
Jonas Platte
12686fe6e3
Clean up std::fmt imports
We were pretty inconsistent about them before.
2021-03-25 16:32:08 +01:00
Julian Sparber
00fea9d468 add type for mxc:// 2021-03-25 13:04:23 +01:00
Jonas Platte
b79fd0c3aa
Release ruma-identifiers 0.18.0 2021-03-23 21:08:44 +01:00
Jonas Platte
ca1f334ded
Remove documentation links from all Cargo.tomls
It was wrong for ruma-federation-api and useless for all others since
crates.io will link to docs.rs automatically if no link is given.
2021-01-17 17:00:09 +01:00
Jonas Platte
1f08175f04
identifiers-validation: Drop unused serde dependency 2021-01-06 13:37:59 +01:00
Jonas Platte
aaa8a5b855
identifiers-validation: Drop unused dev-dependencies 2021-01-06 13:37:09 +01:00
Jonas Platte
6d468b88a3
Release ruma-identifiers-validation 0.2.0 and ruma-identifiers 0.18.0-alpha.1 2021-01-02 13:31:08 +01:00
Jonas Platte
2ebd827355
Release ruma-serde 0.3.0 2021-01-02 13:04:39 +01:00
Jonas Platte
f55e2b2cc6
Bump dependency requirements 2020-12-24 02:48:01 +01:00
Jonas Platte
62135a9630
Fix issues with new key ID / signature types 2020-12-02 13:50:58 +01:00
Jonas Platte
1ceade7b61
identifiers: Add more crypto-related types
Co-authored-by: Isaiah Inuwa <isaiah.inuwa@gmail.com>
2020-12-02 13:11:28 +01:00
Jonas Platte
63678df887
identifiers: Stop rejecting unknown crypto algorithms 2020-12-02 13:11:28 +01:00
Jonas Platte
a5c08c8fde
identifiers: Refactor Error enum 2020-11-08 19:32:09 +01:00
Isaiah Inuwa
b793a790db
Rename ServerKeyId to SigningKeyId 2020-11-08 13:21:55 +01:00
Jonas Platte
e1975c2035
Be more consistent about whitespace 2020-10-24 00:44:01 +02:00
Jonas Platte
565e3a1ee7
Merge LICENSE files
The Copyright notice is taken out because no single person has a
copyright to the entire codebase.
2020-09-26 15:52:52 +02:00
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