960 Commits

Author SHA1 Message Date
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
a08fc01c0b
Add #![warn(rust_2018_idioms)], fix warning 2019-11-12 01:26:33 +01:00
Jonas Platte
5c202dac49
Add #![warn(rust_2018_idioms)], fix warning 2019-11-12 01:17:52 +01:00
Jonas Platte
1965efc5c7
Update CHANGELOG.md 2019-11-11 23:08:28 +01:00
Jonas Platte
ed42aaef6a
Fix tests 2019-11-11 23:07:10 +01:00
Jonas Platte
68aaa59eda
Update formatting in quote! invocations 2019-11-11 23:06:21 +01:00
Jonas Platte
d140eff324
Fix wrong parameter type in get_message_events 2019-11-11 22:55:37 +01:00
Jonas Platte
d6f1926832
Disallow body fields in GET endpoints 2019-11-11 22:55:04 +01:00
Jonas Platte
c8f1342144
Disallow multiple ruma_api(body) attributes in one request / response 2019-11-11 22:32:10 +01:00
Jonas Platte
47267cc2ba
Slightly simplify attribute parsing code 2019-11-11 22:28:43 +01:00
Jonas Platte
e8858f119d
Fix outdated doc comment 2019-11-11 22:28:24 +01:00
Jonas Platte
6026d960ce
Update get_content_thumbnail to r0.6.0 2019-11-11 21:11:07 +01:00
Jonas Platte
122aeccf96
Fix ruma_api attributes in r0::directory::* 2019-11-11 21:09:30 +01:00
Jonas Platte
4e319ae27e
Compact more serde attributes 2019-11-11 20:30:25 +01:00
Jonas Platte
71fc531897
Compact serde attributes 2019-11-11 20:22:54 +01:00
Jonas Platte
776ef79253
Rewrite r0.6.0 back to form without ending
since the server redirects to that form, even though some links refer to the .html form
2019-11-11 20:22:05 +01:00
Jonas Platte
2748142f41
Update doc comment URLs
* create_alias: No changes, bump to r0.6.0
* get_public_rooms_filtered: Use canonical URL
2019-11-11 20:13:09 +01:00
Jonas Platte
c56469eba5
Update public room list endpoints to r0.6.0 2019-11-11 19:54:24 +01:00
Wim de With
fa771877f7 Fix wording in Cargo.toml description 2019-11-11 11:07:45 +01:00
Wim de With
7a2b14fe15 Add homepage and repository URLs to Cargo.toml 2019-11-11 11:07:17 +01:00
Wim de With
531bbb6429 Configure Travis 2019-11-11 11:04:52 +01:00
Wim de With
4339999152 Initial commit 2019-11-08 15:17:57 +01:00
Jonas Platte
e5a3027b3b Add CHANGELOG.md, ruma-api-macros/CHANGELOG.md 2019-11-04 11:37:56 +01:00
Jonas Platte
59056808de Remove #![deny(warnings)], #![warn(clippy::…)] 2019-11-02 14:15:49 +01:00
Jonas Platte
6ae72856d7 Remove #![deny(warnings)], #![warn(clippy::…)] 2019-10-31 22:38:01 +01:00
Jonas Platte
d3e5190670 Remove #![deny(warnings)], #![warn(clippy::…)] 2019-10-31 22:21:58 +01:00
Jonas Platte
f887310524 Apply clippy suggestion 2019-10-31 22:21:26 +01:00
Jonas Platte
1cd00e05e9 Re-format test 2019-10-31 22:21:16 +01:00
Jonas Platte
972022c175 Add MSRV section to README.md 2019-10-31 22:18:59 +01:00
Jonas Platte
a13f2a7eb9 Test beta and nightly on CI 2019-10-31 22:18:50 +01:00
Jonas Platte
9f143f3383 Update dependencies 2019-10-31 22:10:49 +01:00
Jonas Platte
e6fd6a34f3 Bump version to 0.4.0 2019-10-29 20:49:28 +01:00
Jonas Platte
ad582de058 Allow clippy warning use_self 2019-10-29 20:49:09 +01:00
Jonas Platte
41387208ab Test Rust 1.34.2 in CI (and beta, nightly) 2019-10-29 20:41:32 +01:00
Jonas Platte
b35e843fe2 Update dependencies 2019-10-29 20:35:46 +01:00
Jonas Platte
0889d1e0ef Fix version of ruma-api-macros 2019-10-29 20:06:16 +01:00
Jonas Platte
4a03892ad6 Bump versions 2019-10-29 20:05:07 +01:00
Jonas Platte
540a69a8e4 Remove percent-encoding dependency (not currently used) 2019-10-29 19:56:00 +01:00