Peter Hall
bca41f8d40
Changes to Cors builder ( #1266 )
...
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-01-11 04:53:17 +09:00
Jacob Brown
7c974ee668
Update doc comment for HttpRequest::app_data
( #1265 )
...
* update doc comment for `HttpRequest::app_data`
* add `no_run` to doc comment
* add `ignore` to doc comment
* Update src/request.rs
Co-Authored-By: Yuki Okushi <huyuumi.dev@gmail.com>
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-01-11 03:55:20 +09:00
linkmauve
abb462ef85
Replace sha1 dependency with sha-1 ( #1258 )
...
* Replace sha1 dependency with sha-1
This other crate is being maintained, and it offers better performances
when using the `asm` feature (especially [on
AArch64](https://github.com/RustCrypto/hashes/pull/97 )).
* Update CHANGES.md with the sha-1 migration
* Add a test for hash_key()
2020-01-11 02:34:31 +09:00
Nikolay Kim
e66312b664
add extra constraints
2020-01-10 11:36:59 +06:00
Nikolay Kim
39f4b2b39e
Merge branch 'master' of github.com:actix/actix-web
2020-01-10 11:28:58 +06:00
Nikolay Kim
f6ff056b8a
Fix panic with already borrowed: BorrowMutError #1263
2020-01-10 11:26:54 +06:00
Yuki Okushi
4d9fb6825c
Update bytes to 0.5 and base64 to 0.11 ( #18 )
...
* Update bytes to 0.5 and base64 to 0.11
* Update changelog
2020-01-10 05:57:42 +09:00
Yuki Okushi
51ab4fb73d
Tweak actions to use cache and not to be stuck on the way ( #1264 )
2020-01-10 03:30:45 +09:00
Yuki Okushi
cfaa307d47
Cache build to decrease CI time ( #17 )
2020-01-09 17:51:53 +09:00
Yuki Okushi
b4508baf7e
Run CI with GitHub Actions ( #16 )
...
* Run CI with GitHub Actions
* Remove benchmarks for now
* Check MSRV
2020-01-07 18:08:00 +09:00
Yuki Okushi
deb1508d2f
Cleanup documentation and metadata ( #15 )
2020-01-07 13:54:46 +09:00
Masaki Hara
d83cbc8542
Support actix-web 2.x ( #14 )
2020-01-07 01:00:43 +09:00
linkmauve
f5fd6bc49f
Fix actix-http examples ( #1259 )
...
Fix actix-http examples
2020-01-07 00:15:04 +09:00
Yuki Okushi
2225642c6d
Merge pull request #8 from JohnTitor/actix-web-2
...
Migrate to actix-web 2.0.0 and std::future
2020-01-03 16:59:29 +09:00
Jeremy Wright
2803fcbe22
Small grammaritical update to lib.rs ( #1248 )
2020-01-03 08:45:17 +06:00
Yuki Okushi
d7387ca5b5
Tweak CI
2020-01-02 04:34:26 +09:00
Yuki Okushi
06a2499071
Update CHANGES.md
2020-01-02 04:26:17 +09:00
Yuki Okushi
fe2553474e
Run rustfmt
2020-01-02 04:22:52 +09:00
Yuki Okushi
0eeda4c398
Migrate to actix-web v2
2020-01-02 03:55:17 +09:00
Yuki Okushi
342c711bad
Make crate 2018 edition
2020-01-02 01:04:00 +09:00
Nikolay Kim
67793c5d92
add ssl feature migration
2019-12-30 21:22:04 +06:00
Jonathan Brookins
bcb5086c91
Added 2.0.0 rustls feature name change ( #1244 )
2019-12-30 21:16:04 +06:00
wojciechkepka
7bd2270290
Fix link to example in readme.md ( #1236 )
...
* Fix link to example in readme.md
* Add links to openssl and rustls examples
* Rustls should be uppercase
2019-12-26 19:42:07 +09:00
Nikolay Kim
8f6a00324e
Merge pull request #37 from pandaman64/patch-1
...
bump actix-web version
2019-12-26 11:18:39 +04:00
pandaman64
73e70bd249
bump actix-web version
2019-12-26 15:47:31 +09:00
Nikolay Kim
a4ad5e6b69
update timeouts for test server
2019-12-25 20:52:20 +04:00
Nikolay Kim
6db909a3e7
update migration
2019-12-25 20:27:30 +04:00
Nikolay Kim
642ae161c0
prep actix-web release
2019-12-25 20:21:00 +04:00
Nikolay Kim
7b3c99b933
prep actix-framed release
2019-12-25 20:17:22 +04:00
Nikolay Kim
f86ce0390e
allow to specify multi pattern for resources
2019-12-25 20:14:44 +04:00
Nikolay Kim
7882f545e5
Allow to gracefully stop test server via TestServer::stop()
2019-12-25 12:10:48 +04:00
Nikolay Kim
1c75e6876b
update migration
2019-12-22 17:16:07 +04:00
Nikolay Kim
6a0cd2dced
Rename HttpServer::start() to HttpServer::run()
2019-12-22 17:12:22 +04:00
Nikolay Kim
c7f3915779
update actix-service dep
2019-12-22 16:39:25 +04:00
Yuki Okushi
f45db1f909
Enable GitHub Actions and fix file URL behavior ( #1232 )
...
* Use GitHub Actions
* Fix unused imports on Windows
* Fix test for Windows
* Stop to run CI for i686-pc-windows-msvc for now
* Use `/` instead of `\` on Windows
* Add entry to changelog
* Prepare actix-files release
2019-12-22 16:43:41 +09:00
Darin
3751a4018e
fixed test::init_service api docs (missing await) ( #1230 )
2019-12-21 08:47:18 +06:00
Nikolay Kim
0cb1b0642f
add test server data test
2019-12-20 23:18:59 +06:00
Nikolay Kim
2e1d98a4be
update readme
2019-12-20 22:11:38 +06:00
Nikolay Kim
9b0a0f451b
update actix; prep release
2019-12-20 22:09:08 +06:00
Nikolay Kim
48476362a3
update changes
2019-12-20 17:59:34 +06:00
Nikolay Kim
2b4256baab
add links to configs
2019-12-20 17:49:05 +06:00
Nikolay Kim
e5a50f423d
Make web::Data deref to Arc<T> #1214
2019-12-20 17:45:35 +06:00
Nikolay Kim
8b8a9a995d
bump ver
2019-12-20 17:36:48 +06:00
Nikolay Kim
74fa4060c2
fix awc tests
2019-12-20 17:27:32 +06:00
Nikolay Kim
c877840c07
rename App::register_data to App::app_data and HttpRequest::app_data returns Option<&T> instead of Option<&Data<T>>
2019-12-20 17:13:09 +06:00
Nikolay Kim
20248daeda
Allow to set peer_addr for TestRequest #1074
2019-12-20 16:11:51 +06:00
Nikolay Kim
a08d8dab70
AppConfig::secure() is always false. #1202
2019-12-20 16:04:51 +06:00
Nikolay Kim
8f97550c7a
Merge pull request #36 from Dowwie/master
...
turned inner methods into async ones
2019-12-20 14:01:16 +06:00
tglman
fbbb4a86e9
feat: add access to the session also from immutable references ( #1225 )
2019-12-20 13:59:07 +06:00
Nikolay Kim
1d12ba9d5f
Replace brotli with brotli2 #1224
2019-12-20 13:50:07 +06:00