diff mupdf-source/thirdparty/zxing-cpp/wrappers/rust/Cargo.toml @ 2:b50eed0cc0ef upstream

ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4. The directory name has changed: no version number in the expanded directory now.
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 15 Sep 2025 11:43:07 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mupdf-source/thirdparty/zxing-cpp/wrappers/rust/Cargo.toml	Mon Sep 15 11:43:07 2025 +0200
@@ -0,0 +1,39 @@
+[package]
+name = "zxing-cpp"
+version = "0.4.1"
+edition = "2021"
+# authors = ["Axel Waggershauser <zxingcpp@gmail.com>"]
+license = "Apache-2.0"
+description = "A rust wrapper for the zxing-cpp barcode library."
+repository = "https://github.com/zxing-cpp/zxing-cpp/"
+readme = "README.md"
+keywords = ["zxing", "barcode", "barcode_reader", "ffi"]
+categories = ["api-bindings", "computer-vision"]
+exclude = [
+    "core/**/*Writer*",
+    "core/**/*Encode*",
+]
+
+[lib]
+name = "zxingcpp"
+path = "src/lib.rs"
+
+[features]
+default = []
+image = ["dep:image"]
+bundled = []
+
+[dependencies]
+thiserror = "1.0"
+paste = "1.0"
+flagset = "0.4.4"
+image = {version = "0.24.8", optional = true}
+
+[dev-dependencies]
+cfg-if = "1.0"
+anyhow = "1.0"
+image = {version = "0.24.8"}
+
+[build-dependencies]
+cmake = {version = "0.1.50"}
+miette = {version = "5.10.0", features = ["fancy"]}