Crate drteeth

Source
Expand description

Drteeth is a library that directly translates web application architecture into a desktop app. A Drteeth app is litarally a web application server and client bundled into a single binary file. As such, all web application tools and skills translate directly to use in Drteeth.

Drteeth will help you quickly build an app that uses web techologies for a slick user interface and runs on the desktop in its own window, while the application logic is written in Rust and has a normal application’s access to operating system services.

Drteeth works in concert with tokio, async-std, or smol, and has tokio, asyncstd, and smol features to select which of the three you wish to use. The examples feature is required to successfully compile any of the examples.

Modules§

window
The Window struct and associated types.

Structs§

WindowBuilder
Object that allows you to build windows.

Traits§

EntryPoint
Types which implement this trait can be passed to the launch functions as the initial address to load in the webview.

Functions§

launch
Start the webview window, the windowing system event loop, and the async event loop running.
launch_with_windowbuilder
Start the webview window, the windowing system event loop, and the async event loop running. This function accepts a Wry WindowBuilder (re-exported here for convenience) allowing for detailed configuration of the properties of the window. Use this version if you need to set window traits other than the title, such as default size, position, or icon. WindowBuilder: https://docs.rs/wry/latest/wry/application/window/struct.WindowBuilder.html