Skip to content

Commit

Permalink
fix: Set default-features=false for reqwest
Browse files Browse the repository at this point in the history
fixes #335 .

Otherwise, reqwest will always use default-tls which is the native-tls even if jsonschema `reqwest-rustls-tls` feature is specified.
  • Loading branch information
jqnatividad authored Jan 23, 2022
1 parent c37d22f commit ad4eeb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jsonschema/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down

0 comments on commit ad4eeb9

Please sign in to comment.