[package] name = "djvu-web" version = "1.0.0" edition = "2021" description = "johnmcm.com's DjVu module: djvu-rs's WebAssembly viewer bindings plus PDF export and bookmarks." license = "MIT" publish = false [lib] crate-type = ["cdylib"] [dependencies] djvu-rs = { version = "=0.42.0", default-features = false, features = ["std", "wasm", "pdf"] } wasm-bindgen = "0.2" js-sys = "0.3" serde_json = "1" [profile.release] opt-level = 3 lto = true codegen-units = 1 panic = "abort" # The patched copy of djvu-rs the Dockerfile unpacks (patches/). [patch.crates-io] djvu-rs = { path = "/src/djvu-rs" }