[package] name = "nigig-pdf-makepad" version = "0.1.0" edition = "2021" license = "MIT OR Apache-2.0" description = "Makepad PDF integration: MakepadPdfDevice, GPU textures, PdfView widget." [dependencies] nigig-pdf-cos = { path = "../pdf-cos" } nigig-pdf-document = { path = "../pdf-document" } nigig-pdf-graphics = { path = "../pdf-graphics" } # The `test` feature gates makepad-widgets' re-export of makepad-test, # which tests/ui.rs imports as makepad_widgets::makepad_test. makepad-widgets = { git = "https://gitdab.com/andodeki/makepad", rev = "a79f0dce4d477e2232344facca0798d3f25043ec", features = ["test"] } [dev-dependencies] # Both are required, and neither is redundant: `ui.rs` imports the symbols # through the re-export above, but the `#[makepad_test]` attribute expands # to an absolute `::makepad_test::` path, which only resolves if the crate # is also a direct dependency. Dropping either breaks the UI tests. makepad-test = { git = "https://gitdab.com/andodeki/makepad", rev = "a79f0dce4d477e2232344facca0798d3f25043ec", package = "makepad-test" } # A binary host so makepad_test can drive the widget through real event # delivery; the crate itself remains a library. [[bin]] name = "nigig-pdf-makepad" path = "src/bin/nigig-pdf-makepad.rs"