Skip to content

Commit

Permalink
Re-export core vsvg-viewer dependencies (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
danieledapo authored Jan 14, 2024
1 parent 86ac544 commit b6ab2e1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions crates/vsvg-viewer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ pub use viewer::Viewer;

pub use crate::document_widget::DocumentWidget;

/// Export of core dependencies in addition to what vsvg already re-exports.
pub mod exports {
pub use ::eframe;
pub use ::egui;
pub use ::wgpu;
}

/// Viewer app for [`show()`] and [`show_tolerance()`].
struct ShowViewerApp {
document: Arc<vsvg::Document>,
Expand Down

0 comments on commit b6ab2e1

Please sign in to comment.