# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2018" name = "browser-window" version = "0.12.3" authors = ["Bamidev"] publish = true description = "A simple, optionally async, optionally threadsafe, electron-like browser toolkit for Rust." documentation = "https://docs.rs/browser-window/" readme = "README.md" keywords = [ "browser", "chromium", "electron", "gui", "webview", ] categories = [ "asynchronous", "gui", "web-programming", ] license = "MIT" repository = "https://github.com/bamidev/browser-window/" [package.metadata.docs.rs] features = ["threadsafe"] [lib] name = "browser_window" path = "src/lib.rs" [[example]] name = "terminal" path = "examples/terminal.rs" [[example]] name = "authentication" path = "examples/authentication.rs" [dependencies.browser-window-c] version = "=0.3.2" [dependencies.futures-channel] version = "^0.3" [dependencies.glib] version = "0.18" optional = true [dependencies.gtk] version = "0.18" optional = true [dependencies.javascriptcore-rs] version = "1" optional = true [dependencies.json] version = "0.12" [dependencies.lazy_static] version = "1" [dependencies.num-bigfloat] version = "1" [dependencies.unsafe-send-sync] version = "^0.1" [dependencies.webkit2gtk] version = "2.0" features = ["v2_40"] optional = true [dependencies.webview2] version = "0.1" optional = true [dependencies.winapi] version = "0.3" optional = true [dev-dependencies.serde_json] version = "^1.0" [dev-dependencies.tokio] version = "^1.0" features = [ "rt", "rt-multi-thread", ] [features] cef = ["browser-window-c/cef"] edge2 = [ "dep:webview2", "dep:winapi", "browser-window-c/edge2", ] gtk = [] threadsafe = [] webkitgtk = [ "dep:glib", "dep:gtk", "dep:javascriptcore-rs", "dep:webkit2gtk", "gtk", ]