1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-06-26 10:27:42 +02:00
Commit Graph

63 Commits

Author SHA1 Message Date
56051786a6 standardize future types to ones from actix_utils 2021-12-08 07:29:12 +00:00
ec66754c0d standardize crate level lints 2021-12-08 06:11:13 +00:00
37532fd1eb prepare actix-identity release 0.4.0-beta.4 2021-11-22 23:20:33 +00:00
13f8dcb717 update to aw beta 9 2021-11-22 23:11:58 +00:00
0999159877 prepare actix-identity release 0.4.0-beta.3 2021-10-21 18:30:03 +01:00
c6edb2a48a prepare actix-session release 0.5.0-beta.3 2021-10-21 17:37:00 +01:00
545873b5b2 update actix-web dependencies to v4 beta.10 (#203)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-10-21 14:10:00 +01:00
627fe96be0 bump msrv to 1.52.1 2021-10-19 01:49:39 +01:00
e10937103e fmt with new width 2021-08-30 23:27:44 +01:00
c6f579790f bump msrv to 1.51 2021-08-30 23:10:36 +01:00
44c7b07ce2 prepare second beta round (#189) 2021-06-27 07:28:26 +01:00
20ef05c36e fix doctest ci (#188) 2021-06-27 07:02:38 +01:00
8741cd32cc Minor README fixes (#174) 2021-04-09 14:39:50 +01:00
bb1cc7443f prepare identity release 0.4.0-beta.1 2021-04-02 11:44:03 +01:00
0ba14f786e prepare session release 0.5.0-beta.1 2021-04-02 11:31:30 +01:00
23912afd49 refactor identity (#168) 2021-03-23 05:05:03 +00:00
c7df62d0b6 simplify ci like actix-web (#165) 2021-03-22 11:46:02 +00:00
c8f1d9671c add upgrade -web hints in changelogs 2021-03-22 05:24:35 +00:00
7d0df351e0 normalize time deps to secure versions 2021-03-22 05:20:10 +00:00
2254a429d4 use forward_ready for service definitions 2021-03-22 05:18:59 +00:00
ca85f6b245 Update dependencies (Tokio 1.0) (#144) 2021-03-21 22:50:26 +00:00
5a72dd33d5 session, redis, and httpauth pre-v4 releases (#162) 2021-03-21 09:38:29 +00:00
f970d90894 Use re-exported bytes items from instead of using them directly (#139) 2020-12-01 10:21:56 +09:00
0f7a147323 Unify homepage/repository urls in Cargo manifests (#111) 2020-10-03 01:32:01 +01:00
03ccf09e2e prepare identity 0.3.1 release (#104) 2020-09-21 23:05:40 +01:00
6ae147d190 add CookieIdentityPolicy::http_only method (#102) 2020-09-17 18:10:27 +01:00
4a546718aa prepare v3 compatible releases (#95) 2020-09-11 21:22:55 +01:00
bad5f32a68 update all packages to use actix-web v3 (#94) 2020-09-11 16:26:15 +01:00
7e6bdf2eb2 Check code with rustfmt not to introduce format commits (#88) 2020-07-21 03:51:51 +09:00
2ae3c80548 Use OR instead of deprecated / in license field (#80) 2020-07-14 11:16:32 +01:00
2a20ce4568 Replace deprecated from_master with derive_from (#82) 2020-07-14 11:15:30 +01:00
bd963fb7d1 Fix clippy warnings 2020-07-07 03:54:18 +09:00
923cb7bcd2 Bump up MSRV to 1.40.0 2020-05-17 11:34:00 +09:00
fd2cc47447 fix noisy check warning 2020-04-05 00:27:08 +01:00
066fb3a1b5 Fix cargo package link title in README 2020-03-22 10:35:56 +02:00
00f520cd2d Fix clippy warnings 2020-03-18 06:34:32 +09:00
79dc7fcaff Update actix-redis' dependencies (#24)
* Update actix-redis's dependencies

* Change `chrono::Duration` to `time::Duration` in the docs

* Remove unneeded comment

* Update CHANGES.md
2020-03-15 16:54:35 +09:00
dd7ee27388 Bump up to 0.3.0-alpha.1 2020-03-15 06:15:22 +09:00
a3ebc8ca66 Minimize futures dependency 2020-03-15 05:44:29 +09:00
570209c1b1 identity: Update actix-web dependency to 3.0.0-alpha.1 2020-03-13 06:01:39 +09:00
90e00f7344 fix badge links 2020-01-30 01:50:18 +00:00
cfb436a363 unify {cors,identity,session} readmes 2020-01-30 01:42:01 +00:00
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
f6ff056b8a Fix panic with already borrowed: BorrowMutError #1263 2020-01-10 11:26:54 +06:00
f86ce0390e allow to specify multi pattern for resources 2019-12-25 20:14:44 +04:00
c7f3915779 update actix-service dep 2019-12-22 16:39:25 +04:00
48476362a3 update changes 2019-12-20 17:59:34 +06:00
8b8a9a995d bump ver 2019-12-20 17:36:48 +06:00
fac6dec3c9 update deps 2019-12-13 12:36:15 +06:00
131c897099 upgrade to actix-net release 2019-12-11 19:20:20 +06:00