|
52679ad29d
|
remove FromBodyNoError and replace with std::convert::Infallible
|
2020-05-05 23:08:57 +02:00 |
|
|
aa9fa0f457
|
doc & ui-test for FromBody
|
2020-05-05 19:31:02 +02:00 |
|
|
022edede62
|
the next release will be 0.1.0, not 0.0.5
|
2020-05-04 23:52:09 +02:00 |
|
|
cc86d3396c
|
rename update to change, delete to remove, and remove rest_ prefix from macros
|
2020-05-04 20:45:46 +02:00 |
|
|
3de130e104
|
emit proper error message for async fn read_all(state: &State)
|
2020-05-04 20:30:15 +02:00 |
|
|
110ef2be7a
|
simplify derive/macro code
|
2020-05-04 19:08:22 +02:00 |
|
|
7ef964b0a0
|
fix
|
2020-05-04 00:27:14 +02:00 |
|
|
992d9be195
|
use less non-public syn api
|
2020-05-03 23:43:42 +02:00 |
|
|
5e5e3aaf9d
|
don't use syn::token module
|
2020-05-03 23:25:48 +02:00 |
|
|
da30f34d97
|
use DeriveInput for input into derive macros from syn
|
2020-05-03 23:10:19 +02:00 |
|
msrd0
|
d754d6044d
|
Allow custom error types through a macro and allow them to be used with Result
|
2020-05-01 14:48:11 +00:00 |
|
|
8593e133b7
|
also detect _state as state argument
|
2020-04-30 16:49:40 +02:00 |
|
|
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 |
|