Repository: cargo-prebuilt/cargo-prebuilt (language: rust)

Issue:
Switch to rustls (ring) for default build
Since ring 17 came out and added support for many more platforms.


Discussion / hints:

Fix patch:
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index abbaa58..3c24065 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -31,7 +31,7 @@ permissions: { }
 
 env:
   bin-name: cargo-prebuilt
-  feature-set: '--no-default-features --features default-native'
+  feature-set: ''
   CARGO_TERM_COLOR: always
 
 defaults:
diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml
index dd9517a..5fac9ab 100644
--- a/.github/workflows/checks.yml
+++ b/.github/workflows/checks.yml
@@ -34,7 +34,7 @@ on:
 permissions: { }
 
 env:
-  feature-set: '--no-default-features --features default-native'
+  feature-set: ''
   hack-group: "--group-features default,default-native,default-rustls,\
     default-no-tls,rustls,rustls-native-certs,native,vendored-openssl"
   CARGO_TERM_COLOR: never
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index e97bd1f..827fc9e 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -13,7 +13,7 @@ permissions:
 
 env:
   bin-name: cargo-prebuilt
-  feature-set: '--no-default-features --features default-native'
+  feature-set: ''
   hack-group: "--group-features default,default-native,default-rustls,\
     default-no-tls,rustls,rustls-native-certs,native,vendored-openssl"
   cache: false
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1487ddf..3b4ae83 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,7 @@
 
 - Switch from hex to const-hex.
 - Remove --gen-config.
+- Switch to rustls for default build.
 
 ## [0.6.8](https://github.com/cargo-prebuilt/cargo-prebuilt/releases/tag/v0.6.8)
 
diff --git a/Cargo.toml b/Cargo.toml
index 1af8d56..58faee5 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -47,7 +47,7 @@ ureq = { version = "2.9.6", default-features = false, features = [
 ] }
 
 [features]
-default = ["vendored-openssl", "default-native"]
+default = ["default-rustls"]
 default-native = ["native", "default-no-tls"]
 default-rustls = ["rustls", "default-no-tls"]
 default-no-tls = ["indexes", "security", "color"]
diff --git a/README.md b/README.md
index a3c39ef..9f97beb 100644
--- a/README.md
+++ b/README.md
@@ -55,15 +55,7 @@ Need help? Try: ```cargo prebuilt --help``` or see [Config Info](docs/CONFIG.md)
 
 (Cargo prebuilt requires a tls feature)
 
-### vendored-openssl (default)
-
-```cargo install cargo-prebuilt```
-
-### native tls (GitHub releases default)
-
-```cargo install cargo-prebuilt --no-default-features --features default-native```
-
-### rustls
+### rustls (default)
 
 ```cargo install cargo-prebuilt --no-default-features --features default-rustls```
 
@@ -71,6 +63,13 @@ Need help? Try: ```cargo prebuilt --help``` or see [Config Info](docs/CONFIG.md)
 
 ```cargo install cargo-prebuilt --no-default-features --features default-rustls,rustls-native-certs```
 
+### vendored-openssl
+
+```cargo install cargo-prebuilt```
+
+### native tls
+```cargo install cargo-prebuilt --no-default-features --features default-native```
+
 ### limit security used
 
 (Cargo prebuilt is tested with default features and may break without the


Test patch: