diff --git a/Cargo.lock b/Cargo.lock index cfc5d7cb7..731bd39ef 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -632,9 +632,9 @@ checksum = "9ea835d29036a4087793836fa931b08837ad5e957da9e23886b29586fb9b6650" [[package]] name = "ecow" -version = "0.1.2" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d1990d053cf6edf3f030682dba3b0eb65ef01fabb2686072765d8a17d6728e8" +checksum = "e6ea5e3f9cda726431da9d1a8d5a29785d544b31e98e1ca7a210906244002e02" dependencies = [ "serde", ] diff --git a/crates/typst-cli/Cargo.toml b/crates/typst-cli/Cargo.toml index 5fcb27978..5df740296 100644 --- a/crates/typst-cli/Cargo.toml +++ b/crates/typst-cli/Cargo.toml @@ -26,7 +26,7 @@ chrono = { version = "0.4.24", default-features = false, features = ["clock", "s clap = { version = "4.4", features = ["derive", "env"] } codespan-reporting = "0.11" comemo = "0.3" -ecow = "0.1.1" +ecow = "0.2" dirs = "5" flate2 = "1" filetime = "0.2" diff --git a/crates/typst-docs/Cargo.toml b/crates/typst-docs/Cargo.toml index e9d846582..02d238eda 100644 --- a/crates/typst-docs/Cargo.toml +++ b/crates/typst-docs/Cargo.toml @@ -14,7 +14,7 @@ bench = false typst = { path = "../typst" } typst-library = { path = "../typst-library" } comemo = "0.3" -ecow = { version = "0.1.2", features = ["serde"] } +ecow = { version = "0.2", features = ["serde"] } heck = "0.4" include_dir = "0.7" once_cell = "1" diff --git a/crates/typst-ide/Cargo.toml b/crates/typst-ide/Cargo.toml index ba3574f1f..8513acbc8 100644 --- a/crates/typst-ide/Cargo.toml +++ b/crates/typst-ide/Cargo.toml @@ -19,7 +19,7 @@ bench = false [dependencies] typst = { path = "../typst" } comemo = "0.3" -ecow = { version = "0.1.2", features = ["serde"] } +ecow = { version = "0.2", features = ["serde"] } if_chain = "1" serde = { version = "1.0.184", features = ["derive"] } unscanny = "0.1" diff --git a/crates/typst-library/Cargo.toml b/crates/typst-library/Cargo.toml index 49d3d0887..10a1e1a68 100644 --- a/crates/typst-library/Cargo.toml +++ b/crates/typst-library/Cargo.toml @@ -22,7 +22,7 @@ az = "1.2" chinese-number = { version = "0.7.2", default-features = false, features = ["number-to-chinese"] } comemo = "0.3" csv = "1" -ecow = { version = "0.1.2", features = ["serde"] } +ecow = { version = "0.2", features = ["serde"] } hayagriva = "0.3.2" hypher = "0.1.4" icu_properties = { version = "1.2.0", features = ["serde"] } diff --git a/crates/typst-syntax/Cargo.toml b/crates/typst-syntax/Cargo.toml index fe56e5ddb..ae13bcd5c 100644 --- a/crates/typst-syntax/Cargo.toml +++ b/crates/typst-syntax/Cargo.toml @@ -17,7 +17,7 @@ bench = false [dependencies] comemo = "0.3" -ecow = { version = "0.1.2", features = ["serde"] } +ecow = { version = "0.2", features = ["serde"] } once_cell = "1" serde = { version = "1.0.184", features = ["derive"] } tracing = "0.1.37" diff --git a/crates/typst/Cargo.toml b/crates/typst/Cargo.toml index 33f3fada9..2db1d7020 100644 --- a/crates/typst/Cargo.toml +++ b/crates/typst/Cargo.toml @@ -22,7 +22,7 @@ base64 = "0.21.2" bitflags = { version = "2", features = ["serde"] } bytemuck = "1" comemo = "0.3" -ecow = { version = "0.1.2", features = ["serde"] } +ecow = { version = "0.2", features = ["serde"] } flate2 = "1" fontdb = { version = "0.14", default-features = false } image = { version = "0.24", default-features = false, features = ["png", "jpeg", "gif"] } diff --git a/tests/Cargo.toml b/tests/Cargo.toml index 2e8727ad5..6009fc1b0 100644 --- a/tests/Cargo.toml +++ b/tests/Cargo.toml @@ -11,7 +11,7 @@ typst = { path = "../crates/typst" } typst-library = { path = "../crates/typst-library" } clap = { version = "4.4", features = ["derive"] } comemo = "0.3" -ecow = { version = "0.1.2", features = ["serde"] } +ecow = { version = "0.2", features = ["serde"] } iai = { git = "https://github.com/typst/iai" } once_cell = "1" oxipng = { git = "https://github.com/typst/oxipng", rev = "b8ec65b", default-features = false, features = ["filetime", "parallel", "zopfli"] } diff --git a/tests/src/tests.rs b/tests/src/tests.rs index d690cdb36..41fd00e86 100644 --- a/tests/src/tests.rs +++ b/tests/src/tests.rs @@ -574,7 +574,7 @@ fn test_part( Severity::Warning => AnnotationKind::Warning, }, range: world.range(diagnostic.span), - message: diagnostic.message.replace('\\', "/").into(), + message: diagnostic.message.replace("\\", "/"), }; if validate_hints {