mirror of
https://github.com/actix/actix-extras.git
synced 2025-02-25 03:23:20 +01:00
* 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>
32 lines
1.2 KiB
Markdown
32 lines
1.2 KiB
Markdown
# actix-settings
|
|
|
|
> Easily manage Actix Web's settings from a TOML file and environment variables.
|
|
|
|
<!-- prettier-ignore-start -->
|
|
|
|
[](https://crates.io/crates/actix-settings)
|
|
[](https://docs.rs/actix-settings/0.7.1)
|
|

|
|
[](https://deps.rs/crate/actix-settings/0.7.1)
|
|
|
|
<!-- prettier-ignore-end -->
|
|
|
|
## Documentation & Resources
|
|
|
|
- [API Documentation](https://docs.rs/actix-settings)
|
|
- [Usage Example][usage]
|
|
- Minimum Supported Rust Version (MSRV): 1.57
|
|
|
|
### Custom Settings
|
|
|
|
There is a way to extend the available settings. This can be used to combine the settings provided by Actix Web and those provided by application server built using `actix`.
|
|
|
|
Have a look at [the usage example][usage] to see how.
|
|
|
|
## Special Thanks
|
|
|
|
This crate was made possible by support from Accept B.V and [@jjpe].
|
|
|
|
[usage]: https://github.com/actix/actix-extras/blob/master/actix-settings/examples/actix.rs
|
|
[@jjpe]: https://github.com/jjpe
|