Skip to content

Commit

Permalink
Use cosmic_undo_2 instead of undo_2 for improved compiler support
Browse files Browse the repository at this point in the history
  • Loading branch information
jackpot51 committed Nov 15, 2023
1 parent 56f71ef commit 6ae333d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ repository = "https://github.com/pop-os/cosmic-text"
rust-version = "1.65"

[dependencies]
cosmic_undo_2 = { version = "0.2.0", optional = true }
fontdb = { version = "0.15.0", default-features = false }
hashbrown = { version = "0.14.1", optional = true, default-features = false }
libm = "0.2.8"
Expand All @@ -21,7 +22,6 @@ self_cell = "1.0.1"
swash = { version = "0.1.8", optional = true }
syntect = { version = "5.1.0", optional = true }
sys-locale = { version = "0.3.1", optional = true }
undo_2 = { version = "0.2.0", optional = true }
unicode-linebreak = "0.1.5"
unicode-script = "0.5.5"
unicode-segmentation = "1.10.1"
Expand All @@ -47,7 +47,7 @@ std = [
"sys-locale",
"unicode-bidi/std",
]
vi = ["modit", "syntect", "undo_2"]
vi = ["modit", "syntect", "cosmic_undo_2"]
wasm-web = ["sys-locale?/js"]
warn_on_missing_glyphs = []
fontconfig = ["fontdb/fontconfig", "std"]
Expand Down

0 comments on commit 6ae333d

Please sign in to comment.