We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd2f770 commit 37abeebCopy full SHA for 37abeeb
Cargo.toml
@@ -2,7 +2,7 @@
2
name = "mupdf"
3
version = "0.4.2"
4
authors = ["messense <messense@icloud.com>"]
5
-edition = "2018"
+edition = "2021"
6
description = "Safe Rust wrapper to MuPDF"
7
keywords = ["pdf", "mupdf"]
8
license = "AGPL-3.0"
mupdf-sys/build.rs
@@ -385,7 +385,7 @@ fn main() {
385
.allowlist_var("pdf_.*")
386
.allowlist_var("PDF_.*")
387
.allowlist_var("UCDN_.*")
388
- .parse_callbacks(Box::new(bindgen::CargoCallbacks))
+ .parse_callbacks(Box::new(bindgen::CargoCallbacks::new()))
389
.size_t_is_usize(true)
390
.generate()
391
.expect("Unable to generate bindings");
0 commit comments