Jonas Platte
|
14fa10af6b
|
Update ruma-api-macros/README.md
|
2019-11-26 00:08:39 +01:00 |
|
Jonas Platte
|
02a9a6494d
|
Update ruma-api-macro's crate docs
|
2019-11-26 00:05:36 +01:00 |
|
Jonas Platte
|
0f803e2acf
|
Move documentation of ruma_api! from ruma-api-macros to ruma-api
|
2019-11-25 22:44:43 +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 |
|
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 |
|
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
|
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
|
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
|
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 |
|