From 230080afcb02f591df34a9785b012f154ce85dee Mon Sep 17 00:00:00 2001 From: Martin Robinson Date: Mon, 17 Jun 2024 11:13:53 +0200 Subject: [PATCH] Upgrade `freetype-sys` to version 0.21 --- .github/workflows/main.yml | 14 +++++++------- harfbuzz-sys/Cargo.toml | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 27db6dab..1d0c3d0d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,11 +17,11 @@ jobs: - uses: actions/checkout@v4 with: submodules: true - - - name: install harfbuzz from apt + + - name: Install harfbuzz from apt run: | sudo apt update - sudo apt install libharfbuzz-dev + sudo apt install libharfbuzz-dev libfreetype-dev - name: Install stable toolchain uses: dtolnay/rust-toolchain@stable @@ -54,16 +54,16 @@ jobs: # do this where the embedded harfbuzz is statically linked, but we don't # need to do it for every environment. - name: Cargo package - run: cargo package --manifest-path=harfbuzz-sys/Cargo.toml --features bundled + run: cargo package --manifest-path=harfbuzz-sys/Cargo.toml --features "freetype-sys/bundled bundled" - name: Cargo build - run: cargo build --workspace --features bundled + run: cargo build --workspace --features "freetype-sys/bundled bundled" - name: Cargo clippy - run: cargo clippy --workspace --features bundled -- -D warnings + run: cargo clippy --workspace --features "freetype-sys/bundled bundled" -- -D warnings - name: Cargo test - run: cargo test --workspace --features bundled + run: cargo test --workspace --features "freetype-sys/bundled bundled":w env: RUST_BACKTRACE: 1 diff --git a/harfbuzz-sys/Cargo.toml b/harfbuzz-sys/Cargo.toml index 83ca0789..d9ddf779 100644 --- a/harfbuzz-sys/Cargo.toml +++ b/harfbuzz-sys/Cargo.toml @@ -37,7 +37,7 @@ optional = true features = ["Win32_Graphics_DirectWrite"] [dependencies.freetype-sys] -version = "0.20.1" +version = "0.21.0" optional = true [features]