diff --git a/Cargo.lock b/Cargo.lock index 9562c3c8..6fe52712 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -911,8 +911,9 @@ dependencies = [ [[package]] name = "pdf-writer" -version = "0.8.1" -source = "git+https://github.com/typst/pdf-writer?branch=chunks#1b03c04c9bc0e91bc956a7b30972cdc798cb65f8" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4b651409cd03bf702052d7491f08d27fbd6b25f96dc8b9b873ada7d0b3342b8d" dependencies = [ "bitflags 1.3.2", "itoa", diff --git a/Cargo.toml b/Cargo.toml index 3e7fd051..98895a08 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,7 +36,7 @@ required-features = ["cli"] [dependencies] miniz_oxide = "0.7" -pdf-writer = "0.8" +pdf-writer = "0.9" usvg = { version = "0.35", default-features = false } image = { version = "0.24", default-features = false, features = ["jpeg", "png", "gif"], optional = true } termcolor = { version = "1", optional = true } @@ -45,6 +45,3 @@ fontdb = { version = "0.14", optional= true } [dev-dependencies] usvg = { version = "0.35.0" } - -[patch.crates-io] -pdf-writer = { git = "https://github.com/typst/pdf-writer", branch = "chunks" } diff --git a/tests/Cargo.toml b/tests/Cargo.toml index 8687b4a9..eb4b1cb3 100644 --- a/tests/Cargo.toml +++ b/tests/Cargo.toml @@ -34,7 +34,7 @@ usvg = "0.35.0" pdfium-render = "0.8.6" walkdir = "2.3.3" lazy_static = "1.4.0" -pdf-writer = "0.8" +pdf-writer = "0.9" image = "0.24" indicatif = "0.17.5" oxipng = { version = "8.0.0", default-features = false, features = ["filetime", "parallel", "zopfli"] }