Skip to content

Commit 9124d02

Browse files
authored
Upgrade cosmic-text to 0.13 (#815)
Signed-off-by: Nico Burns <[email protected]>
1 parent f8a32fc commit 9124d02

File tree

4 files changed

+17
-3
lines changed

4 files changed

+17
-3
lines changed

.github/workflows/ci.yml

+10-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,16 @@ jobs:
4444
- uses: actions/checkout@v4
4545
- uses: dtolnay/rust-toolchain@stable
4646
- run: cargo build --examples
47-
- run: cargo build -p cosmic-text-example
47+
48+
# cosmic_text example is excluded from the workspace as it breaks compilation of all crates
49+
# in the workspace with our MSRV compiler
50+
build-cosmic-text-example:
51+
name: "Build cosmic-text example"
52+
runs-on: ubuntu-latest
53+
steps:
54+
- uses: actions/checkout@v4
55+
- uses: dtolnay/rust-toolchain@stable
56+
- run: cd examples/cosmic_text && cargo build
4857

4958
# No features
5059
test-features-none:

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/target
22
/scripts/gentest/target
3+
/examples/cosmic_text/target
34
/yoga_test_fixtures
45
/yoga_test_fixtures_grouped
56
/test_fixtures/_scratch

Cargo.toml

+5-1
Original file line numberDiff line numberDiff line change
@@ -107,5 +107,9 @@ members = [
107107
"scripts/gentest",
108108
"scripts/format-fixtures",
109109
"scripts/import-yoga-tests",
110-
"benches", "examples/cosmic_text", "tests/common",
110+
"benches",
111+
"tests/common",
111112
]
113+
# The cosmic_text example is excluded from the workspace as including it breaks compilation
114+
# of all crates in the workspace with our MSRV compiler
115+
exclude = ["examples/cosmic_text"]

examples/cosmic_text/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ edition = "2021"
55

66
[dependencies]
77
taffy = { path = "../.." }
8-
cosmic-text = "0.12"
8+
cosmic-text = "0.13"

0 commit comments

Comments
 (0)