fix: Set default-features=false for reqwest

fixes #335 .

Otherwise, reqwest will always use default-tls which is the native-tls even if jsonschema `reqwest-rustls-tls` feature is specified.
This commit is contained in:
Joel Natividad 2022-01-23 07:24:30 -05:00 committed by GitHub
parent c37d22fadc
commit ad4eeb9da5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ num-cmp = ">= 0.1"
parking_lot = ">= 0.1"
percent-encoding = "2"
regex = "1"
reqwest = { version = ">= 0.10", features = ["blocking", "json"], optional = true }
reqwest = { version = ">= 0.10", features = ["blocking", "json"], default-features = false, optional = true }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
structopt = { version = ">= 0.3", optional = true }