* wip: openssl autodetection * add voltaile read inside of asset fn * support xcode 15 for --device * vendor openssl on android * Smaller width TUI * switch to anyhow for the entire CLI * add backtrace and print double printing of cargo_metadata errors * add some padding to multi-line anyhow error * check semvers * don't open if not interactive * set the tailwind current_dir so it doesn't twitch * get the oboe demo working * copy the c++ library on android * cleanup env vars * add depinfo watcher * fix stale hotpatches and crate count * add musl support * remove outdated autofmt test * update scanner app * add hotdog app and bundle to ci * upload dx on every branch * collapse mobile into desktop * `dx doctor` command * windows command files * no pipe on doctor * fix ci? * fix links * fix ci * use main instead of nightly * bump node * build cli for host * cargo doc * prep dog_app for bundle * package hotdog * no bundle or nightly cli * comment out nightly cli * add quotes to linker files
59 lines
1.5 KiB
Rust
59 lines
1.5 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 android_sync_lock;
|
|
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 mobile;
|
|
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;
|
|
|
|
// Tray icon
|
|
#[cfg(any(target_os = "windows", target_os = "linux", target_os = "macos"))]
|
|
pub mod trayicon;
|
|
|
|
// Public exports
|
|
pub use assets::AssetRequest;
|
|
pub use config::{Config, WindowCloseBehaviour};
|
|
pub use desktop_context::{
|
|
window, DesktopContext, DesktopService, PendingDesktopContext, WeakDesktopContext,
|
|
};
|
|
pub use event_handlers::WryEventHandler;
|
|
pub use hooks::*;
|
|
pub use shortcut::{HotKeyState, ShortcutHandle, ShortcutRegistryError};
|
|
pub use wry::RequestAsyncResponder;
|