76 Commits

Author SHA1 Message Date
Jonas Platte
f818b53ca1
Make conversions from Ruma types to http types generic
So users can select the Body type that makes the most sense for them.
2021-04-23 13:26:10 +02:00
Johannes Becker
0ca5785ead api: Replace access_token Option with SendAccessToken enum 2021-04-23 10:56:04 +02:00
Jonas Platte
b860316437
Release ruma-client 0.5.0-alpha.2 2021-04-17 20:31:44 +02:00
Jonas Platte
4a93d1c569
Release ruma 0.0.3 2021-04-17 20:29:49 +02:00
Jonas Platte
54eb9ef7a8
Release ruma-client-api 0.10.0-alpha.3 2021-04-17 19:57:34 +02:00
Jonas Platte
de949815af
Release ruma-api 0.17.0-alpha.4 2021-04-17 19:39:02 +02:00
Jonas Platte
b3c646a2b7
Release ruma-events 0.22.0-alpha.3 2021-04-17 19:33:51 +02:00
Jonas Platte
6581eb8606
Release ruma-common 0.5.0 2021-04-17 19:03:42 +02:00
Jonas Platte
c1693569f1
api: Replace bytes::Buf by AsRef<u8> for reading
This allows us to switch back to serde_json::from_slice instead of
serde_json::from_reader, because the latter is significantly slower.

See https://github.com/serde-rs/json/issues/160
2021-04-13 22:12:16 +02:00
Jonas Platte
10fb4c9910
Release ruma-common 0.4.0 2021-04-13 21:29:26 +02:00
Jonas Platte
2a8b4a0478
Release ruma-identifiers 0.19.0 2021-04-13 21:12:24 +02:00
Jonas Platte
2ac020173b
api: Introduce IncomingResponse trait 2021-04-12 20:38:22 +02:00
Jonas Platte
7acd73ec9a
client: Rewrap some lines 2021-04-09 12:14:35 +02:00
Kévin Commaille
963400979b
docs: Harmonize ruma modules descriptions 2021-04-07 12:14:49 +02:00
Jonas Platte
22d9f30c67
client: Clean up dependency features 2021-04-06 13:27:08 +02:00
Jonas Platte
1bf4157a89
Add favicon and logo URLs for rustdoc 2021-04-05 11:42:07 +02:00
Jonas Platte
39a8c26263
Release ruma-identifiers 0.18.1 2021-04-03 17:56:01 +02:00
Jonas Platte
83ee0e72e2
Release ruma-common 0.3.1 2021-04-03 17:21:55 +02:00
Jonas Platte
36df3e341a
Release ruma-common 0.3.0 2021-03-31 13:47:24 +02:00
Jonas Platte
b79fd0c3aa
Release ruma-identifiers 0.18.0 2021-03-23 21:08:44 +01:00
Jonas Platte
c910d57b14
Release ruma-serde 0.3.1 2021-03-23 20:58:53 +01:00
Kévin Commaille
02e6c935b3
client-api: Move user in login::Request to identifier in login::LoginInfo::Password 2021-03-15 10:36:54 +01:00
Jonas Platte
a20c75d536
Fix import grouping issues 2021-02-25 20:55:19 +01:00
Devin Ragotzy
12c294422b
Move new_content and relates_to fields to MessageEventContent struct
MessageEventContent used to be an enum, it now has a msgtype field where
the enum (now called MessageType) sits.
2021-02-13 00:29:07 +01:00
Jonas Platte
891db9083b
Clean up cargo features 2021-02-02 19:21:45 +01:00
Jonas Platte
2edddd519e
Remove redundant imports 2021-02-01 19:17:52 +01:00
Jonas Platte
ca1f334ded
Remove documentation links from all Cargo.tomls
It was wrong for ruma-federation-api and useless for all others since
crates.io will link to docs.rs automatically if no link is given.
2021-01-17 17:00:09 +01:00
Jonas Platte
d8b268ed76
client: Fix import order 2021-01-08 21:32:40 +01:00
Jonas Platte
25b43d2bf9
Replace futures-util dev-dependency with tokio-stream 2021-01-07 15:11:26 +01:00
Jonas Platte
1db0ad1bea
client: Replace futures_util::stream::try_unfold with async_stream::try_stream! 2021-01-04 16:12:12 +01:00
Jonas Platte
1c47963bef
Release ruma-client 0.5.0-alpha.1 2021-01-02 15:37:18 +01:00
Jonas Platte
a377ac87da
Release ruma 0.0.2 2021-01-02 15:35:45 +01:00
Jonas Platte
329537afef
Release new versions of ruma-*-api
* ruma-appservice-api 0.2.0-alpha.2
* ruma-client-api 0.10.0-alpha.2
* ruma-federation-api 0.1.0-alpha.1
* ruma-identity-service-api 0.0.1
* ruma-push-gateway-api 0.0.1
2021-01-02 15:17:32 +01:00
Jonas Platte
8e247a5ce2
Release ruma-api 0.17.0-alpha.2 2021-01-02 14:58:00 +01:00
Jonas Platte
b95ab27272
Release ruma-events 0.22.0-alpha.2 2021-01-02 14:49:00 +01:00
Jonas Platte
ecfb8a4a4d
Relase ruma-common 0.3.0-alpha.1 2021-01-02 14:34:17 +01:00
Jonas Platte
6d468b88a3
Release ruma-identifiers-validation 0.2.0 and ruma-identifiers 0.18.0-alpha.1 2021-01-02 13:31:08 +01:00
Jonas Platte
2ebd827355
Release ruma-serde 0.3.0 2021-01-02 13:04:39 +01:00
Jonas Platte
91dd6383c5
client: Fix build error with TLS disabled 2020-12-30 19:20:31 +01:00
Jonas Platte
4ffec95b01
Update hyper / tokio
(and raise the minimum version for other dependencies)
2020-12-30 19:01:22 +01:00
Jonas Platte
19ae6ff347
Remove lots of Copy implementations
so we don't have do breaking releases once they can't be Copy anymore.
2020-12-24 02:51:08 +01:00
Jonas Platte
f55e2b2cc6
Bump dependency requirements 2020-12-24 02:48:01 +01:00
Jonas Platte
48348edc7e
client: Small readability improvement 2020-12-24 02:25:24 +01:00
Jonas Platte
8ea4cf4862
client: Add support for rustls as the TLS backend 2020-12-24 01:43:14 +01:00
Jonas Platte
1129520290
client: Rename tls feature to tls-native 2020-12-24 01:29:19 +01:00
Fredrik Lanker
325b3eea34
Require user credentials for client example 2020-12-23 17:08:01 +01:00
Jonas Platte
e7f55ea2c6
Rewrap comments 2020-11-27 18:22:18 +01:00
Jonas Platte
199f5840dd
events: Make text & notice message event content non-exhaustive 2020-11-25 18:38:14 +01:00
Alejandro Domínguez
872701dc83 Introduce the unstable-synapse-quirks feature in ruma-events 2020-11-20 14:31:10 +01:00
Jonas Platte
e02d76f4b0
Remove FIXME comment
Turned out making FilterDefinition::ignore_all() const doesn't help.
2020-11-05 21:14:56 +01:00