Declare the 12 makepad crate deps once in root [workspace.dependencies] pointing at the gitdab fork rev 4a166606c (which now also carries [workspace.dependencies] into the android wrapper manifest). Member crates switch to workspace = true; 5 non-member workspaces get an inline rev bump. Fix 9 nigig-app script_mod indent errors surfaced by the newer upstream macro parser. The fork rev includes: NIGIG test-mode forwarding, custom AndroidManifest hook, ortho camera support, and the wrapper workspace-deps fix.
25 lines
1.1 KiB
TOML
25 lines
1.1 KiB
TOML
[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 = { workspace = true, 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 = { workspace = true }
|
|
# 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"
|