13 Commits

Author SHA1 Message Date
Jonas Platte
958d3a5812
Release ruma-events 0.22.2 2021-05-20 18:45:52 +02:00
Jonas Platte
085f082c5b
Release ruma-events 0.22.1 2021-05-17 16:58:57 +02:00
Jonas Platte
e705fd9246
Release ruma-api 0.17.0 2021-05-17 00:56:47 +02:00
Jonas Platte
68250ae726
Release ruma-events 0.22.0 2021-05-17 00:51:09 +02:00
Jonas Platte
305b527ae9
Release ruma-identifiers 0.19.1 2021-05-16 21:54:03 +02:00
Jonas Platte
566e03abc1
Release ruma-serde 0.4.0 2021-05-15 19:26:09 +02:00
Jonas Platte
d71fa97346
Use slices for outgoing raw bodies 2021-05-10 15:16:37 +02:00
Jonas Platte
08e87ac3bf
api: Remove redundant clone 2021-05-09 00:02:44 +02:00
gnieto
e2eb92b8ed
Prevent panic on requests with invalid URIs
When `try_into_http_request` was used with an invalid base URI the code
was panicking. Acording to `http::request::Builder` documentation,
`headers_mut` returns `None` if the builder contains errors, which was
the case when an invalid URI was provided.

The new version only sets the additional headers in case that there are
no errors on the builder, preventing the panic. The conversion will
return an error when the builder is consumed on `body`.
2021-05-08 18:12:56 +02:00
Jonas Platte
a0f7e1b771
api: Replace error::Void by error::MatrixError 2021-05-08 14:33:12 +02:00
Devin Ragotzy
5090c11843
Enable non-default clippy lints 2021-05-06 11:07:31 +00:00
Jonas Platte
cf291bd5ba
Clean up lint attributes 2021-05-05 23:39:52 +02:00
Jonas Platte
3db0ea7026
Move all crates into a new crates directory 2021-05-03 15:50:27 +02:00