Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added prelude for connecting to external applications #719

Merged
merged 2 commits into from
Dec 19, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
pub mod prelude;

mod engine;

#[cfg(target_arch = "wasm32")]
mod wasm;

15 changes: 15 additions & 0 deletions src/prelude.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
pub use gosub_shared::traits::config::*;

pub use gosub_css3::system::Css3System;

pub use gosub_html5::document::builder::DocumentBuilderImpl;
pub use gosub_html5::document::document_impl::DocumentImpl;
pub use gosub_html5::document::fragment::DocumentFragmentImpl;
pub use gosub_html5::parser::Html5Parser;

pub use gosub_taffy::TaffyLayouter;
pub use gosub_renderer::draw::TreeDrawerImpl;
pub use gosub_rendering::render_tree::RenderTree;

pub use gosub_cairo::CairoBackend;
pub use gosub_vello::VelloBackend;
Loading