[package] name = "webview_app" version = "1.0.0-beta.40" # Tutorial at gh-pages ./tutorial with images # keywords for finding crate (rust, WebView, WebViewApp, electron, windows, linux, webview2, webkit) # docs finished # tutorial finished # index html: switch to windows/linux automatically # switch to manually created documentation description = "Simple integration of a web view in an application window for windows and linux similar to Electron" authors = ["Uwe Riegel "] edition = "2021" license = "MIT" repository = "https://github.com/uriegel/webview-app" # documentation = "https://uriegel.github.io/webview-app" readme = "README.md" include = [ "src/**/*", "assets/**/*", "Cargo.toml" ] [dependencies] include_dir = "0.7.4" serde = { version = "1.0.214", features = [ "derive" ] } serde_json = "1.0.132" [target.'cfg(target_os="linux")'.dependencies] gtk = { version = "0.9.3", package = "gtk4", features = ["v4_14"]} adw = { version = "0.7.1", package = "libadwaita", features = ["v1_5"] } webkit6 = "0.4.0" async-channel = "2.3.1" [target.'cfg(target_os="windows")'.dependencies] webview2-com = "0.33.0" windows-implement = "0.58" windows-interface = "0.58" windows-core = "0.58.0" windows = { version = "0.58", features = [ "Win32_Graphics_Gdi", "Win32_System_LibraryLoader", "Win32_System_Threading", "Win32_UI_HiDpi", "Win32_UI_Input_KeyboardAndMouse", "Win32_UI_WindowsAndMessaging", ]} windows-sys = {version = "0.59", features = [ "Win32_UI_Shell", ]}