1
0
Fork 0
mirror of https://gitlab.com/msrd0/gotham-restful.git synced 2025-02-22 20:52:27 +00:00
Commit graph

269 commits

Author SHA1 Message Date
msrd0
af28e0d916 Reexports 2021-02-03 21:22:46 +00:00
msrd0
441a42c75e Add a Redirect type that can be returned by endpoints 2021-01-26 17:49:11 +00:00
cf0223473f
allow more types to appear in AuthErrorOrOther (related to #20) 2021-01-23 16:11:33 +01:00
f2bcc8438f
fix implicit &'static mut State error 2021-01-18 19:04:06 +01:00
681ef5d894
add debug option to endpoint macro 2021-01-18 18:50:26 +01:00
70914d107b
fix missing FromState import 2021-01-18 18:38:12 +01:00
msrd0
5261aa9931 Custom Endpoints 2021-01-18 16:56:16 +00:00
002cfb1b4d
fix some lints 2021-01-18 01:07:41 +01:00
msrd0
b807ae2796 Replace methods with more flexible endpoints 2021-01-18 00:05:30 +00:00
0ac0f0f504
fix features for doc 2021-01-15 17:33:40 +01:00
0251c03ceb
ci: fix tarpaulin features 2021-01-15 15:16:09 +01:00
75cd7e2c96
ci: the same applies to tarpaulin 2021-01-15 03:55:11 +01:00
edd8bb618d
ci: --workspace applies features from the example which breaks stuff 2021-01-15 03:49:35 +01:00
daea3ba9ec
introduce without-openapi feature to improve #4 2021-01-14 18:55:44 +01:00
b7a1193333
make all fields of response private, we're breaking change anyways
Closes #34
Related to #27
2021-01-14 18:45:32 +01:00
44f3c9fe84
add headers to the response (#27) 2021-01-14 18:37:51 +01:00
3600a115d0
use rust 1.49 for trybuild ui testing 2021-01-01 19:31:09 +01:00
388bf8b49c
apply some clippy suggestions 2021-01-01 18:03:31 +01:00
6ee382242b
fix example 2021-01-01 17:43:43 +01:00
813c12614f
update readme 2021-01-01 16:49:35 +01:00
766bc9d17d
support copying headers in cors preflight requests 2021-01-01 16:44:55 +01:00
b005346e54
fix the readme template 2021-01-01 16:18:50 +01:00
141e5ac2d7
bump version to 0.2.0-dev and change license to Apache-2.0 only 2021-01-01 15:56:47 +01:00
2b8796b9c9
update readme 2021-01-01 15:43:40 +01:00
71961268c4
add include directive to Cargo.toml to reduce crate size 2020-12-28 18:57:47 +01:00
9efc1cb192
bump version to 0.1.1 and add changelog 2020-12-28 18:35:48 +01:00
1ac323accc
example: replace log4rs with pretty_env_logger 2020-12-28 18:18:10 +01:00
7851b50bcd
update itertools to 0.10 and mark it as optional 2020-12-28 18:11:29 +01:00
8a8e01e757
add openapi support for NonZeroU types 2020-11-25 03:11:30 +01:00
fee9dc89b0
support cookie auth without cookie jar in state 2020-11-23 23:17:28 +01:00
4fd5464e44
get rid of mod's in error messages 2020-11-23 01:22:03 +01:00
f9c2009023
ci: check rustfmt 2020-11-23 00:02:16 +01:00
f1e1c5e521
update readme 2020-11-22 23:56:25 +01:00
4ae860dd32
docs: use [Type] syntax from rust 1.48 2020-11-22 23:55:52 +01:00
ed1bbbd1fb
add resource error integration test 2020-11-22 23:18:28 +01:00
bb945e2cc6
ci: fix tarpaulin report and include cobertura.xml 2020-11-22 22:31:51 +01:00
2cb326a4c3
ci: inspect the present files in publish stage 2020-11-22 22:09:38 +01:00
00ffe95354
fix broken doc links 2020-11-21 16:53:18 +01:00
msrd0
37aa497e59 Update CI to use the rust Docker image 2020-11-21 14:47:29 +00:00
e6721275ae
ci: remove 'cargo sweep' 2020-11-21 02:07:26 +01:00
24893223b2
remove unused code and fix lint warning 2020-11-20 01:30:12 +01:00
ce570c4787
allow &mut State in async fn (needs test) 2020-11-20 01:12:20 +01:00
6ded517824
update futures to 0.3.7 (https://rustsec.org/advisories/RUSTSEC-2020-0059.html) 2020-11-04 19:34:25 +01:00
d3da7d0182
remove publish from ci 2020-10-04 18:25:02 +02:00
1369d25c8a
bump version to 0.1.0 2020-10-02 14:21:56 +02:00
a0059fd7b9
some dependency updates 2020-10-02 13:37:33 +02:00
d9c22579b0
only log errors on 500 responses (fixes #30) 2020-09-19 19:40:39 +02:00
eeea62859f
update log4rs to 0.13.0 2020-09-19 19:31:43 +02:00
0729d5b8ed
use anyhow 2020-09-17 12:25:58 +02:00
6470bd59ef
fix weird rust issue where PartialEq is not being detected since 1.44.0
I did not manage to get a repro of this since all old versions of rust
fail to compile, eventhough the CI clearly confirms that it used to
compile with 1.43.0
2020-09-17 12:21:09 +02:00