Files
unshell/unshell-gui/Cargo.toml
T

68 lines
1.9 KiB
TOML
Raw Normal View History

2025-11-26 08:55:07 -07:00
[package]
name = "unshell-gui"
version = "0.1.0"
edition = "2024"
2025-11-26 12:48:23 -07:00
authors = ["ASTATIN3"]
2025-11-26 08:55:07 -07:00
include = ["LICENSE-APACHE", "LICENSE-MIT", "**/*.rs", "Cargo.toml"]
rust-version = "1.88"
2025-12-21 17:58:04 -07:00
[lib]
crate-type = ["cdylib"]
2026-01-26 09:13:46 -07:00
[package.metadata.docs.rs]
all-features = true
targets = [
# "x86_64-unknown-linux-gnu",
"wasm32-unknown-unknown"
]
2025-11-26 08:55:07 -07:00
[dependencies]
2026-01-26 09:13:46 -07:00
unshell = {path="../"}
# log = "0.4.27"
chrono = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
reqwest = {version = "0.12.26", features=["json"]}
2025-11-26 12:48:23 -07:00
2025-12-21 17:58:04 -07:00
# Stuff for app functionality
2025-11-26 08:55:07 -07:00
egui = "0.33.0"
eframe = { version = "0.33.0", default-features = false, features = [
2025-11-26 12:48:23 -07:00
# "accesskit", # Make egui compatible with screen readers. NOTE: adds a lot of dependencies.
2025-11-26 08:55:07 -07:00
"default_fonts", # Embed the default egui fonts.
"glow", # Use the glow rendering backend. Alternative: "wgpu".
"persistence", # Enable restoring app state when restarting the app.
"wayland", # To support Linux (and CI)
"x11", # To support older Linux distributions (restores one of the default features)
] }
2025-12-21 17:58:04 -07:00
egui_extras = "0.33.2"
egui_tiles = "0.14.0"
egui-async = "0.2.6"
2025-11-26 08:55:07 -07:00
2025-12-21 17:58:04 -07:00
# Web Stuff
2025-11-26 08:55:07 -07:00
wasm-bindgen-futures = "0.4.50"
2025-11-28 18:39:14 -07:00
wasm-bindgen = "0.2.106"
2025-12-21 17:58:04 -07:00
web-sys = {version = "0.3.70", features = ['Headers', 'Request', 'RequestInit', 'RequestMode', 'Response', 'Window']}
2025-11-26 08:55:07 -07:00
[profile.release]
opt-level = 2 # fast and small wasm
2025-12-21 17:58:04 -07:00
# lto = true
2025-11-26 08:55:07 -07:00
# Optimize all dependencies even in debug builds:
[profile.dev.package."*"]
opt-level = 2
[patch.crates-io]
# If you want to use the bleeding edge version of egui and eframe:
# egui = { git = "https://github.com/emilk/egui", branch = "main" }
# eframe = { git = "https://github.com/emilk/egui", branch = "main" }
# If you fork https://github.com/emilk/egui you can test with:
# egui = { path = "../egui/crates/egui" }
# eframe = { path = "../egui/crates/eframe" }