mirror of
https://github.com/seemueller-io/hyper-custom-cert.git
synced 2025-09-08 22:46:45 +00:00
Bump version to 0.1.1 and reformat feature combination macro for readability.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "hyper-custom-cert"
|
name = "hyper-custom-cert"
|
||||||
version = "0.1.0"
|
version = "0.1.1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "A small, ergonomic HTTP client wrapper around hyper with optional support for custom Root CAs and a dev-only insecure mode for self-signed certificates."
|
description = "A small, ergonomic HTTP client wrapper around hyper with optional support for custom Root CAs and a dev-only insecure mode for self-signed certificates."
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
|
@@ -9,7 +9,11 @@ use hyper_custom_cert::HttpClient;
|
|||||||
all(feature = "rustls", feature = "insecure-dangerous"),
|
all(feature = "rustls", feature = "insecure-dangerous"),
|
||||||
all(feature = "native-tls", feature = "insecure-dangerous"),
|
all(feature = "native-tls", feature = "insecure-dangerous"),
|
||||||
not(any(feature = "rustls", feature = "insecure-dangerous")),
|
not(any(feature = "rustls", feature = "insecure-dangerous")),
|
||||||
all(feature = "native-tls", feature = "rustls", feature = "insecure-dangerous")
|
all(
|
||||||
|
feature = "native-tls",
|
||||||
|
feature = "rustls",
|
||||||
|
feature = "insecure-dangerous"
|
||||||
|
)
|
||||||
))]
|
))]
|
||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
use std::time::Duration;
|
use std::time::Duration;
|
||||||
|
Reference in New Issue
Block a user