55 Commits

Author SHA1 Message Date
Jonas Platte
438efee143
identifiers: Remove Box<$id> aliases 2021-11-25 21:07:14 +01:00
Jonas Platte
1a87403ba2
Rewrite some Display & Debug implementations
To delete in a more obvious way and to include debug formatting for
Debug impls (i.e. enclose the string in quotes).
2021-11-18 19:49:40 +01:00
Andy Balaam
b4226f882b
identifiers: Document how to create a DeviceId 2021-11-18 16:57:01 +01:00
Jonas Platte
aa5fdf9d22
Merge serde attributes and improve docs 2021-10-08 12:49:13 +02:00
Jonas Platte
271491732e
Remove now-redundant doc(cfg) attributes
They are now implied:
https://github.com/rust-lang/rust/pull/89596
2021-10-08 11:52:18 +02:00
Jonas Platte
cb78a7f341
identifiers: Declare room versions 7, 8, 9 2021-10-02 18:16:19 +02:00
Jonas Platte
7cbffe35da
identifiers: Add matrix.to URL formatting 2021-09-23 21:12:57 +02:00
Jonas Platte
8b44f279c8
Use server_name! macro in tests 2021-09-23 20:33:45 +02:00
Jonas Platte
fe5d31a9a6
identifiers: Improve readability of one more method 2021-09-23 20:33:28 +02:00
Jonas Platte
e147308277
identifiers: Improve readability of server_name methods 2021-09-23 18:54:03 +02:00
Jonas Platte
27a2e1f97f
identifiers: Merge more impl blocks 2021-09-23 18:50:09 +02:00
Jonas Platte
a2254562b9
identifiers: Rewrap doc comment 2021-09-22 13:40:34 +02:00
Jonas Platte
ef0e9c77c3
identifiers: Merge impl blocks 2021-09-22 13:40:01 +02:00
Jonas Platte
62b0034a83
identifiers: Remove extraneous newlines 2021-09-17 20:21:16 +02:00
Jonas Platte
4f3eaa83a0
identifiers: Fix Debug output of opaque identifier types 2021-09-17 20:09:21 +02:00
Jonas Platte
5d27a36cb1
identifiers: Split opaque_ids module back into device_id, key_name 2021-09-17 20:07:16 +02:00
Jonathan de Jong
c33920d8ae
Use thiserror in id-validation, add more detail to mxc-uri errors 2021-09-15 20:36:20 +02:00
Jonas Platte
e6b48fb564
Release ruma-identifiers 0.20.0 2021-08-11 17:16:28 +02:00
Jonas Platte
39822f9c16
Release ruma-identifiers-validation 0.5.0 2021-08-11 17:14:37 +02:00
Jonas Platte
12ee10b2c6
Release ruma-serde 0.5.0 2021-08-11 17:10:51 +02:00
Adam
63411165da
Move RoomName to ruma-identifiers and use it more 2021-08-10 15:22:47 +02:00
Jonas Platte
8f4f7d8060
identifiers: Fix unused import without serde feature 2021-08-10 15:22:46 +02:00
Jonas Platte
6ee3955483
Remove most deprecated items 2021-08-10 15:22:46 +02:00
Devin Ragotzy
fd310e5b6e
identifiers: Make RoomVersionId non_exhaustive 2021-08-10 15:22:26 +02:00
Adam
2577225ba5
Add client secret and session ID types 2021-08-10 15:22:24 +02:00
Jonas Platte
40d3b552da
Release ruma-serde 0.4.2 2021-08-09 19:43:40 +02:00
Adam
e3427ba5d0
Update expected stderr on tests for Rust 1.54 2021-08-02 19:46:01 +00:00
Jonas Platte
384161d462
Revert "identifiers: Fix unused import without serde feature"
This reverts commit 6945bccccc8007e858d70ea53e4020bd2e59c792.
2021-07-04 18:37:01 +02:00
Jonas Platte
6945bccccc
identifiers: Fix unused import without serde feature 2021-07-04 16:36:24 +02:00
Jonas Platte
dfd8c60b89
Release ruma-identifiers 0.19.4 2021-06-24 13:38:05 +02:00
Jonas Platte
be4584b475
Release ruma-serde 0.4.1 2021-06-24 13:17:55 +02:00
Jonas Platte
1eb2f39593
identifiers: Remove allow attribute
Seems to no longer be necessary.
2021-06-21 12:24:05 +02:00
Jonas Platte
59161b842b
identifiers: Use fewer transmutes for ServerName 2021-06-21 12:23:52 +02:00
Jonas Platte
e308c70aa7
identifiers: Get rid of pointless copy in ToOwned implementations 2021-06-21 12:15:04 +02:00
Jonas Platte
ff03f4c805
Release ruma-identifiers 0.19.3 2021-06-18 13:42:32 +02:00
Jonas Platte
e5c93ab928
identifiers: Fix up Rc / Arc conversions 2021-06-18 13:40:32 +02:00
Sivaram Konanki
8f6a7aeedc
identifiers: Add Arc, Rc conversions to ServerName, DeviceId and KeyName 2021-06-14 13:47:18 +00:00
Jonas Platte
5ca2d9eeab
identifiers: Disable buggy lint 2021-06-12 12:35:09 +02:00
Jonas Platte
d586c88321
identifiers: Fix unnecessary qualification 2021-06-12 11:53:37 +02:00
Jonas Platte
8a42c1e136
identifiers: Use from_raw / into_raw instead of transmute for opaque type conversion 2021-06-12 11:46:16 +02:00
Jonas Platte
c5653c672d
identifiers: Don't avoid prelude in hygienic crate-internal macros
It's pointless.
2021-06-12 11:45:36 +02:00
Adam
ef7dd6dd84
identity-service-api: Add 3PID bind endpoint 2021-06-10 19:59:37 +02:00
Jonas Platte
5fe1876643
Release ruma-identifiers 0.19.2 2021-06-10 15:27:09 +02:00
Isaiah Inuwa
46cf197927
identifiers: Add get method to Signatures 2021-06-10 15:22:56 +02:00
Jonas Platte
dc94340d0a
Release ruma-identifiers-validation 0.4.0 2021-06-01 12:50:42 +02:00
Jonas Platte
25dd8e8e2a
identifiers: Fix a typo in function name 2021-06-01 12:49:01 +02:00
Amanda Graven
97937d384c Typo corrections
The "comforming" typo in the function name at
crates/ruma-identifiers-validation/src/user_id.rs:22:26
was not corrected as that would be a breaking change.
2021-06-01 12:45:34 +02:00
Jonas Platte
4dd9baa238
Improve consistency in docs 2021-05-16 23:38:19 +02:00
Jonas Platte
61a033db58
Improve documentation 2021-05-16 22:07:00 +02:00
Jonas Platte
305b527ae9
Release ruma-identifiers 0.19.1 2021-05-16 21:54:03 +02:00