mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2026-02-02 07:35:10 +01:00
chore: enable libcurl by default
This commit is contained in:
parent
ae8951c935
commit
d76d683fd7
2 changed files with 3 additions and 2 deletions
4
.github/workflows/build.yaml
vendored
4
.github/workflows/build.yaml
vendored
|
|
@ -68,14 +68,14 @@ jobs:
|
||||||
- name: build
|
- name: build
|
||||||
if: ${{ matrix.cross != true}}
|
if: ${{ matrix.cross != true}}
|
||||||
run:
|
run:
|
||||||
cargo build --release --all-features --locked --target ${{ matrix.target }}
|
cargo build --release --locked --target ${{ matrix.target }}
|
||||||
|
|
||||||
- name: build (cross)
|
- name: build (cross)
|
||||||
if: ${{ matrix.cross == true}}
|
if: ${{ matrix.cross == true}}
|
||||||
# cross 0.2.5 broken for android
|
# cross 0.2.5 broken for android
|
||||||
run: |
|
run: |
|
||||||
cargo install cross --locked --git https://github.com/cross-rs/cross --rev 99b8069c0d977a14cd421ad8a3ef3255dc5802be
|
cargo install cross --locked --git https://github.com/cross-rs/cross --rev 99b8069c0d977a14cd421ad8a3ef3255dc5802be
|
||||||
cross build --release --locked --target ${{ matrix.target }}
|
cross build --release --no-default-features --locked --target ${{ matrix.target }}
|
||||||
|
|
||||||
- name: package deb
|
- name: package deb
|
||||||
if: ${{ matrix.deb == true }}
|
if: ${{ matrix.deb == true }}
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,7 @@ textwrap = { version = "0.16", features = ["terminal_size"] }
|
||||||
curl = { version = "0.4", optional = true }
|
curl = { version = "0.4", optional = true }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
|
default = ["libcurl"]
|
||||||
# linking to libcurl dynamically requires openssl when compiling and
|
# linking to libcurl dynamically requires openssl when compiling and
|
||||||
# complicates cross compilation
|
# complicates cross compilation
|
||||||
libcurl = ["dep:curl"]
|
libcurl = ["dep:curl"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue