# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "mupdf" version = "0.4.4" authors = ["messense "] description = "Safe Rust wrapper to MuPDF" readme = "README.md" keywords = [ "pdf", "mupdf", ] license = "AGPL-3.0" repository = "https://github.com/messense/mupdf-rs" [dependencies.bitflags] version = "2.0.2" [dependencies.font-kit] version = "0.14.1" optional = true [dependencies.mupdf-sys] version = "0.4.4" [dependencies.num_enum] version = "0.7.0" [dependencies.once_cell] version = "1.3.1" [dependencies.serde] version = "1.0.201" features = ["derive"] [dependencies.serde_json] version = "1.0.117" [dev-dependencies.crossbeam-utils] version = "0.8.1" [features] all-fonts = ["mupdf-sys/all-fonts"] cbz = ["mupdf-sys/cbz"] default = [ "js", "xps", "svg", "cbz", "img", "html", "epub", "system-fonts", "tesseract", ] epub = ["mupdf-sys/epub"] html = ["mupdf-sys/html"] img = ["mupdf-sys/img"] js = ["mupdf-sys/js"] svg = ["mupdf-sys/svg"] sys-lib = ["mupdf-sys/sys-lib"] sys-lib-freetype = ["mupdf-sys/sys-lib-freetype"] sys-lib-gumbo = ["mupdf-sys/sys-lib-gumbo"] sys-lib-harfbuzz = ["mupdf-sys/sys-lib-harfbuzz"] sys-lib-jbig2dec = ["mupdf-sys/sys-lib-jbig2dec"] sys-lib-leptonica = ["mupdf-sys/sys-lib-leptonica"] sys-lib-libjpeg = ["mupdf-sys/sys-lib-libjpeg"] sys-lib-openjpeg = ["mupdf-sys/sys-lib-openjpeg"] sys-lib-tesseract = ["mupdf-sys/sys-lib-tesseract"] sys-lib-zlib = ["mupdf-sys/sys-lib-zlib"] system-fonts = ["font-kit"] tesseract = ["mupdf-sys/tesseract"] xps = ["mupdf-sys/xps"]