Add new enum TLSVersion which impl ArgEnum

and can be converted to `reqwest::tls::Version`

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2022-06-22 19:00:02 +10:00
parent 8e92db3dc6
commit eb7d460a9a
No known key found for this signature in database
GPG key ID: 591C0B03040416D6
2 changed files with 20 additions and 0 deletions

View file

@ -27,6 +27,9 @@ mod stream_readable;
mod path_ext;
pub use path_ext::*;
mod tls_version;
pub use tls_version::TLSVersion;
/// Load binstall metadata from the crate `Cargo.toml` at the provided path
pub fn load_manifest_path<P: AsRef<Path>>(
manifest_path: P,