mirror of
https://github.com/ntex-rs/ntex-extras.git
synced 2025-04-06 22:37:41 +03:00
add rustls support for actix-http and awc (#998)
* add rustls support for actix-http and awc * fix features conflict * remove unnecessary duplication * test server with rust-tls * fix * test rustls * awc rustls test * format * tests * fix dependencies * fixes and add changes * remove test-server and Cargo.toml dev-dependencies changes * cargo fmt
This commit is contained in:
parent
0d9ea41047
commit
cb19ebfe0c
21 changed files with 1317 additions and 674 deletions
|
@ -20,6 +20,7 @@ fn no_params() -> &'static str {
|
|||
"Hello world!\r\n"
|
||||
}
|
||||
|
||||
#[cfg(feature = "uds")]
|
||||
fn main() -> std::io::Result<()> {
|
||||
std::env::set_var("RUST_LOG", "actix_server=info,actix_web=info");
|
||||
env_logger::init();
|
||||
|
@ -47,3 +48,6 @@ fn main() -> std::io::Result<()> {
|
|||
.workers(1)
|
||||
.run()
|
||||
}
|
||||
|
||||
#[cfg(not(feature = "uds"))]
|
||||
fn main() {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue