Jonas Platte
025e298274
Update dependencies
2020-04-17 12:40:50 +02:00
Jonas Platte
cb857db71e
Fix tests, some refactoring
2020-04-17 12:28:58 +02:00
Jonas Platte
ad48d3972e
Error on invalid localpart
2020-04-17 12:19:41 +02:00
timokoesters
23dbea1f56
Make join_room_by_id_or_alias deserialization work
2020-04-17 12:14:51 +02:00
Jonas Platte
e8f7bd9f6d
Restore server name validation
2020-04-17 12:06:40 +02:00
Jonas Platte
5623e71e9b
Fix a typo
2020-04-17 11:57:18 +02:00
Jonas Platte
b48235f496
Update change log
2020-04-17 11:14:54 +02:00
Jonas Platte
dc77869de0
Bump versions, update change logs
2020-04-16 17:03:07 +02:00
Jonas Platte
ce1adb2827
Update dependencies
2020-04-16 16:59:48 +02:00
Jonas Platte
c3ed37b337
Fix String
path in macros.rs
2020-04-16 16:15:27 +02:00
Jonas Platte
4c67b1a71d
Update ruma-api-macros/README.md
2020-04-16 15:09:46 +02:00
Jonas Platte
a9aa8a7d0d
Update change log
2020-04-16 14:00:04 +02:00
Jonas Platte
fe70d158e7
Implement string comparison for identifier types
2020-04-16 13:54:06 +02:00
bors[bot]
ab6f3ce278
Merge #68
...
68: Allow serialization of unit type r=nox a=maxv-rust
That changes provides support for unit type serialization.
It may looks like it doesn't make sense to serialize `()`. Unfortunately that kind of serialization may be necessary for generic structures where one of generic argument may be `()`.
Closes #69
Co-authored-by: MaxV <60802079+maxv-rust@users.noreply.github.com>
2020-04-16 10:20:06 +00:00
Jonas Platte
32c161f81e
Bump MSRV
2020-04-16 01:47:45 +02:00
Jonas Platte
5e62369a16
Fix MSRV in README.md
2020-04-16 01:43:01 +02:00
Jonas Platte
5ac26cc641
Fix redundant clone
2020-04-16 01:28:35 +02:00
Jonas Platte
adfb5c82fa
Fix unreadable literals
2020-04-16 01:26:34 +02:00
Jonas Platte
6ddb9eca8b
Add serde::opt_ms_since_unix_epoch, use it in device::Device
2020-04-16 00:28:09 +02:00
Jonas Platte
207b77b53d
Update most timestampts to SystemTime
2020-04-16 00:19:11 +02:00
Jonas Platte
206530e10d
Update change log
2020-04-15 23:29:03 +02:00
Jonas Platte
befc55e43a
Update get_contact endpoint to r0.6.0
2020-04-15 23:28:35 +02:00
Jonas Platte
214d6521ef
Update tests for serde::duration
2020-04-15 23:19:00 +02:00
Jonas Platte
c35d38c95f
Fix minor style inconsistencies in serde::duration
2020-04-15 23:12:17 +02:00
Jonas Platte
1d6bf1979b
Add first endpoints
2020-04-15 22:37:42 +02:00
Jonas Platte
4845474294
Bump dependencies
2020-04-15 22:20:01 +02:00
Jonas Platte
0238a72b59
Serialize an empty JSON object as body for responses without body fields
2020-04-15 22:04:27 +02:00
Jonas Platte
2bbcfda3fd
Don't use ruma_api_macros directly in ruma_api tests
2020-04-15 21:53:27 +02:00
Jonas Platte
3945f88e10
New representation for identifiers
...
Identifiers now always own just a single allocation, and implement AsRef<str>.
PartialOrd and Ord implementations were also added at the same time. All
identifiers except RoomVersionId can now also be converted to String without
allocation.
2020-04-15 13:54:31 +02:00
Jonas Platte
dc73e6d6c4
Bump dependencies, including our own (beta)
2020-04-14 19:59:48 +02:00
Jonas Platte
a207807f59
Add timeout parameter to sync, update doctest
2020-04-14 19:50:17 +02:00
Ragotzy.devin
9b5b906868
sync_events/get_message_events: ser/de filters to string
2020-04-14 13:44:16 +02:00
Jonas Platte
d94279efaf
Update README.md again
2020-04-10 17:08:03 +02:00
Jonas Platte
ef482071f7
Update README.md
2020-04-10 14:10:08 +02:00
Jonas Platte
791b510760
Update README.md
2020-04-10 14:06:31 +02:00
Jonas Platte
7709ce96d9
Update README.md
2020-04-10 14:04:45 +02:00
Jonas Platte
c253265fd6
Update README.md
2020-04-10 13:51:34 +02:00
Jonas Platte
724f799bdf
Update README.md
2020-04-10 13:42:10 +02:00
Jonas Platte
e310c39f15
Update README.md
2020-04-10 00:04:31 +02:00
MaxV
f60e4fd093
Allow serialization of unit type
2020-04-08 23:02:57 -07:00
iinuwa
bcc06ddd49
Update public rooms endpoint
2020-04-08 23:49:59 +02:00
Isaiah Inuwa
aeb4e237b7
Clarify whether password is optional in registration endpoint.
2020-04-07 11:19:20 +02:00
Isaiah Inuwa
9198a549e7
Add structs for User-Interactive Authentication API.
2020-04-07 11:19:20 +02:00
Isaiah Inuwa
ff8427cb93
Add auth_parameters field to AuthenticationData.
2020-04-07 11:19:20 +02:00
Isaiah Inuwa
abcc8ec1d2
Update register endpoint to r0.6.0
2020-04-07 11:19:20 +02:00
Jonas Platte
b974182c72
Fix doctest
2020-04-06 19:48:26 +02:00
iinuwa
dc582758e4
Add server_name parameter to join_room_by_id_or_alias
2020-04-06 17:28:55 +02:00
Jonas Platte
fe92c2940a
Update change log, bump version
2020-04-06 12:35:38 +02:00
timokoesters
d6e4bd9ddc
Fix create_room and sync_events deserialization
2020-04-06 12:23:17 +02:00
Jonas Platte
201ff8c185
Update dependencies
2020-04-06 11:38:46 +02:00