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>
38 lines
880 B
TOML
38 lines
880 B
TOML
[package]
|
|
name = "actix-settings"
|
|
version = "0.7.1"
|
|
authors = [
|
|
"Joey Ezechiels <joey.ezechiels@gmail.com>",
|
|
"Rob Ede <robjtede@icloud.com>",
|
|
]
|
|
description = "Easily manage Actix Web's settings from a TOML file and environment variables"
|
|
repository.workspace = true
|
|
homepage.workspace = true
|
|
license.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[package.metadata.docs.rs]
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[features]
|
|
openssl = ["dep:openssl", "actix-web/openssl"]
|
|
|
|
[dependencies]
|
|
actix-http = "3"
|
|
actix-service = "2"
|
|
actix-web = { version = "4", default-features = false }
|
|
derive_more = "0.99.7"
|
|
once_cell = "1.13"
|
|
openssl = { version = "0.10", features = ["v110"], optional = true }
|
|
regex = "1.5"
|
|
serde = { version = "1", features = ["derive"] }
|
|
toml = "0.8"
|
|
|
|
[dev-dependencies]
|
|
actix-web = "4"
|
|
env_logger = "0.11"
|
|
|
|
[lints]
|
|
workspace = true
|