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

287 commits

Author SHA1 Message Date
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
31835fe57f
use upstream Access-Control-Request-Method route matcher 2020-09-15 15:20:04 +02:00
38feb5b781
oops 2020-09-15 15:12:11 +02:00
d55b0897e9
update to gotham 0.5 and start using rustfmt 2020-09-15 15:10:41 +02:00
5317e50961
improve feature documentation 2020-05-27 10:22:13 +02:00
0541ee2e0b
fix derive's Cargo.toml 2020-05-21 01:44:18 +02:00
f72b9ac797
bump version to 0.1.0-rc0 2020-05-20 23:55:19 +02:00
912f030bfd
improve the From impl for AuthErrorOrOther #20 2020-05-20 19:51:54 +02:00
0b06528742
fix #19 remove ugly regex 2020-05-20 19:36:07 +02:00
c1cb0e692a
gotham finally has a release candidate 2020-05-20 09:33:12 +02:00
8321b63982
tests for the access control request method matcher 2020-05-20 09:01:11 +02:00
e5e9cd5d3c
openapi spec tests 2020-05-19 21:07:29 +02:00
81803fd54a
add HashMap as OpenapiType 2020-05-19 19:23:29 +02:00
7268cc0567
cors in the example 2020-05-19 19:09:23 +02:00
b39b30694e
update readme 2020-05-17 01:41:58 +02:00
955715eea6
I don't know how I ended up with spaces 2020-05-16 14:27:13 +02:00
dc26e9a02e
improve cors doc 2020-05-16 14:22:23 +02:00
94abc75268
works on my machineTM 2020-05-16 13:59:47 +02:00
20818b0f95
enable doc test for default features 2020-05-16 01:06:07 +02:00
4ff5a8d7e4
doctest fix #26 2020-05-16 01:06:07 +02:00
msrd0
604494651d Merge branch 'cors' into 'master'
Allow configuring CORS

Closes #22

See merge request msrd0/gotham-restful!14
2020-05-15 19:36:30 +00:00
74ef0af512
cors tests 2020-05-15 21:19:26 +02:00
f20c768d02
cors preflight 2020-05-14 23:30:59 +02:00
748bf65d3e
cors for non-preflight requests 2020-05-13 19:11:22 +02:00
40c90e6b4a
no need to use stringify! in a proc macro 2020-05-09 18:10:50 +02:00
b9002bd70d
remove Resource::name() method and update resource documentation 2020-05-09 18:01:47 +02:00
6680887b84
add trybuild tests for OpenapiType and Resource derive macros 2020-05-09 15:29:29 +02:00
9ed24c9bcb
ci: use cargo sweep instead of cargo clean 2020-05-09 03:27:58 +02:00
e2eb9b0fcc
fix 2020-05-08 22:54:54 +02:00
b1b9858da4
ci: run cargo clean before caching
the shared runners ofter run out of memory when creating the cache, but
are definitely far too slow to be able to work without caching, so try
to minimize the amout of storage required.
2020-05-08 21:52:57 +02:00
e05f9bb963
a whole bunch of tests for the method macros 2020-05-08 18:39:23 +02:00
4bf0bd7b09
add design goals to readme 2020-05-08 15:10:37 +02:00
ea80689db2
update badges 2020-05-06 17:28:36 +02:00