1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-06-26 18:37:41 +02:00
Commit Graph

22 Commits

Author SHA1 Message Date
48646d1bd3 build(deps): update derive_more to v1.0 (#458)
* build(deps): update derive_more to v1.0

* chore: remove overspecified deps

* chore: use from the derive module

* chore: restore unrelated version reqs

---------

Co-authored-by: Rob Ede <robjtede@icloud.com>
2024-08-18 14:21:56 +00:00
275675e1c2 docs(settings): fix doc test 2024-08-07 01:37:53 +01:00
50d2fee4e2 chore(actix-settings): prepare release 0.8.0 2024-08-07 01:32:49 +01:00
31b1dc5aa8 feature(settings): add TLS (#380)
* Complete the missing TLS feature.

* Make the `cfg` attributes more clear.

* Format the project issued by command `cargo +nightly fmt`.

* Small changes on cargo file.

* Update CHANGES.md.

* Add documentation for `Tls::get_ssl_acceptor_builder()` and remove unused imports.

* Add the `cfg` macro with required feature on `TLS` tests.

* Update actix-settings/src/settings/tls.rs

Co-authored-by: Rob Ede <robjtede@icloud.com>

* Copy the workflow steps related to OpenSSL for windows from [actix-web workflow](a7375b6876/.github/workflows/ci.yml (L38-L45)).

* ci: install openssl 1.1.1

* Replaced `apply_settings` with `try_apply_settings` for a better error handling.

* Updated the example.

* Add `OpenSSL` error.

* Restrict `OpenSSL` error only for `tls` feature.

* Rename feature `tls` to `openssl`.

* Add doc feature `broken_intra_doc_links` to `get_ssl_acceptor_builder` function.

---------

Co-authored-by: Rob Ede <robjtede@icloud.com>
2024-08-03 08:59:13 +00:00
023158cfa8 chore: move lints to manifest 2024-06-20 02:14:35 +01:00
31540f8e4b chore(actix-settings): prepare release 0.7.1 2023-11-03 20:30:00 +00:00
73b2aac6d6 make Settings::from_default_template infallible 2023-11-03 20:23:55 +00:00
76d9313171 Allow ActixSettings to be applied to HttpServer in actix-settings (#321)
* allow other settings objects to be applied

* update changelog

* update changelog

---------

Co-authored-by: LinuxHeki <linuxheki@gmail.com>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2023-11-03 20:16:31 +00:00
61f16c609a fix doc warnings 2023-11-03 20:00:56 +00:00
ecd2016c09 use standard attributes for all crates 2023-11-03 19:46:12 +00:00
0d27e3a65a feat(settings): impl Error for Error 2023-09-16 01:19:16 +01:00
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
779860b664 clippy 2023-01-07 01:04:16 +00:00
1561bda822 apply imports_granularity fmt rule 2022-09-11 21:55:40 +01:00
e61dbae860 rename AtError => Error (#275)
* refactor(settings)!: rename AtError => Error

and remove AtResult from public API

* update changelog

* recover from file metadata errors
2022-08-10 09:13:34 +01:00
b054733854 document settings crate (#271) 2022-07-31 20:12:19 +01:00
ab3f591307 fmt 2022-07-31 15:34:52 +01:00
c08cd8a23a add standard crate lints 2022-07-31 15:33:22 +01:00
da32c1bb49 rename settings modules 2022-07-31 15:30:50 +01:00
90766e5d68 use panics in tests for better diagnostics 2022-07-31 15:18:23 +01:00
f678842e46 modululize -settings 2022-07-31 15:10:22 +01:00
e13b62fc6b adopt actix-settings crate (#270)
* adopt actix-settings crate

* add licenses and readme addition

* revamp readme

* delete temp prettier file
2022-07-31 14:44:45 +01:00