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

51 commits

Author SHA1 Message Date
694b45ea60
Merge branch 'master' into gotham-master
Conflicts:
	example/Cargo.toml
	gotham_restful/Cargo.toml
2020-04-15 22:55:26 +02:00
659fd2f7e2
bump version to 0.0.4 / derive 0.0.3 2020-04-15 21:50:38 +02:00
c3e2185396
remove some more expect/panic stuff 2020-04-15 21:41:24 +02:00
89f6494b51
asyncify method proc macro 2020-04-15 21:15:40 +02:00
427c836f52
expose async to handlers 2020-04-15 20:55:25 +02:00
f425f21ff3
update jsonwebtoken, futures, and hyper and co 2020-04-14 17:44:07 +02:00
93cbc36046
dump codecov.io and redo badges 2020-04-12 22:31:53 +02:00
d610103750 Idiomatify error handling code in gotham_derive 2020-04-12 19:58:05 +00:00
d10895076e auth is now per-method and not per-return-type 2020-04-11 18:13:36 +00:00
1d4d75c84a
proper error message for too many / too few parameters 2020-04-11 19:20:30 +02:00
6748130ff5
easier debugging 2020-04-08 22:18:06 +02:00
381a230b81
remove panics from expand_method 2020-04-08 22:07:33 +02:00
f677789747
remove panics from FromBody 2020-04-08 21:53:57 +02:00
2b8ad48504
remove panics from RequestBody 2020-04-07 23:01:26 +02:00
5954be324a
remove panics from derive(OpenapiType) 2020-04-07 22:54:23 +02:00
810680d9b1 Allow OpenAPI customizations 2020-04-07 20:44:02 +00:00
744f56acf9 Less generic type arguments 2020-04-06 16:20:08 +00:00
2f02472e71
bump version to 0.0.2 2020-02-24 17:41:29 +01:00
dc4de30a71
make enums a non-inlined schema 2020-02-23 19:53:03 +01:00
6e9d8bd158
derive: AuthStatus<T> needs T to always be Clone 2020-01-25 14:04:26 +01:00
e710182f14
update versions 2020-01-24 17:59:20 +01:00
d3b27bae8a
we need to clone the AuthSource because lifetimes are annoying 2020-01-24 17:52:53 +01:00
088774fc50 implement auth parsing/verifying inside a gotham middleware 2020-01-22 16:53:02 +00:00
6aa53942a0
openapiv3 upstream changed StringFormat: just use ..Default::default() 2020-01-17 21:37:41 +01:00
f7600977c8
fix possible issue with NoContent implicit return and database connection use 2020-01-14 23:48:14 +01:00
e2cf2238fd
remove debug output from macro 2020-01-14 23:34:18 +01:00
26cbe28b00
workaround for #7: no state when using conn 2020-01-14 23:32:16 +01:00
876da721f8
some fixes for database support 2020-01-14 23:16:31 +01:00
73457f2fda
basic diesel-middleware repo handling #7 2020-01-14 03:27:49 +01:00
16a83468ab
restrict OpenapiType generic parameters (fixes #3) 2020-01-14 02:55:05 +01:00
a2651d073c
no references to ../README.md 2019-10-27 22:29:59 +01:00
c402638653
use all latest versions 2019-10-27 21:58:05 +01:00
ce6e93a790 Keep fn on method handlers 2019-10-27 20:44:23 +00:00
78be60b1a4
tidy up 2019-10-20 17:42:33 +02:00
3a64634872
dual-license under EPL-2.0 and Apache-2.0 2019-10-20 16:56:50 +02:00
d030fa539f Support File up/download 2019-10-20 14:49:53 +00:00
25117a035f
fix derive 2019-10-14 19:05:17 +02:00
92410ddd5b
add codecov badge 2019-10-14 02:50:43 +02:00
2c31251cb2
weird proc macro issue 2019-10-14 02:37:50 +02:00
df3b735429
add first tests 2019-10-14 02:17:25 +02:00
4429fced3b
apply clippy suggestions 2019-10-13 23:36:10 +02:00
286466fcc9
finally get rid of the helper 2019-10-13 23:19:34 +02:00
0153b2e22f
add search method 2019-10-13 17:43:42 +02:00
0cf7c9aa3a
add derive macro for resource 2019-10-06 15:03:30 +02:00
a28ccb98f1
default to NoContent when method has no return type 2019-10-05 14:56:51 +02:00
3f64ac443f
add proc macro attributes for all rest methods 2019-10-05 00:21:41 +02:00
46372dee60
don't loose dependencies 2019-10-03 00:54:12 +02:00
74ea1b820b
improve option handling 2019-10-03 00:11:23 +02:00
50ed2411c9
allow deriving enums 2019-10-03 00:04:33 +02:00
0b11aaf1f9
less verbose 2019-10-02 11:09:10 +02:00