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

61 commits

Author SHA1 Message Date
a36993f615
there is no need to force people to take &State arg
this highly improves async compatibility
2020-04-30 00:37:24 +02:00
cd7cf07318
rust can't think for itself 2020-04-29 21:00:06 +02:00
d08d9bea8c
fix some clippy warnings 2020-04-25 17:01:16 +02:00
147ea980bf
move to Rust 1.42 features 2020-04-25 16:47:33 +02:00
1e607bbcc9
more generous FromBody implementation 2020-04-19 22:26:29 +02:00
523d01d443
async fn and conn are not compatible atm since diesel is completely sync 2020-04-18 15:48:00 +02:00
310d7f79d5
fix state ownership issue when using the database feature 2020-04-16 23:48:54 +02:00
63e6eb9b32
re-export gotham 2020-04-15 23:20:41 +02:00
a493071ff8
dependency management 2020-04-15 23:16:03 +02:00
40e6d1bc03
make clear that this tracks gotham master 2020-04-15 23:01:21 +02:00
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