1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-27 17:22:57 +01:00
Commit Graph

3757 Commits

Author SHA1 Message Date
dependabot[bot]
7db43782ce
Bump taiki-e/install-action from 2.19.1 to 2.19.3 (#347)
Bumps [taiki-e/install-action](https://github.com/taiki-e/install-action) from 2.19.1 to 2.19.3.
- [Release notes](https://github.com/taiki-e/install-action/releases)
- [Changelog](https://github.com/taiki-e/install-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/taiki-e/install-action/compare/v2.19.1...v2.19.3)

---
updated-dependencies:
- dependency-name: taiki-e/install-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-03 15:56:59 +00:00
dependabot[bot]
1ee1afb2a6
Bump taiki-e/install-action from 2.18.17 to 2.19.1 (#345)
Bumps [taiki-e/install-action](https://github.com/taiki-e/install-action) from 2.18.17 to 2.19.1.
- [Release notes](https://github.com/taiki-e/install-action/releases)
- [Changelog](https://github.com/taiki-e/install-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/taiki-e/install-action/compare/v2.18.17...v2.19.1)

---
updated-dependencies:
- dependency-name: taiki-e/install-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-28 15:49:25 +00:00
dependabot[bot]
9e4754bbfa
Bump taiki-e/install-action from 2.18.16 to 2.18.17 (#344)
Bumps [taiki-e/install-action](https://github.com/taiki-e/install-action) from 2.18.16 to 2.18.17.
- [Release notes](https://github.com/taiki-e/install-action/releases)
- [Changelog](https://github.com/taiki-e/install-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/taiki-e/install-action/compare/v2.18.16...v2.18.17)

---
updated-dependencies:
- dependency-name: taiki-e/install-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-27 15:27:25 +00:00
dependabot[bot]
cd3e5f9772
Bump taiki-e/install-action from 2.18.15 to 2.18.16 (#341)
Bumps [taiki-e/install-action](https://github.com/taiki-e/install-action) from 2.18.15 to 2.18.16.
- [Release notes](https://github.com/taiki-e/install-action/releases)
- [Changelog](https://github.com/taiki-e/install-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/taiki-e/install-action/compare/v2.18.15...v2.18.16)

---
updated-dependencies:
- dependency-name: taiki-e/install-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-25 15:24:50 +00:00
dependabot[bot]
45ee50f9cb
Bump taiki-e/install-action from 2.18.14 to 2.18.15 (#340)
Bumps [taiki-e/install-action](https://github.com/taiki-e/install-action) from 2.18.14 to 2.18.15.
- [Release notes](https://github.com/taiki-e/install-action/releases)
- [Changelog](https://github.com/taiki-e/install-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/taiki-e/install-action/compare/v2.18.14...v2.18.15)

---
updated-dependencies:
- dependency-name: taiki-e/install-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-22 16:46:27 +00:00
dependabot[bot]
1d6ef8938f
Bump taiki-e/install-action from 2.18.13 to 2.18.14 (#339)
Bumps [taiki-e/install-action](https://github.com/taiki-e/install-action) from 2.18.13 to 2.18.14.
- [Release notes](https://github.com/taiki-e/install-action/releases)
- [Changelog](https://github.com/taiki-e/install-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/taiki-e/install-action/compare/v2.18.13...v2.18.14)

---
updated-dependencies:
- dependency-name: taiki-e/install-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-21 16:12:18 +00:00
dependabot[bot]
316c0d238d
Bump taiki-e/install-action from 2.18.11 to 2.18.13 (#338)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 16:20:41 +01:00
dependabot[bot]
5baa3c3d95
Bump taiki-e/cache-cargo-install-action from 1.2.1 to 1.2.2 (#337)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 16:20:24 +01:00
Rob Ede
2dea1f2748
docs: update dep shields 2023-09-16 07:52:18 +01:00
Rob Ede
09ff35bd2d
chore: fix tests for settings 2023-09-16 03:44:47 +01:00
Rob Ede
6caf37cedd
chore(actix-limitation): prepare release 0.5.1 2023-09-16 03:36:29 +01:00
Rob Ede
bafd8179ff
chore: fix actix web feature specs 2023-09-16 03:35:56 +01:00
Rob Ede
3fad53211a
chore(actix-limitation): prepare release 0.5.0 2023-09-16 03:29:58 +01:00
Rob Ede
9a7113028e
chore(actix-identity): prepare release 0.6.0 2023-09-16 03:29:31 +01:00
Rob Ede
9e31f5b306
chore(actix-session): prepare release 0.8.0 2023-09-16 03:28:31 +01:00
Rob Ede
94f99e4843
chore(actix-web-httpauth): prepare release 0.8.1 2023-09-16 03:14:40 +01:00
Rob Ede
600dda5ef3
chore: correct futures-util dep specs 2023-09-16 03:14:04 +01:00
Rob Ede
2a074ddf18
chore(actix-redis): prepare release 0.13.0 2023-09-16 03:07:34 +01:00
Rob Ede
9fc34a9c48
chore(actix-protobuf): prepare release 0.10.0 2023-09-16 03:07:01 +01:00
dependabot[bot]
f942d8a191
Update redis-async requirement from 0.14 to 0.16 (#336)
* Update redis-async requirement from 0.14 to 0.16

Updates the requirements on [redis-async](https://github.com/benashford/redis-async-rs) to permit the latest version.
- [Commits](https://github.com/benashford/redis-async-rs/commits)

---
updated-dependencies:
- dependency-name: redis-async
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* docs: update changelog

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2023-09-16 00:33:09 +00:00
dependabot[bot]
b737452294
Update redis requirement from 0.22 to 0.23 (#334)
* Update redis requirement from 0.22 to 0.23

Updates the requirements on [redis](https://github.com/redis-rs/redis-rs) to permit the latest version.
- [Release notes](https://github.com/redis-rs/redis-rs/releases)
- [Commits](https://github.com/redis-rs/redis-rs/compare/redis-0.22.0...redis-0.23.3)

---
updated-dependencies:
- dependency-name: redis
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* docs: update changelog

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2023-09-16 00:30:20 +00:00
Max Karou
55ace79d64
Implement From<Basic> for BasicAuth (#327)
* implement `From<Basic>` for `BasicAuth`

* update changelog

---------

Co-authored-by: Rob Ede <robjtede@icloud.com>
2023-09-16 00:27:50 +00:00
dependabot[bot]
c029287801
Update prost requirement from 0.11 to 0.12 (#333)
* Update prost requirement from 0.11 to 0.12

Updates the requirements on [prost](https://github.com/tokio-rs/prost) to permit the latest version.
- [Release notes](https://github.com/tokio-rs/prost/releases)
- [Commits](https://github.com/tokio-rs/prost/compare/prost-build-0.11.1...v0.12.1)

---
updated-dependencies:
- dependency-name: prost
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* docs: update changelog

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2023-09-16 00:25:08 +00:00
Rob Ede
0d27e3a65a
feat(settings): impl Error for Error 2023-09-16 01:19:16 +01:00
dependabot[bot]
257871ca7a
Update toml requirement from 0.5 to 0.8 (#335)
* Update toml requirement from 0.5 to 0.8

Updates the requirements on [toml](https://github.com/toml-rs/toml) to permit the latest version.
- [Commits](https://github.com/toml-rs/toml/compare/toml_datetime-v0.5.0...toml-v0.8.0)

---
updated-dependencies:
- dependency-name: toml
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* docs(settings): update changelog

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2023-09-15 23:59:19 +00:00
dependabot[bot]
d921417726
Bump JamesIves/github-pages-deploy-action from 3.7.1 to 4.4.3 (#330)
Bumps [JamesIves/github-pages-deploy-action](https://github.com/jamesives/github-pages-deploy-action) from 3.7.1 to 4.4.3.
- [Release notes](https://github.com/jamesives/github-pages-deploy-action/releases)
- [Commits](https://github.com/jamesives/github-pages-deploy-action/compare/3.7.1...v4.4.3)

---
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-15 23:54:21 +00:00
dependabot[bot]
70b46280ed
Bump actions/checkout from 3 to 4 (#332)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-15 23:54:02 +00:00
dependabot[bot]
55d70231cc
Bump taiki-e/install-action from 2.18.9 to 2.18.11 (#329)
Bumps [taiki-e/install-action](https://github.com/taiki-e/install-action) from 2.18.9 to 2.18.11.
- [Release notes](https://github.com/taiki-e/install-action/releases)
- [Changelog](https://github.com/taiki-e/install-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/taiki-e/install-action/compare/v2.18.9...v2.18.11)

---
updated-dependencies:
- dependency-name: taiki-e/install-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-15 23:43:34 +00:00
Rob Ede
aaedb9c625
MSRV 1.68 (#328) 2023-09-16 00:30:38 +01:00
Rob Ede
75386f4a1d
ensure docs.rs builds all crates with all features 2023-04-11 12:22:28 +01:00
Rob Ede
8a31f3020e
revert local-network change
see https://github.com/actix/actix-extras/pull/320#issuecomment-1501189129
2023-04-09 19:56:43 +01:00
Rob Ede
8c93f5314b
update readme crate versions 2023-04-09 19:47:57 +01:00
Rob Ede
f37c93a2a8
migrate to doc_auto_cfg 2023-04-09 19:41:57 +01:00
Rob Ede
111d95eaea
rename private-network-access feature (#320)
* update CI with concurrency options

* cors: rename private-network => local-network

* modernize CI

* clippy

* run api diff job on all features
2023-04-09 19:35:30 +01:00
Rob Ede
8729f60f79
fix CI MSRV 2023-03-23 12:15:25 +00:00
Rob Ede
77ee27b4ae
inline workspace package properties
msrv needs to be 1.64
2023-03-23 11:40:54 +00:00
Rob Ede
b948ac9f7a
fix MSRV in CI 2023-03-23 10:53:54 +00:00
Rob Ede
ad1f15eb18
centralize msrv and edition specs 2023-03-22 21:17:30 +00:00
Rob Ede
8a9c604c03
update msrv to 1.60
promted by prost 0.11.8
2023-03-22 21:13:56 +00:00
Rob Ede
218f18e69d
fix default features attributes 2023-03-22 20:51:14 +00:00
citreae535
2bc16eee18
Update base64 dependency to 0.21 (#316) 2023-01-30 16:53:30 +00:00
Jacobtread
713b157fd4
Corrected actix-form-data community crate details (#314) 2023-01-13 10:43:52 +00:00
Rob Ede
bf49b39740
use secure tokio version range
see RUSTSEC-2023-0001

part of actix/actix-web#2962
2023-01-10 09:03:27 +00:00
Rob Ede
441d604c00
derive identity error impls 2023-01-07 02:22:13 +00:00
Joseph McCormick
1ed893a08c
Feature: Add IdentityError to actix-identity crate. (#296)
* Add IdentityError to actix-identity crate.

In order to let crates in the actix web ecosystem interact correctly
with `actix_web::Error`, this commit introduces its own error type,
replacing the previous usage of `anyhow::Error`.

* Mend some clippy warnings on IdentityError.

* Split identity error into more granular versions.

- `MissingIdentityError` occurs whenever we attempt to gather
  information about an identity from a session, and fail.
- `LoginError` occurs whenever we attempt to login via an identity, and
  fail.

* Feedback for identity error implementation.

- `IdentityError` -> `GetIdentityError`
- Move error messages into Display impl where appropriate
- Split `id` and `get_identity` errors into two types
- Implement `source` on custom errors

* Expand identity error types with struct markers.

In order to get a little more future compatibility and reduce
abstraction leaking, this commit introduces some contextual structs to
our identity errors package.

* Improve doc message for SessionExpiryError.

Co-authored-by: Luca Palmieri <20745048+LukeMathWalker@users.noreply.github.com>

* Improve identity error docs and messaging.

Co-authored-by: Luca Palmieri <20745048+LukeMathWalker@users.noreply.github.com>

* Expand LostIdentityError with placeholder.

Adds a placeholder unit struct to the LostIdentityError variant of
GetIdentityError, which should let us expand on that variant with extra
context later if we like.

* Add From coercion for LostIdentityError.

Improve the ergonomics of using the LostIdentityError unit struct.

* Update Cargo.toml

* Update CHANGES.md

* expose identity error module

* fix error impl

Co-authored-by: Luca Palmieri <20745048+LukeMathWalker@users.noreply.github.com>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2023-01-07 02:05:12 +00:00
Rob Ede
708aa945dc
workaround msrv issues fix 2023-01-07 01:57:03 +00:00
Rob Ede
9be4f1ff73
workaround dev dep msrv issues 2023-01-07 01:38:07 +00:00
Rob Ede
f8a1165d10
fix manifest 2023-01-07 01:17:45 +00:00
Rob Ede
d9175a0399
update base64 dep to 0.20 2023-01-07 01:16:14 +00:00
Rob Ede
fe4d3d366d
Update redis dependency to 0.22 2023-01-07 01:15:26 +00:00