13 Commits

Author SHA1 Message Date
Jonas Platte
2ac020173b
api: Introduce IncomingResponse trait 2021-04-12 20:38:22 +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
Jonas Platte
646776b362
client-api: Add convenience constructors for uiaa::AuthData 2021-02-15 16:24:47 +01:00
Jonas Platte
87bc891c53
client-api: Make UIAA types non-exhaustive 2021-02-15 16:24:25 +01:00
Jonas Platte
1f8384722f
client-api: Rewrap comments in uiaa 2020-12-15 18:24:14 +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
3b3ef1cb75
Remove test_ prefix from lots of test functions 2020-10-25 23:11:08 +01:00
Jonas Platte
fdd326edf7
Move Outgoing from ruma-api to ruma-common
The derive macro moves from ruma-api-macros to a new ruma-common-macros
crate likewise.
2020-09-22 21:35:10 +02:00
Jonas Platte
f210f91611
Borrow strings and identifiers in uiaa::AuthData and dependent endpoints 2020-08-13 21:19:38 +02:00
florianjacob
467e7afd5e
Require std::error::Error for EndpointError
and implement it for ruma_api::error::FromHttpResponseError and Void.
This allows integrating EndpointErrors in the common rust error
ecosystem like thiserror and anyhow.
2020-08-12 14:00:44 +02:00
Jonas Platte
8683901e14
Don't to_string() string literals 2020-07-14 22:11:05 +02:00
Jonas Platte
50b74e2b76
Rerun cargo fmt 2020-06-05 17:17:35 +02:00
Jonas Platte
6329cd471e Add 'ruma-client-api/' from commit '632eb9d520028816c5fb7224bd0aca8d1e3793f1'
git-subtree-dir: ruma-client-api
git-subtree-mainline: e5233c49f610f866e3c9bf8529a0613171fc2fe4
git-subtree-split: 632eb9d520028816c5fb7224bd0aca8d1e3793f1
2020-06-05 17:11:09 +02:00