mirror of
https://github.com/mileswolfallen2/gelectron.git
synced 2026-12-03 15:53:25 +00:00
- Added history management to WebContents for back and forward navigation. - Implemented methods for opening, closing, and toggling devtools in WebContents and BrowserWindow. - Introduced capturePage and printToPDF methods in WebContents for screenshot and PDF generation. - Added process polyfill for WebView-only mode to ensure compatibility without a Node.js runtime. - Updated native bridge to handle new window management commands. - Enhanced Cargo.toml and Cargo.lock for dependency alignment. - Updated package-lock.json for versioning consistency across native installers.
38 lines
985 B
TOML
38 lines
985 B
TOML
[package]
|
|
name = "gelectron"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "Gelectron - Firefox-engine alternative to Electron"
|
|
license = "MIT"
|
|
authors = ["mileswa1q22"]
|
|
|
|
[[bin]]
|
|
name = "gelectron"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
log = { workspace = true }
|
|
env_logger = { workspace = true }
|
|
wry = { version = "0.47", features = ["devtools"] }
|
|
tao = "0.30"
|
|
muda = "0.15"
|
|
arboard = "3"
|
|
rfd = "0.15"
|
|
notify-rust = "4"
|
|
png = "0.18"
|
|
base64 = "0.22"
|
|
url = { workspace = true }
|
|
libc = "0.2"
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
objc2 = "0.6"
|
|
objc2-app-kit = "0.3"
|
|
objc2-foundation = "0.3"
|
|
# Version-aligned interop types for wry's internal macOS WKWebView
|
|
# (wry 0.47 is built against the objc2 0.5 family, so calls into the
|
|
# webview handle must use the same versions to keep pointer types compatible).
|
|
block2-v05 = { package = "block2", version = "0.5" }
|
|
objc2-v05 = { package = "objc2", version = "0.5" }
|