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 |
|
Jonas Platte
|
de80253e78
|
Add #![warn(rust_2018_idioms)], fix warnings
|
2019-11-12 01:23:01 +01:00 |
|
Jonas Platte
|
c957998455
|
Add #![warn(rust_2018_idioms)], fix warning
|
2019-11-12 01:20:20 +01:00 |
|
Jonas Platte
|
5c202dac49
|
Add #![warn(rust_2018_idioms)], fix warning
|
2019-11-12 01:17:52 +01:00 |
|
Jonas Platte
|
e9d55cbfac
|
Reduce macro duplication
|
2019-11-11 23:37:24 +01:00 |
|
Jonas Platte
|
a9840164cd
|
Derive Serialize for collection types
|
2019-11-11 23:26:12 +01:00 |
|
Jonas Platte
|
9e50de0d13
|
Remove unused trait impls on raw collection types
|
2019-11-11 23:18:58 +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
|
4d17769b2b
|
Update tests to use example.com instead of domain.com
because domain.com represents a business, while example.com is actually just an example domain
|
2019-11-11 20:48:24 +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
|
82f652abb4
|
Remove #![feature(impl_trait_in_bindings)] from doc test
|
2019-11-07 19:31:40 +01:00 |
|
Jonas Platte
|
d1b1e3729b
|
Remove 1.34.2 from CI, update README.md
|
2019-11-07 19:15:42 +01:00 |
|
Jonas Platte
|
3cbc3f04bd
|
Remove #![feature(async_await)] from doc tests
|
2019-11-07 19:01:28 +01:00 |
|