1844 Commits

Author SHA1 Message Date
Jonas Platte
a57e867279
Fixup for previous commit 2019-11-24 20:52:53 +01:00
Jonas Platte
cf5fccaccc
Simplify TryFromRaw::try_from_raw 2019-11-24 17:40:13 +01:00
Wim de With
2ae14de8e5 Add application service extension
The application service specification defines a single extension for the
client-server API. This endpoint can only be used by application
services.
2019-11-24 16:41:41 +01:00
Jonas Platte
b9f5fd796e
Bump MSRV to 1.36.0 2019-11-24 15:43:13 +01:00
Aaron DeVore
886715b886 Add filter optional query param to /messages (r0.3.0 compatibility) 2019-11-23 12:03:55 +01:00
Jonas Platte
f84b7f2b7f
Bump MSRV to 1.36.0 2019-11-22 11:09:17 +01:00
Jonas Platte
44387425ba
Bump MSRV 2019-11-22 11:08:29 +01:00
Jonas Platte
f2addacccb
Fixup for previous commit 2019-11-22 11:05:16 +01:00
Jonas Platte
15f875a06e
Bump MSRV 2019-11-22 11:03:48 +01:00
Wim de With
038ae89d05 Add thirdparty network endpoints 2019-11-21 14:43:47 +01:00
Wim de With
55dfe98d44 Update ruma-api to 0.11.2 2019-11-21 14:41:16 +01:00
Wim de With
5a84d9ba26 Add third party network endpoints 2019-11-21 14:26:41 +01:00
Wim de With
c017c957d7 Update ruma-api to 0.11.2 2019-11-21 14:22:25 +01:00
Jonas Platte
924cd4c36c
Update changelogs, bump versions 2019-11-21 11:53:37 +01:00
Jonas Platte
4c44a6a5b9
Allow CI to pass even if clippy is not available 2019-11-21 11:13:37 +01:00
Jonas Platte
f0bdc9a7fb
Add field with serde attribute to test
to catch issues with serde attribute stripping in tests
2019-11-21 11:01:08 +01:00
Aaron DeVore
ca5344582b Fix inverted logic in strip_serde_attrs 2019-11-20 23:22:26 -08:00
Jonas Platte
d83c79d444
Fix doctest that was accidentally not ignored 2019-11-20 23:53:38 +01:00
Jonas Platte
6f5c2833ba
Bump versions 2019-11-20 23:38:36 +01:00
Jonas Platte
65568dbf1b
Update ruma_api! docs 2019-11-20 23:36:11 +01:00
Jonas Platte
d054bbb407
Update changelogs 2019-11-20 23:28:50 +01:00
Jonas Platte
8c898f3766
ruma-api-macros: Use syn::Path::is_ident 2019-11-20 23:10:43 +01:00
Wim de With
f0e724d391 Add query_map attribute to ruma_api 2019-11-20 14:31:38 +01:00
Jonas Platte
71372ae910
ruma-api-macros: mv src/api/mod.rs src/api.rs 2019-11-19 11:25:41 +01:00
Jonas Platte
5a6557e7d7
Configure rustfmt to produce denser code 2019-11-19 11:01:31 +01:00
Jonas Platte
a969fcf625
Update dependencies, use one line per dep in toml files 2019-11-19 10:59:11 +01:00
Jonas Platte
6b14591d31
ruma-api-macros: Rewrite a few leftover errors without spans 2019-11-18 22:52:14 +01:00
Jonas Platte
9b3eef4f8d
ruma-api-macros: Add more error spans for response block 2019-11-18 22:36:37 +01:00
Jonas Platte
c277c0d257
ruma-api-macros: Add more error spans for request block 2019-11-18 22:31:04 +01:00
Jonas Platte
eab2374253
ruma-api-macros: Slight simplification of api/attribute.rs 2019-11-18 02:22:00 +01:00
Jonas Platte
6ea5b9b7a1
Fix 1.34.2 incompatibility from last commit 2019-11-18 00:06:46 +01:00
Jonas Platte
41c1a224c2
ruma-api-macros: Improve error handling for invalid metadata 2019-11-17 23:53:19 +01:00
Jonas Platte
8fe74552b1
Remove unnecessary cloning 2019-11-16 16:46:43 +01:00
Jonas Platte
3e8938fc1a
ruma-api-macros: Remove ref from match bindings
since it is no longer necessary with our MSRV
2019-11-16 16:00:21 +01:00
Jonas Platte
2261067251
ruma_api_macros: Use find_map in Request::newtype_body_field 2019-11-16 15:58:48 +01:00
Jonas Platte
d0d1d97ee4
ruma_api_macros: Simplify RequestField::as_* methods 2019-11-16 15:58:35 +01:00
Jonas Platte
772c378fe2
ruma_api_macros: Use find_map in Response::newtype_body_field 2019-11-16 15:43:01 +01:00
Jonas Platte
18ed83ef76
Fix a few bugs in ruma_api_macros 2019-11-16 15:21:18 +01:00
Jonas Platte
2b9742b99e
Slightly simplify ruma_api! expansion code 2019-11-16 14:06:02 +01:00
Jonas Platte
69ee18e0a9
Simplify ruma_api_macros::api::strip_serde_attrs 2019-11-16 14:05:23 +01:00
Jonas Platte
02e9ff2ae6
Update macro crate's attributes 2019-11-16 00:44:03 +01:00
Jonas Platte
4d8cc3624f
Partially revert previous changes
since they were preparing for something that's now not going to happen,
namely a use case for multiple meta items in one #[ruma_api(..)] attribute
2019-11-16 00:40:31 +01:00
Jonas Platte
1334b6c9d9
Update readme, remove pointless newline 2019-11-15 22:44:30 +01:00
Jonas Platte
9699f5c68f
Allow ruma_api attributes to contain multiple items, forbid some nonsensical attribute usage 2019-11-15 22:24:45 +01:00
Jonas Platte
fa9ec7f145
Update doc comment 2019-11-15 20:37:29 +01:00
Wim de With
48dcfe9315 Add user directory endpoints 2019-11-14 13:42:22 +01:00
Jimmy Cuadra
c3aa9bd952 Update Travis CI configure and include IRC notifications. 2019-11-11 21:02:34 -08:00
Jonas Platte
3141f3e9a1
Fix Rust 2018 idiom warning
with `cargo fix --all-features`
2019-11-12 01:53:18 +01:00
Jonas Platte
a08fc01c0b
Add #![warn(rust_2018_idioms)], fix warning 2019-11-12 01:26:33 +01:00
Jonas Platte
3b10faad0e
Add #![warn(rust_2018_idioms)] 2019-11-12 01:24:57 +01:00