1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-03-16 18:32:43 +01:00

3979 Commits

Author SHA1 Message Date
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
Riley
7933926b0b
Add opentelemetry 0.20 (#111)
* Add opentelemetry 0.20

* Update github workflow

* clippy nit
2023-08-05 17:59:20 +08:00
f8b7ca2a5a
Add request-id header example (#108)
* Add request-id header example

* Apply cargo fmt
2023-06-16 17:06:53 +02:00
Riley
20a85b2a08
Update to opentelemetry 0.19 (#105) 2023-05-24 08:56:29 +01:00
Luca Palmieri
3729bec62a (cargo-release) version 0.7.4 2023-04-13 08:47:44 +01:00
Luca Palmieri
33741a9a7f
Update lib.rs 2023-04-13 08:47:08 +01:00
Luca Palmieri
a5300fff36
Update README.md 2023-04-13 08:46:37 +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
Luca Palmieri
4527065248 (cargo-release) version 0.7.3 2023-03-19 11:22:27 +00:00
John Vandenberg
0fdbd40595
Expose StreamSpan (#99) 2023-03-19 11:21:45 +00:00
Joel
610465c5c8
fix minor typo in README.md (three -> these) (#100)
I'm not sure if this is correct but is what it is intended to say but I believe you've listed more than 3 feature flags. I'm still a bit of a rust noob so maybe there's another way to count these and there actually are three.
2023-03-07 15:08:55 +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
Rob Ede
1036f54fd0
update redis-async to 0.14 2023-01-07 01:09:34 +00:00
Rob Ede
e9428ba261
update env_logger dev dep 2023-01-07 01:08:01 +00:00
Rob Ede
779860b664
clippy 2023-01-07 01:04:16 +00:00
Rob Ede
6848312467
prettier markdown changelogs 2023-01-07 01:02:02 +00:00
Luca Palmieri
b3d8d43c60 (cargo-release) version 0.7.2 2023-01-06 09:38:18 +01:00
Luca Palmieri
b07f68c328 Require tracing 0.1.36 or above to prevent a compilation error 2023-01-06 09:37:55 +01:00
Peihao Yang
8c509151f1
add sentinel middleware to community crates (#312) 2023-01-05 14:36:31 +00:00
Luca Palmieri
ed1e608e4b (cargo-release) version 0.7.1 2022-12-23 12:03:35 +01:00
Harish Rajagopal
4007669c7a
Fixed version number in lib.rs (#96) 2022-12-23 12:02:21 +01:00
Luca Palmieri
125b40f909
Fix version 2022-12-23 11:29:12 +01:00
Harish Rajagopal
3692cba538
Fixed custom root span builder code in README (#95) 2022-12-23 11:28:46 +01:00
Harish Rajagopal
e888999e94
Fixed example for custom root span builder (#94) 2022-12-23 11:13:45 +01:00
Luca Palmieri
302aef6285 (cargo-release) version 0.7.0 2022-12-19 10:56:35 +01:00
Luca Palmieri
d23e48b4ee Clippy lints 2022-12-19 10:56:18 +01:00
Harish Rajagopal
8e5b09b379
Bound type-param of RootSpanBuilder::on_request_end (#93) 2022-12-19 10:54:32 +01:00
Yuki Okushi
1774b8a36e
Fix GHA deprecation warnings (#301) 2022-12-01 10:45:31 +00:00
aalhitennf
9508be94d5
Update README.md (#304) 2022-11-12 19:52:29 +00:00
aalhitennf
8e76c6c628
add bincode extractor lib to community crates (#303) 2022-11-12 13:26:16 +00:00