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
f8181bcb7e
cargo test is stupid
2020-05-06 17:19:17 +02:00
e470f060e3
deploy documentation as gitlab pages
2020-05-06 15:58:11 +02:00
b1801f2486
update log4rs
2020-05-06 13:46:22 +02:00
5587ded60d
merge workspace and main crate
2020-05-05 23:18:05 +02:00
52679ad29d
remove FromBodyNoError and replace with std::convert::Infallible
2020-05-05 23:08:57 +02:00
4cd2474d90
add documentation and some traits for Raw<T>
2020-05-05 23:05:17 +02:00