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
|
9384d24d04
|
Fix last commit not building with the unstable-pre-spec feature
|
2020-08-08 17:06:14 +02:00 |
|
Jonas Platte
|
a74dddd93b
|
Borrow strings and identifiers in more endpoints
|
2020-08-08 16:50:37 +02:00 |
|
Jonas Platte
|
6f805d2584
|
client-api: Simplify r0::room::create_room::CreationContent::into_event_content using the assign crate
|
2020-08-08 16:36:13 +02:00 |
|
Jonas Platte
|
a1916837f9
|
Bump ruma-identifiers version
|
2020-08-08 16:21:11 +02:00 |
|
Jonas Platte
|
e939f7049d
|
Update ruma-identifiers changelog
|
2020-08-08 16:20:05 +02:00 |
|
Jonas Platte
|
bc50230c8a
|
identifiers: Restore key algorithm (de)serialization with default features
|
2020-08-08 16:02:59 +02:00 |
|
Isaiah Inuwa
|
7eb945976c
|
Use strong types in signatures fields
|
2020-08-08 15:54:31 +02:00 |
|
Isaiah Inuwa
|
7240184c1d
|
Use DeviceKeyId and DeviceKeyAlgorithm from ruma-identifiers
|
2020-08-08 15:54:31 +02:00 |
|
Isaiah Inuwa
|
9fa96268b4
|
Add optional serde dependency.
|
2020-08-08 15:54:31 +02:00 |
|
Jonas Platte
|
d08fc02bc0
|
Update ruma-client-api changelog
|
2020-08-08 15:50:41 +02:00 |
|
Jonas Platte
|
349027f87d
|
Borrow strings and identifiers in send_state_event_*
|
2020-08-08 14:36:31 +02:00 |
|
Jonas Platte
|
2e683b2fd4
|
Borrow strings and identifiers in send_message_event
|
2020-08-08 14:28:07 +02:00 |
|
Jonas Platte
|
582cc9fe2a
|
Rename {create => send}_message_event, same for state
|
2020-08-08 14:27:00 +02:00 |
|
Jonas Platte
|
929cd8a8d0
|
Fix ruma-client-api changelog
|
2020-08-08 14:25:35 +02:00 |
|
Devin Ragotzy
|
478385f0f2
|
Add room::aliases endpoint
|
2020-08-08 14:07:03 +02:00 |
|
Jonas Platte
|
c2cf8682e6
|
Don't use * imports in ruma_api_lifetime test
|
2020-08-08 13:23:57 +02:00 |
|
Devin Ragotzy
|
7f0f5be1fe
|
Convert alias mod and get_public_rooms to use Outgoing trait
|
2020-08-07 22:08:03 +02:00 |
|
Jonas Platte
|
30e73186e7
|
Bump dependencies
|
2020-08-07 19:13:00 +02:00 |
|
Jonas Platte
|
f470afcb2a
|
Release ruma-identifiers 0.17.2
|
2020-08-07 18:35:01 +02:00 |
|
Faelar
|
5153279eba
|
Fix missing RoomVersionId::Version6 try_from and tests
|
2020-08-07 18:06:44 +02:00 |
|
Devin Ragotzy
|
b2d45e4748
|
Rename generic_lifetime -> is_lifetime_generic
|
2020-08-07 00:48:01 +02:00 |
|
Devin Ragotzy
|
1060d63057
|
Use full type with Outgoing trait for request query deserialization
|
2020-08-07 00:48:01 +02:00 |
|
Devin Ragotzy
|
e783288ef0
|
Limit when RequestQuery impls Deserialize and impl Outgoing
|
2020-08-07 00:48:01 +02:00 |
|
Devin Ragotzy
|
770a68d49b
|
Fix Outgoing derive missing lifetimes when branching for emitting code
|
2020-08-07 00:48:01 +02:00 |
|
Devin Ragotzy
|
7e3ebff089
|
Add tests testing failing Outgoing derive for query fields
|
2020-08-07 00:48:01 +02:00 |
|
Devin Ragotzy
|
5103baeb4b
|
Add semicolons and the other possible syn::Type types
|
2020-08-07 00:48:01 +02:00 |
|
Devin Ragotzy
|
1336cd8c41
|
Handle tuple types in collect_lifetime_idents
|
2020-08-07 00:48:01 +02:00 |
|
Devin Ragotzy
|
4e2f1a19e1
|
Fix typo and rename copy_lifetime_ident -> collect_lifetime_ident
|
2020-08-07 00:48:01 +02:00 |
|
Devin Ragotzy
|
f67744bb4f
|
Throw error if query_map has any ref types
|
2020-08-07 00:48:01 +02:00 |
|
Devin Ragotzy
|
588a6035f0
|
Use Outgoing trait in ruma_api_lifetime tests
|
2020-08-07 00:48:01 +02:00 |
|
Devin Ragotzy
|
80237d6dd1
|
Fix clippy warnings
|
2020-08-07 00:48:01 +02:00 |
|
Devin Ragotzy
|
2beaf450a3
|
Add a query_map field to ruma_api! lifetime test
|
2020-08-07 00:48:01 +02:00 |
|
Devin Ragotzy
|
c980644d77
|
Clean up and fix missing comma for request query map
|
2020-08-07 00:48:01 +02:00 |
|
Devin Ragotzy
|
e36149aea1
|
Add tuple lifetime stripping to derive_outgoing
|
2020-08-07 00:48:01 +02:00 |
|
Devin Ragotzy
|
f0a5a43455
|
Move lifetime tests into their own file
|
2020-08-07 00:48:01 +02:00 |
|
Devin Ragotzy
|
0793724264
|
Refactor to use Req/ResLifetimes struct for adding lifetimes to req/res
|
2020-08-07 00:48:01 +02:00 |
|
Devin Ragotzy
|
e7f7c3bb9d
|
Add lifetime params to Request/Response when needed
|
2020-08-07 00:48:01 +02:00 |
|
Devin Ragotzy
|
c2342e3ef7
|
Add failing test to ruma-api for lifetimes in ruma_api! macro
|
2020-08-07 00:48:01 +02:00 |
|
Devin Ragotzy
|
1155edcaed
|
Add lifetime discovery and collection functions to ruma-api-macro
|
2020-08-07 00:48:01 +02:00 |
|
Jonas Platte
|
63758e89ec
|
Create empty ruma-push-gateway-api crate
|
2020-08-06 01:58:09 +02:00 |
|
Jonas Platte
|
baf84d5581
|
Create empty ruma-identity-service-api crate
|
2020-08-06 01:56:03 +02:00 |
|
Jonas Platte
|
a589e92144
|
Move, update identifier macro tests
|
2020-08-05 00:59:24 +02:00 |
|
Jonas Platte
|
9bc6ce9201
|
Use identifier macros for tests
|
2020-08-05 00:12:44 +02:00 |
|
Jonas Platte
|
066da75c7d
|
Remove pointless TryFrom usage
|
2020-08-05 00:12:44 +02:00 |
|
Jonas Platte
|
2023616319
|
Make all identifier macros usable from ruma-identifiers, even indirectly
|
2020-08-05 00:12:39 +02:00 |
|
Jonas Platte
|
0d0480e523
|
Replace ruma_identifiers_macros::device_id with ruma_identifiers::device_id
The proc_macro is replaced by a macro_rules macro because it doesn't
actually need and proc_macro features.
|
2020-08-04 23:41:35 +02:00 |
|
Jonas Platte
|
68d2e088db
|
Make ruma-identifiers-macros depend on ruma-identifiers-validation rather than ruma-identifiers
|
2020-08-04 23:28:36 +02:00 |
|
Jonas Platte
|
1881e45eee
|
Move ruma-identifiers validation logic into a new crate
|
2020-08-04 23:23:39 +02:00 |
|