Skip to content

Commit ebdec2a

Browse files
ianthetechienyurik
andauthored
Switch to Prost (#22)
* Switch to tokio prost for protobuf * Remove unneeded deps * Version bumps; fix some positive silliness in Cargo.toml * Fix more Cargo.toml shenanigans * Add protobuf-src to build protoc as part of the build script * Better constructor usage; pre-alloc the glyph vector * Use vendored binary on Windows * Fix feature flagging * Try again? * And again... ;) * cargo fmt * Fix use of --all-features * spawn blocking where relevant * Update pbf_font_tools/Cargo.toml Co-authored-by: Yuri Astrakhan <[email protected]> * Update pbf_font_tools/src/error.rs Co-authored-by: Yuri Astrakhan <[email protected]> * Detect unusual configurations in the build script * Use default features for cargo semver checks * Bump version refs for release --------- Co-authored-by: Yuri Astrakhan <[email protected]>
1 parent 20a176a commit ebdec2a

File tree

15 files changed

+262
-215
lines changed

15 files changed

+262
-215
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ jobs:
2626
uses: actions/checkout@v4
2727
- name: Check semver
2828
uses: obi1kenobi/cargo-semver-checks-action@v2
29+
with:
30+
feature-group: default-features
2931

3032
test:
3133
name: Run CI
@@ -44,13 +46,13 @@ jobs:
4446
run: cargo fmt --all -- --check
4547

4648
- name: Test Debug
47-
run: cargo test --workspace --all-features --locked
49+
run: cargo test --workspace --features freetype --locked
4850

4951
- name: Test Release
50-
run: cargo test --workspace --release --all-features --locked
52+
run: cargo test --workspace --release --features freetype --locked
5153

5254
- name: Lint
53-
run: cargo clippy --workspace --all-targets --all-features -- -D warnings
55+
run: cargo clippy --workspace --all-targets --features freetype -- -D warnings
5456

5557
- name: Test docs
5658
run: |
@@ -85,4 +87,4 @@ jobs:
8587
run: rustc --version && cargo --version
8688

8789
- name: Run tests
88-
run: cargo test --workspace --all-features --locked
90+
run: cargo test --workspace --features freetype --locked

0 commit comments

Comments
 (0)