[package] name = "millennium-webview" description = "Cross-platform WebView rendering library" version = "1.0.0-beta.3" license = "Apache-2.0 OR MIT" readme = "README.md" repository = "https://github.com/pykeio/millennium" homepage = "https://millennium.pyke.io/" authors = [ "pyke.io", "Tauri Programme within The Commons Conservancy" ] categories = [ "gui" ] rust-version = "1.57" edition = "2021" [package.metadata.docs.rs] default-features = false features = [ "dox", "file-drop", "protocol", "tray" ] targets = [ "x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc", "x86_64-apple-darwin" ] [features] default = [ "file-drop", "objc-exception", "protocol" ] objc-exception = [ "objc/exception" ] file-drop = [ ] protocol = [ ] dox = [ "millennium-core/dox" ] tray = [ "millennium-core/tray" ] devtools = [ ] transparent = [ ] fullscreen = [ ] [dependencies] libc = "0.2" log = "0.4" once_cell = "1.10" serde = { version = "1.0", features = [ "derive" ] } serde_json = "1.0" thiserror = "1.0" url = "2.2" millennium-core = { version = "1.0.0-beta.3", path = "../millennium-core", default-features = false, features = [ "serde" ] } http = "0.2.7" [dev-dependencies] anyhow = "1.0.57" tempfile = "3.3.0" http-range = "0.1.5" [target."cfg(any(target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies] webkit2gtk = { version = "0.18", features = [ "v2_22" ] } webkit2gtk-sys = "0.18" gio = "0.15" glib = "0.15" gtk = "0.15" gdk = "0.15" [target."cfg(target_os = \"windows\")".dependencies] webview2-com = "0.16.0" windows-implement = "0.37.0" [target."cfg(target_os = \"windows\")".dependencies.windows] version = "0.37.0" features = [ "alloc", "implement", "Win32_Foundation", "Win32_Graphics_Gdi", "Win32_System_Com", "Win32_System_Com_StructuredStorage", "Win32_System_LibraryLoader", "Win32_System_Ole", "Win32_System_SystemInformation", "Win32_System_SystemServices", "Win32_UI_Shell", "Win32_UI_WindowsAndMessaging" ] [target."cfg(any(target_os = \"ios\", target_os = \"macos\"))".dependencies] block = "0.1" cocoa = "0.24" core-graphics = "0.22" objc = "0.2" objc_id = "0.1" [target."cfg(target_os = \"android\")".dependencies] jni = "0.18.0"