chore: use local cosmic-text checkout

This commit is contained in:
Lionel DARNIS 2026-05-25 11:34:38 +02:00
parent 6d61148ad8
commit 86feecfcae
2 changed files with 13 additions and 34 deletions

42
Cargo.lock generated
View file

@ -1349,7 +1349,7 @@ version = "1.0.14"
dependencies = [
"cosmic-files",
"cosmic-syntax-theme",
"cosmic-text 0.19.0 (registry+https://github.com/rust-lang/crates.io-index)",
"cosmic-text",
"dirs 6.0.0",
"env_logger",
"fork 0.2.0",
@ -1480,31 +1480,6 @@ dependencies = [
[[package]]
name = "cosmic-text"
version = "0.19.0"
dependencies = [
"bitflags 2.11.1",
"fontdb",
"harfrust",
"linebender_resource_handle",
"log",
"rangemap",
"rustc-hash 2.1.2",
"self_cell",
"skrifa",
"smol_str",
"swash",
"sys-locale",
"unicode-bidi",
"unicode-linebreak",
"unicode-script",
"unicode-segmentation",
"unicode-width",
]
[[package]]
name = "cosmic-text"
version = "0.19.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "be17b688510d934ce13f48a2beba700e11583e281e0fda99c22bb256a14eda73"
dependencies = [
"bitflags 2.11.1",
"cosmic_undo_2",
@ -1525,6 +1500,7 @@ dependencies = [
"unicode-linebreak",
"unicode-script",
"unicode-segmentation",
"unicode-width",
]
[[package]]
@ -1631,7 +1607,7 @@ checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5"
name = "cryoglyph"
version = "0.1.0"
dependencies = [
"cosmic-text 0.19.0",
"cosmic-text",
"etagere",
"lru",
"rustc-hash 2.1.2",
@ -3133,7 +3109,7 @@ version = "0.14.0"
dependencies = [
"bitflags 2.11.1",
"bytemuck",
"cosmic-text 0.19.0",
"cosmic-text",
"half",
"iced_core",
"iced_futures",
@ -3185,7 +3161,7 @@ name = "iced_tiny_skia"
version = "0.14.0"
dependencies = [
"bytemuck",
"cosmic-text 0.19.0",
"cosmic-text",
"iced_debug",
"iced_graphics",
"kurbo 0.10.4",
@ -9340,11 +9316,11 @@ dependencies = [
"winnow 1.0.3",
]
[[patch.unused]]
name = "winit-x11"
version = "0.31.0-beta.2"
[[patch.unused]]
name = "onig"
version = "7.0.0"
source = "git+https://github.com/rust-onig/rust-onig.git?branch=main#73e63eb3eea6d93d24a4aadf7fea580287750c7d"
[[patch.unused]]
name = "winit-x11"
version = "0.31.0-beta.2"

View file

@ -40,7 +40,7 @@ default-features = false
git = "https://github.com/pop-os/cosmic-syntax-theme.git"
[dependencies.cosmic-text]
version = "0.19"
path = "../cosmic-text"
features = ["syntect", "vi"]
# Yoda fork.
@ -77,3 +77,6 @@ onig_sys = { git = "https://github.com/rust-onig/rust-onig.git", branch = "main"
window_clipboard = { path = "/home/lionel/Projets/COSMIC/window_clipboard" }
dnd = { path = "/home/lionel/Projets/COSMIC/window_clipboard/dnd" }
mime = { path = "/home/lionel/Projets/COSMIC/window_clipboard/mime" }
[patch.'https://github.com/pop-os/cosmic-text.git']
cosmic-text = { path = "../cosmic-text" }