Skip to content

Commit

Permalink
Support disabling vendored OpenSSL while building
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun authored and snshn committed Sep 5, 2024
1 parent 1f60a76 commit 65ac5c3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ include = [
]
license = "CC0-1.0"

[features]
default = ["vendored-openssl"]
# Compile and statically link a copy of OpenSSL.
vendored-openssl = ["openssl/vendored"]

[dependencies]
atty = "0.2.14" # Used for highlighting network errors
base64 = "0.22.1" # Used for integrity attributes
Expand All @@ -34,7 +39,7 @@ markup5ever_rcdom = "0.3.0" # Used for manipulating DOM
percent-encoding = "2.3.1" # Used for encoding URLs
sha2 = "0.10.8" # Used for calculating checksums during integrity checks
url = "2.5.0" # Used for parsing URLs
openssl = { version = "0.10.64", features = ["vendored"] } # Used for making network requests
openssl = "0.10.64" # Used for making network requests

# Used for parsing srcset and NOSCRIPT
[dependencies.regex]
Expand Down

0 comments on commit 65ac5c3

Please sign in to comment.