Jonas Platte
|
a68b854734
|
api: Refactor macro code and improve error handling
* Inline lots of methods that were only used once
* Create a separate error case for missing headers
|
2021-04-10 14:50:01 +02:00 |
|
Akshay
|
06a2a27a99
|
api: Check http method in try_from_http_request
|
2021-04-09 17:21:05 +02:00 |
|
Jonas Platte
|
85f152fccc
|
api: Normalize std::fmt import
|
2021-04-09 12:51:50 +02:00 |
|
Jonas Platte
|
1ab1a24e1d
|
Remove outdated documentation
|
2021-04-09 10:58:37 +02:00 |
|
Kévin Commaille
|
963400979b
|
docs: Harmonize ruma modules descriptions
|
2021-04-07 12:14:49 +02:00 |
|
Jonas Platte
|
c523fa0f74
|
Use ruma_api::try_deserialize in manual endpoint implementations
|
2021-04-05 22:33:05 +02:00 |
|
Jonas Platte
|
345d0cf990
|
api-macros: Allow ruma_api! invocation without request / response
|
2021-04-05 14:49:40 +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
|
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 |
|
Jonas Platte
|
e843ccdb90
|
ruma-api: Force client and server Cargo features to always be on
|
2021-03-09 19:58:36 +01:00 |
|
Akshay
|
4d51e98707
|
Introduce client and server feature flags for *-api crates
|
2021-03-05 16:00:35 +01:00 |
|
Jonas Platte
|
ed6e55a22f
|
Re-format
|
2021-02-09 15:42:40 +01:00 |
|
Jonas Platte
|
44a0bebd09
|
Fix links in docs
|
2021-02-08 20:46:57 +01:00 |
|
Akshay
|
1c0dab5a47
|
api: Allow cfg attributes on rate_limited and authentication metadata fields
|
2021-02-05 12:47:43 +01:00 |
|
Akshay
|
b087cf75b7
|
Set the default Content-Type for requests to application/json
|
2021-01-22 17:39:06 +01:00 |
|
Amanda Graven
|
85037832d1
|
Minor comment spelling and formatting fixes
|
2021-01-18 16:12:28 +01:00 |
|
Jonas Platte
|
daf2d463ba
|
ruma: Show all features on docs.rs
|
2021-01-17 22:40:11 +01:00 |
|
Jonas Platte
|
ca1f334ded
|
Remove documentation links from all Cargo.toml s
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
|
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
|
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
|
f55e2b2cc6
|
Bump dependency requirements
|
2020-12-24 02:48:01 +01:00 |
|
Jonas Platte
|
95d21552e0
|
Use a dedicated method for conversion from http::Request to Ruma request types
|
2020-12-13 12:59:21 +01:00 |
|
Jonas Platte
|
b38ae1bb76
|
api: Improve docs for AuthScheme variants
|
2020-12-13 12:21:19 +01:00 |
|
Jonas Platte
|
5562a23aaa
|
Move Raw, Outgoing and all macro code from ruma-common to ruma-serde
|
2020-11-28 03:45:39 +01:00 |
|
Jonas Platte
|
8ccf0f128b
|
Normalize formatting of empty curly braces
|
2020-11-27 23:07:32 +01:00 |
|
Jonas Platte
|
e7f55ea2c6
|
Rewrap comments
|
2020-11-27 18:22:18 +01:00 |
|
Jonas Platte
|
d34a270919
|
Allow custom values for more enums
|
2020-11-02 00:29:47 +01:00 |
|
Devin Ragotzy
|
c15382ca41
|
api-macros: Make Response header fields override any defaults
|
2020-11-01 14:04:34 +01:00 |
|
Jonas Platte
|
e1975c2035
|
Be more consistent about whitespace
|
2020-10-24 00:44:01 +02:00 |
|
skim
|
5b904ddbd7
|
Update links to main branch
|
2020-10-13 10:24:54 +02:00 |
|
Devin Ragotzy
|
b3196d7f64
|
Enforce public visibility of all fields of structs deriving Outgoing
|
2020-10-03 11:39:32 +02:00 |
|
Jonas Platte
|
006582e3f2
|
Various README updates
|
2020-09-29 20:30:33 +02:00 |
|
Jonas Platte
|
8b9e20b842
|
Fix outdated links
|
2020-09-29 20:10:54 +02:00 |
|
Jonas Platte
|
565e3a1ee7
|
Merge LICENSE files
The Copyright notice is taken out because no single person has a
copyright to the entire codebase.
|
2020-09-26 15:52:52 +02:00 |
|
Jonas Platte
|
fdd326edf7
|
Move Outgoing from ruma-api to ruma-common
The derive macro moves from ruma-api-macros to a new ruma-common-macros
crate likewise.
|
2020-09-22 21:35:10 +02:00 |
|
Jonas Platte
|
d36f82faeb
|
api: Use thiserror to derive many Display + Error implementations
|
2020-09-22 01:48:45 +02:00 |
|
Jonas Platte
|
bf27285766
|
api: Import-rename std::error::Error
|
2020-09-22 01:43:16 +02:00 |
|
Vincent Lee
|
d36d005b97
|
Change requires_authentication: bool to authentication: AuthScheme
|
2020-09-18 16:28:51 +02:00 |
|
Jonas Platte
|
01c7eef72f
|
Consistently put an empty line after inner module docs
|
2020-08-24 21:42:48 +02:00 |
|
Devin Ragotzy
|
a8b4bad684
|
Support optional header values in request/response types
|
2020-08-21 19:53:46 +02:00 |
|
Jonas Platte
|
30a0a39d2b
|
Outgoing derive: Replace incoming_no_deserialize with incoming_derive(!Deserialize)
|
2020-08-17 22:08:56 +02:00 |
|
Devin Ragotzy
|
a6c1b8f0bd
|
Parse and emit attributes connected to the request/response defs in ruma_api macro
|
2020-08-14 00:01:19 +02:00 |
|
Jonas Platte
|
c1b4b77bbd
|
api: Update change log
|
2020-08-12 23:43:57 +02:00 |
|
Jonas Platte
|
987d48666c
|
Split Endpoint trait into OutgoingRequest, IncomingRequest
|
2020-08-12 23:33:27 +02:00 |
|
Jonas Platte
|
abc34eeb7e
|
Move manual endpoint impl test into its own file
|
2020-08-12 23:33:27 +02:00 |
|
Jonas Platte
|
52f7546c47
|
Make most things in ruma_api::error actually public (no more #[doc(hidden)] )
So people can implement their own endpoints without the macros and
without using undocumented parts of the API
|
2020-08-12 23:33:27 +02:00 |
|