Remove native-tls from default feature set (#436)

This commit is contained in:
Niklas Mohrin 2025-09-22 16:06:36 +02:00 committed by GitHub
commit abb7e8ac55
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View file

@ -93,7 +93,7 @@ jobs:
toolchain: stable
targets: "${{ matrix.arch }}-apple-darwin"
- name: Build
run: cargo build --release --target ${{ matrix.arch }}-apple-darwin --no-default-features --features webpki-roots
run: cargo build --release --target ${{ matrix.arch }}-apple-darwin
- uses: actions/upload-artifact@v4
with:
name: "tealdeer-macos-${{ matrix.arch }}"

View file

@ -43,7 +43,8 @@ tempfile = "3.1.0"
filetime = "0.2.10"
[features]
default = ["native-tls", "rustls-with-webpki-roots", "rustls-with-native-roots"]
# native-tls is not enabled by default, because it is difficult to build for musl
default = ["rustls-with-webpki-roots", "rustls-with-native-roots"]
logging = ["env_logger"]
# At least one of variants for `ureq` HTTP client must be selected.