Jonas Platte
3dde0ecd5c
Release ruma-identifiers-validation 0.3.0
2021-04-17 19:29:50 +02:00
Jonas Platte
2a8b4a0478
Release ruma-identifiers 0.19.0
2021-04-13 21:12:24 +02:00
Jonas Platte
398cf406d7
identifiers: Add compat features to allow more user IDs
2021-04-13 21:12:24 +02:00
Kévin Commaille
e2728a7081
identifiers: Make MxcUri less strict
2021-04-11 10:15:37 +02:00
Jonas Platte
ddaaca1ec4
identifiers: Fix line wrapping
2021-04-08 14:05:00 +02:00
Kévin Commaille
e049e45423
docs: Add missing dots
2021-04-07 12:15:37 +02:00
Kévin Commaille
963400979b
docs: Harmonize ruma modules descriptions
2021-04-07 12:14:49 +02:00
Jonas Platte
bd61e97b96
identifiers: Fix hidden _macros module being visible in rustdoc
2021-04-06 19:30:07 +02:00
Jonas Platte
0dcbec5fa7
identifiers: Add more conversion methods and a trait impl
2021-04-05 21:41:54 +02:00
Jonas Platte
b4da6b784a
Replace non-renaming uses of serde_json::{from_str, to_string}
2021-04-05 13:33:59 +02:00
Jonas Platte
1bf4157a89
Add favicon and logo URLs for rustdoc
2021-04-05 11:42:07 +02:00
Jonas Platte
39a8c26263
Release ruma-identifiers 0.18.1
2021-04-03 17:56:01 +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
c910d57b14
Release ruma-serde 0.3.1
2021-03-23 20:58:53 +01:00
Jonas Platte
00121bdb4b
Fix inconsistent #[test] module naming
2021-02-02 11:44:30 +01:00
Jonas Platte
ca1f334ded
Remove documentation links from all Cargo.toml
s
...
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
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
Fredrik Lanker
68ba3049ea
Implement debug for identifier types
2020-12-27 22:38:02 +01:00
Jonas Platte
19ae6ff347
Remove lots of Copy implementations
...
so we don't have do breaking releases once they can't be Copy anymore.
2020-12-24 02:51:08 +01:00
Jonas Platte
f55e2b2cc6
Bump dependency requirements
2020-12-24 02:48:01 +01:00
Jonas Platte
520bab2900
identifiers: Clean up dependencies
...
* Get rid of strum, now all crypto algorithms use ruma-serde's string / enum
conversion code
* Make the dependency on ruma-serde optional and only activate it through the
serde feature
2020-12-24 02:14:26 +01:00
Jonas Platte
55c1dd5ca7
identifiers: Feature-gate serde test under serde feature
2020-12-02 14:19:02 +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
5562a23aaa
Move Raw, Outgoing and all macro code from ruma-common to ruma-serde
2020-11-28 03:45:39 +01:00
Jonas Platte
abc18fae39
Fix some links in documentation
2020-11-24 03:25:02 +01:00
Jonas Platte
a5c08c8fde
identifiers: Refactor Error enum
2020-11-08 19:32:09 +01:00
Jonas Platte
374603f51c
Rename SigningKeyId to ServerSigningKeyId
2020-11-08 19:24:48 +01:00
Isaiah Inuwa
b793a790db
Rename ServerKeyId to SigningKeyId
2020-11-08 13:21:55 +01:00
Jonas Platte
d34a270919
Allow custom values for more enums
2020-11-02 00:29:47 +01:00
Jonas Platte
70a12864ef
Use new macros for existing future-compatible enums
2020-11-02 00:29:41 +01:00
Jonas Platte
f2a78babbd
Avoid creating owned strings in deserialization where not necessary
2020-10-26 01:52:51 +01:00
Jonas Platte
64b9c646d1
identifiers: Revert serde rename from Cargo.toml
2020-10-24 19:27:50 +02:00
Jonas Platte
e1975c2035
Be more consistent about whitespace
2020-10-24 00:44:01 +02:00
Jonas Platte
006582e3f2
Various README updates
2020-09-29 20:30:33 +02:00
Jonas Platte
8b9e20b842
Fix outdated links
2020-09-29 20:10:54 +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
c6d293e0e0
Drop #[non_exhaustive] attribute on RoomVersionId
...
With the _Custom variant being hidden, there is no point in additionally
making it non-exhaustive.
2020-09-22 01:15:38 +02:00
Jonas Platte
a01459e12b
identifiers: Hide RoomVersionId::Custom and CustomRoomVersion
2020-09-22 01:09:18 +02:00
Jonas Platte
91994015d2
identifiers: Remove RoomVersionId::{is_custom, is_official}
...
They were a forwards-compatibility hazard.
2020-09-22 01:03:30 +02:00
Jonas Platte
f0df31d42b
identifiers: Remove deprecated functions
2020-09-22 00:57:33 +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
19af16850c
Fix ruma_identifiers::device_id!
2020-09-03 20:23:16 +02:00
Jonas Platte
03c636caf0
identifiers: Replace single-char push_str with just push
2020-09-03 20:21:30 +02:00