mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-23 23:51:06 +01:00
31b1dc5aa8
* 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>
1.4 KiB
1.4 KiB
Changes
Unreleased
- Add new feature named
openssl
for TLS settings usingOpenSSL
dependency. #380 - Add new function
settings::tls::Tls::get_ssl_acceptor_builder()
to buildopenssl::ssl::SslAcceptorBuilder
. #380 - Implement TLS logic for
ApplySettings<S>::try_apply_settings()
. #380 - Add
openssl
dependency; - Minimum supported Rust version (MSRV) is now 1.75.
ApplySettings<S>::apply_settings()
is deprecated;ApplySettings<S>::try_apply_settings()
should be preferred. #380
0.7.1
- Fix doc examples.
0.7.0
- The
ApplySettings
trait now includes a type parameter, allowing multiple types to be implemented per configuration target. - Implement
ApplySettings
forActixSettings
. BasicSettings::from_default_template()
is now infallible.- Rename
AtError => Error
. - Remove
AtResult
type alias. - Update
toml
dependency to0.8
. - Remove
ioe
dependency;std::io::Error
is now used directly. - Remove
Clone
implementation forError
. - Implement
Display
forError
. - Implement std's
Error
forError
. - Minimum supported Rust version (MSRV) is now 1.68.
0.6.0
- Update Actix Web dependencies to v4 ecosystem.
- Rename
actix.ssl
settings object toactix.tls
. NoSettings
is now marked#[non_exhaustive]
.
0.5.2
- Adopted into @actix org from https://github.com/jjpe/actix-settings.