Updating kludgine and figures

This commit is contained in:
Jonathan Johnson 2024-07-22 08:06:03 -07:00
parent 66b37bb88d
commit 3de9d0597f
No known key found for this signature in database
GPG key ID: A66D6A34D6620579
3 changed files with 26 additions and 17 deletions

View file

@ -12,8 +12,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Breaking Changes
- Dependency `kludgine` has been updated to `v0.9.0`, which updates Cushy to
`wgpu` v22.0.0. This change has raised Cushy's minimum supported Rust version
(MSRV) to `1.79.0`.
`wgpu v22.0.0` and `cosmic-text v0.12.0`.
- At some point, a dependency of the current `image` dependency has been updated
with a minimum supported Rust version (MSRV) of `1.79.0`. This is Cushy's new
MSRV to reflect this requirement.
- `Source::for_each_*` now invoke the callback with the current contents of of
the source before attaching the callback. New functions beginning with
`for_each_subsequent_` have been added with the original behavior.

35
Cargo.lock generated
View file

@ -584,21 +584,21 @@ dependencies = [
[[package]]
name = "cosmic-text"
version = "0.11.2"
version = "0.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c578f2b9abb4d5f3fbb12aba4008084d435dc6a8425c195cfe0b3594bfea0c25"
checksum = "70b7eecd441fdfc092d6afcb4d00a521ee6d3dc3ad882575ce13bf38be53fb71"
dependencies = [
"bitflags 2.6.0",
"fontdb",
"libm",
"log",
"rangemap",
"rayon",
"rustc-hash",
"rustybuzz",
"self_cell",
"swash",
"sys-locale",
"ttf-parser 0.20.0",
"ttf-parser 0.21.1",
"unicode-bidi",
"unicode-linebreak",
"unicode-script",
@ -837,8 +837,9 @@ dependencies = [
[[package]]
name = "figures"
version = "0.3.0"
source = "git+https://github.com/khonsulabs/figures#ec4ad98226cdff307e8939bf30e88755d0e4f005"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "03202a3576f662d11a8fe13ce5677c80b4fa2e8366ee77dfe42a187e2e23428e"
dependencies = [
"bytemuck",
"euclid",
@ -1295,7 +1296,7 @@ checksum = "e2db585e1d738fc771bf08a151420d3ed193d9d895a36df7f6f8a9456b911ddc"
[[package]]
name = "kludgine"
version = "0.8.0"
source = "git+https://github.com/khonsulabs/kludgine#185d4596ae8194553ac06da89f6a6919201b3af8"
source = "git+https://github.com/khonsulabs/kludgine#a0e34054a060ffe1f5b2b8062c2aad566f8e1e2d"
dependencies = [
"ahash",
"alot",
@ -2549,15 +2550,15 @@ dependencies = [
[[package]]
name = "rustybuzz"
version = "0.12.1"
version = "0.14.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f0ae5692c5beaad6a9e22830deeed7874eae8a4e3ba4076fb48e12c56856222c"
checksum = "cfb9cf8877777222e4a3bc7eb247e398b56baba500c38c1c46842431adc8b55c"
dependencies = [
"bitflags 2.6.0",
"bytemuck",
"libm",
"smallvec",
"ttf-parser 0.20.0",
"ttf-parser 0.21.1",
"unicode-bidi-mirroring",
"unicode-ccc",
"unicode-properties",
@ -3047,6 +3048,12 @@ version = "0.20.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "17f77d76d837a7830fe1d4f12b7b4ba4192c1888001c7164257e4bc6d21d96b4"
[[package]]
name = "ttf-parser"
version = "0.21.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2c591d83f69777866b9126b24c6dd9a18351f177e49d625920d19f989fd31cf8"
[[package]]
name = "ttf-parser"
version = "0.24.0"
@ -3061,15 +3068,15 @@ checksum = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75"
[[package]]
name = "unicode-bidi-mirroring"
version = "0.1.0"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "56d12260fb92d52f9008be7e4bca09f584780eb2266dc8fecc6a192bec561694"
checksum = "23cb788ffebc92c5948d0e997106233eeb1d8b9512f93f41651f52b6c5f5af86"
[[package]]
name = "unicode-ccc"
version = "0.1.2"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cc2520efa644f8268dce4dcd3050eaa7fc044fca03961e9998ac7e2e92b77cf1"
checksum = "1df77b101bcc4ea3d78dafc5ad7e4f58ceffe0b2b16bf446aeb50b6cb4157656"
[[package]]
name = "unicode-ident"

View file

@ -25,7 +25,7 @@ tokio-multi-thread = ["tokio", "tokio/rt-multi-thread"]
kludgine = { git = "https://github.com/khonsulabs/kludgine", features = [
"app",
] }
figures = { git = "https://github.com/khonsulabs/figures" }
figures = { version = "0.4.0" }
alot = "0.3"
interner = "0.2.1"
kempt = "0.2.1"