Rob Ede
f861508789
prepare web release 3.0.1 ( #1676 )
2020-09-13 03:24:44 +01:00
Rob Ede
64a2c13cdf
the big three point oh ( #1668 )
2020-09-11 13:50:10 +01:00
Rob Ede
bf53fe5a22
bump actix dependency to v0.10 ( #1666 )
2020-09-11 12:09:52 +01:00
Rob Ede
059d1671d7
prepare release beta 4 ( #1659 )
2020-09-09 22:14:11 +01:00
Rob Ede
9d0534999d
bump connect and tls versions ( #1655 )
2020-09-09 09:20:54 +01:00
Rob Ede
8497b5f490
integrate with updated actix-{codec, utils} ( #1634 )
2020-08-24 10:13:35 +01:00
Yuki Okushi
5802eb797f
awc,web: Bump up to next beta releases ( #1638 )
2020-08-18 01:08:40 +09:00
Yuki Okushi
ff2ca0f420
Update rustls to 0.18 ( #1637 )
2020-08-18 00:28:39 +09:00
Yuki Okushi
59ad1738e9
web: Bump up to 3.0.0-beta.2 ( #1636 )
2020-08-17 11:32:38 +01:00
Yuki Okushi
aa2bd6fbfb
http: Bump up to 2.0.0-beta.3 ( #1630 )
2020-08-14 19:42:14 +09:00
Rob Ede
a78380739e
require rustls feature for client example ( #1625 )
2020-08-09 13:32:37 +01:00
Rob Ede
ad7c6d2633
prepare actix-web v3.0.0-beta.1 release ( #1600 )
2020-07-15 00:44:44 +01:00
Yuki Okushi
1382094c15
Avoid using deprecated /
in license field
2020-07-14 11:19:56 +09:00
Rob Ede
a70e599ff5
re-export rt in web and add main macro ( #1575 )
2020-06-22 20:09:48 +01:00
Rob Ede
eb0eda69c6
migrate cookie handling to cookie crate ( #1558 )
2020-06-19 14:34:14 +01:00
Rob Ede
dc74db1f2f
re-export actix_rt::main macro ( #1559 )
2020-06-18 15:45:30 +01:00
Taiki Endo
6c5c4ea230
Remove uses of pin_project::project attribute
...
pin-project will deprecate the project attribute due to some unfixable
limitations.
Refs: https://github.com/taiki-e/pin-project/issues/225
2020-06-06 06:44:14 +09:00
Yuki Okushi
322e7c15d1
Remove actix-framed from workspace
2020-05-31 05:50:32 +09:00
Yuki Okushi
bb89d04080
codegen: Bump up to 0.2.2
2020-05-23 17:22:30 +09:00
Yuki Okushi
5d39110470
web: Bump up to 3.0.0-alpha.3
2020-05-21 17:31:22 +09:00
Yuki Okushi
9b72d33b79
Update awc
to 2.0.0-alpha.2
2020-05-21 16:48:20 +09:00
Yuki Okushi
9cfb32c780
Update actix-http
to 2.0.0-alpha.4
2020-05-21 15:22:42 +09:00
Yuki Okushi
9a7f93610a
web: Replace net2
crate with socket2
2020-05-19 09:34:37 +09:00
Yuki Okushi
a98e53ecb8
web: Minimize futures
dependencies
2020-05-19 08:29:12 +09:00
Yuki Okushi
433a4563cf
Remove outdated members
2020-05-17 10:56:06 +09:00
Rob Ede
879cad9422
allow parent data containers to be accessed from child scopes
2020-05-09 00:31:26 +01:00
Yuki Okushi
b6b3481c6f
web: Bump up to 3.0.0-alpha.2
2020-05-08 06:46:13 +09:00
Yuki Okushi
9d0c80b6ce
Update actix-http deps
2020-05-08 02:35:45 +09:00
Yuki Okushi
54619cb680
actix-http: Remove failure
support ( #1449 )
2020-04-16 06:54:34 +09:00
Otavio Salvador
7b7daa75a4
Add explicit feature requirements for examples and tests
...
This allow us to build 'actix-web' without default features and run all
tests.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2020-03-25 23:49:24 -03:00
Yuki Okushi
c02d3e205b
Clean-up metadata
2020-03-12 07:57:20 +09:00
Yuki Okushi
a6a47b95ee
Exclude actix-cors
2020-03-12 03:04:31 +09:00
Yuki Okushi
c147b94832
Bump up to 3.0.0-alpha.1
2020-03-12 03:03:22 +09:00
Yuki Okushi
95f9a12a5e
dev-deps: Update env_logger
to 0.7
2020-03-12 02:58:22 +09:00
Yuki Okushi
6f33b7ea42
Update awc
dependency
2020-03-08 15:27:40 +09:00
Yuki Okushi
7941594f94
Update actix-http
dependency
2020-03-08 00:50:20 +09:00
Yuki Okushi
687dc609dd
Update rustls
to 0.17
2020-03-04 15:11:31 +09:00
Yuki Okushi
b9b52079e0
Update actix-tls
to 2.0.0-alpha.1
2020-03-04 15:10:23 +09:00
Yuki Okushi
c9fdcc596d
Update actix to 0.10.0-alpha.1
2020-02-27 12:46:29 +09:00
Yuki Okushi
3b675c9125
Update actix-http to 2.0.0-alpha.1
2020-02-27 12:39:04 +09:00
Yuki Okushi
d3ccf46e92
Clean-up metadata
2020-02-27 09:53:27 +09:00
Maksym Vorobiov
e5f2feec45
reenable actix-http from local path
2020-02-27 09:42:32 +09:00
Maksym Vorobiov
78749a4b7e
rollback actix-http version change
2020-02-27 09:37:05 +09:00
Maksym Vorobiov
2e2ea7ab80
remove extra whitespaces and Unpins
2020-02-27 09:37:05 +09:00
Maksym Vorobiov
835a00599c
rollback missed dependencies and CHANGES in crates except actix-http
2020-02-27 09:37:05 +09:00
Maksym Vorobiov
09a391a3ca
rollback changes to actix-web, awc and test-server for now
2020-02-27 09:37:05 +09:00
Maksym Vorobiov
9d04b250f9
This is a squashed commit:
...
- Convert MessageBody to accept Pin in poll_next
- add CHANGES and increase versions aligned to semver
- update crates to accomodate MessageBody Pin change
- fix tests and dependencies
2020-02-27 09:37:05 +09:00
Yuki Okushi
1b77963aac
actix-web: update time
to 0.2.7
2020-02-23 07:08:22 +09:00
kevinpoitra
e634e64847
Upgrade time
to 0.2.5 ( #1254 )
...
* Use `OffsetDateTime` instead of `PrimitiveDateTime`
* Parse time strings with `PrimitiveDateTime::parse` instead of `OffsetDateTime::parse`
* Remove unused `time` dependency from actix-multipart
* Fix a few errors with time related tests from the `time` upgrade
* Implement logic to convert a RFC 850 two-digit year into a full length year, and organize time parsing related functions
* Upgrade `time` to 0.2.2
* Correctly parse C's asctime time format using time 0.2's new format patterns
* Update CHANGES.md
* Use `time` without any of its deprecated functions
* Enforce a UTC time offset when converting an `OffsetDateTime` into a Header value
* Use the more readable version of `Duration::seconds(0)`, `Duration::zero()`
* Remove unneeded conversion of time::Duration to std::time::Duration
* Use `OffsetDateTime::as_seconds_f64` instead of manually calculating the amount of seconds from nanoseconds
* Replace a few additional instances of `Duration::seconds(0)` with `Duration::zero()`
* Truncate any nanoseconds from a supplied `Duration` within `Cookie::set_max_age` to ensure two Cookies with the same amount whole seconds equate to one another
* Fix the actix-http:🍪 :do_not_panic_on_large_max_ages test
* Convert `Cookie::max_age` and `Cookie::expires` examples to `time` 0.2
Mainly minor changes. Type inference can be used alongside the new
`time::parse` method, such that the type doesn't need to be specified.
This will be useful if a refactoring takes place that changes the type.
There are also new macros, which are used where possible.
One change that is not immediately obvious, in `HttpDate`, there was an
unnecessary conditional. As the time crate allows for negative durations
(and can perform arithmetic with such), the if/else can be removed
entirely.
Time v0.2.3 also has some bug fixes, which is why I am not using a more
general v0.2 in Cargo.toml.
v0.2.3 has been yanked, as it was backwards imcompatible. This version
reverts the breaking change, while still supporting rustc back to
1.34.0.
* Add missing `time::offset` macro import
* Fix type confusion when using `time::parse` followed by `using_offset`
* Update `time` to 0.2.5
* Update CHANGES.md
Co-authored-by: Jacob Pratt <the.z.cuber@gmail.com>
2020-01-28 20:44:22 +09:00
Maxim Vorobjov
8888520d83
Add benchmark for full stack request lifecycle ( #1298 )
...
* add benchmark for full stack request lifecycle
* add direct service benchmarks
* fix newline
* add cloneable service benchmarks
* remove cloneable bench experiments + cargo fmt
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-01-25 08:05:25 +09:00
Nikolay Kim
e66312b664
add extra constraints
2020-01-10 11:36:59 +06:00
Nikolay Kim
f86ce0390e
allow to specify multi pattern for resources
2019-12-25 20:14:44 +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
Nikolay Kim
8b8a9a995d
bump ver
2019-12-20 17:36:48 +06:00
Nikolay Kim
1d12ba9d5f
Replace brotli with brotli2 #1224
2019-12-20 13:50:07 +06:00
Nikolay Kim
b0aa9395da
prep actix-web alpha.6 release
2019-12-15 22:51:14 +06:00
Nikolay Kim
a153374b61
migrate actix-web-actors
2019-12-15 22:45:38 +06:00
Nikolay Kim
cb705317b8
compile with default-features off
2019-12-15 13:28:54 +06:00
Nikolay Kim
c878f66d05
fix docs.rs features list
2019-12-13 12:40:22 +06:00
Nikolay Kim
8881c13e60
update changes
2019-12-13 12:16:43 +06:00
Nikolay Kim
d006a7b31f
update changes
2019-12-13 12:10:45 +06:00
Nikolay Kim
4937c9f9c2
refactor http-test server
2019-12-12 23:08:38 +06:00
Nikolay Kim
db1d6b7963
refactor test server impl
2019-12-12 22:28:47 +06:00
Nikolay Kim
fa07415721
Replace flate2-xxx features with compress
2019-12-12 15:08:08 +06:00
Nikolay Kim
131c897099
upgrade to actix-net release
2019-12-11 19:20:20 +06:00
Nikolay Kim
ef3a33b9d6
use std mutext instead of parking_lot
2019-12-10 09:00:51 +06:00
Nikolay Kim
a3ce371312
ws ping and pong uses bytes #1049
2019-12-09 07:01:22 +06:00
Nikolay Kim
42258ee289
deps
2019-12-08 20:22:39 +06:00
Nikolay Kim
b92eafb839
prepare actix-http release
2019-12-08 20:15:51 +06:00
Nikolay Kim
1f3ffe38e8
update actix-service dep
2019-12-08 19:25:24 +06:00
daxpedda
e5f3d88a4e
Switch brotli compressor to rust. ( #1197 )
...
* Switch to a rustified version of brotli.
* Some memory optimizations.
* Make brotli not optional anymore.
2019-12-07 21:55:41 +06:00
daxpedda
91b3fcf85c
Fix dependency features. ( #1196 )
2019-12-07 16:13:26 +06:00
Nikolay Kim
1729a52f8b
prepare alpha.3 release
2019-12-07 13:00:03 +06:00
Nikolay Kim
ed2f3fe80d
use actix-net alpha.3 release
2019-12-07 12:28:26 +06:00
Nikolay Kim
205a964d8f
upgrade to tokio 0.2
2019-12-05 23:35:43 +06:00
Nikolay Kim
b45c6cd66b
replace hashbrown with std hashmap
2019-12-04 18:33:43 +06:00
Nikolay Kim
cf30eafb49
update md
2019-12-03 00:49:12 +06:00
Nikolay Kim
14075ebf7f
use released versions of actix-net
2019-12-02 23:33:39 +06:00
Nikolay Kim
068f047dd5
update service factory config
2019-12-02 21:37:13 +06:00
Nikolay Kim
f4c01384ec
update to latest actix-net
2019-12-02 17:33:11 +06:00
Yuki Okushi
33574403b5
Remove rustls
from package.metadata.docs.rs
( #1182 )
2019-11-28 06:25:21 +06:00
Nikolay Kim
56b9f11c98
disable rustls
2019-11-27 21:07:49 +06:00
Nikolay Kim
4dc31aac93
use actix_rt::test for test setup
2019-11-26 11:25:50 +06:00
Nikolay Kim
c1c44a7dd6
upgrade derive_more
2019-11-25 17:59:14 +06:00
Nikolay Kim
512dd2be63
disable rustls support
2019-11-22 07:01:05 +06:00
Nikolay Kim
8683ba8bb0
rename .to_async() to .to()
2019-11-21 21:36:35 +06:00
Nikolay Kim
471f82f0e0
migrate actix-multipart
2019-11-21 16:02:17 +06:00
Nikolay Kim
60ada97b3d
migrate actix-session
2019-11-21 16:02:17 +06:00
Nikolay Kim
0de101bc4d
update actix-web-codegen tests
2019-11-21 16:02:17 +06:00
Nikolay Kim
95e2a0ef2e
migrate actix-framed
2019-11-21 16:02:17 +06:00
Nikolay Kim
69cadcdedb
migrate actix-files
2019-11-21 16:02:17 +06:00
Nikolay Kim
6ac4ac66b9
migrate actix-cors
2019-11-21 16:02:17 +06:00
Nikolay Kim
3646725cf6
migrate actix-identity
2019-11-21 16:02:17 +06:00
Nikolay Kim
ff62facc0d
disable unmigrated crates
2019-11-21 16:02:17 +06:00
Nikolay Kim
3127dd4db6
migrate actix-web to std::future
2019-11-21 16:02:17 +06:00
Nikolay Kim
5ab29b2e62
migrate awc and test-server to std::future
2019-11-21 16:02:17 +06:00
Nikolay Kim
8cba1170e6
make actix-http compile with std::future
2019-11-21 16:02:17 +06:00
Nikolay Kim
0212c618c6
prepare actix-web release
2019-11-14 08:55:37 +06:00
Nikolay Kim
885ff7396e
prepare actox-http release
2019-11-06 10:35:13 -08:00
Nikolay Kim
4f3e97fff8
prepare actix-web release
2019-09-25 15:39:09 +06:00
karlri
c659c33919
Feature uds: Add listen_uds to ServerBuilder ( #1085 )
...
Allows using an existing Unix Listener instead of binding to a path.
Useful for when running as a daemon under systemd.
Change-Id: I54a0e78c321d8b7a9ded381083217af590e9a7fa
2019-09-25 15:16:51 +06:00
Nikolay Kim
d9af8f66ba
Use actix-testing for testing utils
2019-09-25 10:28:41 +06:00
Nikolay Kim
bae29897d6
prep actix-web release
2019-08-29 09:36:16 +06:00
Nikolay Kim
98bf8ab098
enable rust-tls feature for actix_web::client #1045
2019-08-28 21:40:24 +06:00
Nikolay Kim
979c4d44f4
update awc dep
2019-08-13 12:41:26 -07:00
Nikolay Kim
b1cb72d088
update url crate
2019-08-13 11:03:24 -07:00
Nikolay Kim
55179d6ab2
update dependencies
2019-08-13 10:48:11 -07:00
Marat Safin
cb19ebfe0c
add rustls support for actix-http and awc ( #998 )
...
* add rustls support for actix-http and awc
* fix features conflict
* remove unnecessary duplication
* test server with rust-tls
* fix
* test rustls
* awc rustls test
* format
* tests
* fix dependencies
* fixes and add changes
* remove test-server and Cargo.toml dev-dependencies changes
* cargo fmt
2019-07-31 13:02:56 -07:00
Nikolay Kim
6b7df6b242
prep actix-web release
2019-07-18 17:51:51 +06:00
Nikolay Kim
b6ff786ed3
update dependencies
2019-07-18 17:50:10 +06:00
Nikolay Kim
fbdda8acb1
Unix domain sockets (HttpServer::bind_uds) #92
2019-07-18 17:24:12 +06:00
Nikolay Kim
2a2d7f5768
nightly clippy warnings
2019-07-17 15:53:51 +06:00
Nikolay Kim
baaa7b3fbb
Replace ClonableService with local copy
2019-07-17 13:55:44 +06:00
Nikolay Kim
c01611d8b5
prepare actix-web release
2019-07-17 12:07:12 +06:00
messense
dbab55dd6b
Bump rand crate version to 0.7 ( #951 )
2019-07-01 09:37:03 +06:00
Nikolay Kim
b77ed193f7
prepare actix-web release
2019-06-28 14:41:56 +06:00
messense
313ac48765
Use encoding_rs crate instead of unmaintained encoding crate ( #922 )
...
* Use encoding_rs crate instead of unmaintained encoding crate
* Update changelog
2019-06-18 12:43:25 +06:00
Nikolay Kim
ad0e6f73b3
update version
2019-06-17 12:35:00 +06:00
Nikolay Kim
546a8a58db
remove cors and identity middlewares
2019-06-17 12:33:00 +06:00
Nikolay Kim
acda1c075a
prepare actix-web release
2019-06-17 12:23:30 +06:00
Nikolay Kim
686e5f1595
update deps
2019-06-16 22:10:22 +06:00
Nikolay Kim
7c0f570845
Do not compress NoContent (204) responses #918
2019-06-16 21:54:17 +06:00
Nikolay Kim
d7ec241fd0
re-export identity and cors middleware
2019-06-15 21:47:06 +06:00
Nikolay Kim
cd323f2ff1
Move cors middleware to actix-cors crate
2019-06-15 09:34:16 +06:00
Nikolay Kim
2ffda29f9b
Allow to test an app that uses async actors #897
2019-06-12 16:15:06 +06:00
Nikolay Kim
ff724e239d
move identity service separate crate
2019-06-12 15:52:48 +06:00
Nikolay Kim
a342b1289d
prep awc release
2019-06-05 08:14:00 +06:00
Nikolay Kim
38f04b75a7
update deps
2019-06-04 22:36:10 +06:00
Nikolay Kim
0e138e111f
add external resource support on scope level
2019-06-03 23:41:32 +06:00
Nikolay Kim
a1b40f4314
add license files
2019-06-01 17:25:29 +06:00
Nikolay Kim
c2d7db7e06
prepare actix-web-actors release
2019-05-29 16:22:57 -07:00
Nikolay Kim
3f196f469d
update version
2019-05-25 02:13:04 -07:00
Nikolay Kim
dea0e0a721
update actix-server dep
2019-05-18 11:00:33 -07:00
Nikolay Kim
0dda4b06ea
prepare release
2019-05-18 10:49:59 -07:00
Nikolay Kim
e8c8626878
update deps
2019-05-18 09:54:23 -07:00
Nikolay Kim
e1ff3bf8fa
fix resource match with params #841
2019-05-15 10:31:40 -07:00
Nikolay Kim
86b569e320
version
2019-05-12 11:56:01 -07:00
Nikolay Kim
36d017dcc6
update deps
2019-05-12 11:41:43 -07:00
Nikolay Kim
1ca58e876b
prepare beta4 release
2019-05-12 10:49:21 -07:00
Nikolay Kim
e9cbcbaf03
update dependencies
2019-05-12 10:18:02 -07:00
Nikolay Kim
07c9eec803
prepare awc release
2019-05-12 10:04:38 -07:00
Nikolay Kim
07b9707ca1
prepare actix-http release
2019-05-12 09:56:55 -07:00
Nikolay Kim
df08baf67f
update actix-net dependencies
2019-05-12 08:34:51 -07:00
Nikolay Kim
33b4c05557
add payload stream migration entry
2019-05-04 22:18:02 -07:00
Nikolay Kim
005c055a7f
prepare actix-web release
2019-05-04 20:05:20 -07:00
Nikolay Kim
5426413cb6
update dependencies
2019-04-24 13:00:30 -07:00
Nikolay Kim
42644dac3f
prepare actix-http-test release
2019-04-24 07:31:33 -07:00
Nikolay Kim
d2b0afd859
Fix http client pool and wait queue management
2019-04-23 14:57:03 -07:00