* CI: add docsrs to ci * add env vars * no need for tokio things * whoops, wrong rust nightly * add swc * bump crate versions to 0.6.0-alpha.0 * hoist up warnings and shuffle cargo.toml * update cargos and disable warnings from ci * attempt fix of aws * attempt disabling aws_lc_sys globally * pull in lc-sys * add fips feature to fix docs * turn on features for aws-lc-sys on cargo-doc-all * pass along more args * fix cfg docs * fix: flakey gen box test * fix: doc_cfg in static gen * dont include readme * fix error on static gen * remove random line * temporarily disable warnings * simplify axum desktop so it doesnt count as a lib * fix binstall link * bump locks * lock fixes * revert axum desktop * dont publish some crates
51 lines
1.3 KiB
Rust
51 lines
1.3 KiB
Rust
#![doc = include_str!("readme.md")]
|
|
#![doc(html_logo_url = "https://avatars.githubusercontent.com/u/79236386")]
|
|
#![doc(html_favicon_url = "https://avatars.githubusercontent.com/u/79236386")]
|
|
#![deny(missing_docs)]
|
|
#![cfg_attr(docsrs, feature(doc_cfg))]
|
|
|
|
mod app;
|
|
mod assets;
|
|
mod config;
|
|
mod desktop_context;
|
|
mod document;
|
|
mod edits;
|
|
mod element;
|
|
mod event_handlers;
|
|
mod events;
|
|
mod file_upload;
|
|
mod hooks;
|
|
mod ipc;
|
|
mod menubar;
|
|
mod protocol;
|
|
mod query;
|
|
mod shortcut;
|
|
mod waker;
|
|
mod webview;
|
|
|
|
// mobile shortcut is only supported on mobile platforms
|
|
#[cfg(any(target_os = "ios", target_os = "android"))]
|
|
mod mobile_shortcut;
|
|
|
|
/// The main entrypoint for this crate
|
|
pub mod launch;
|
|
|
|
// Reexport tao and wry, might want to re-export other important things
|
|
pub use tao;
|
|
pub use tao::dpi::{LogicalPosition, LogicalSize};
|
|
pub use tao::event::WindowEvent;
|
|
pub use tao::window::WindowBuilder;
|
|
pub use wry;
|
|
// Reexport muda only if we are on desktop platforms that support menus
|
|
#[cfg(not(any(target_os = "ios", target_os = "android")))]
|
|
pub use muda;
|
|
|
|
// Public exports
|
|
pub use assets::AssetRequest;
|
|
pub use config::{Config, WindowCloseBehaviour};
|
|
pub use desktop_context::{window, DesktopContext, DesktopService};
|
|
pub use event_handlers::WryEventHandler;
|
|
pub use hooks::*;
|
|
pub use shortcut::{ShortcutHandle, ShortcutRegistryError};
|
|
pub use wry::RequestAsyncResponder;
|