2023-04-14 01:34:11 -04:00
|
|
|
[package]
|
|
|
|
name = "rpn_rs_gui"
|
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["Austen Adler <agadler@austenadler.com>"]
|
|
|
|
edition = "2021"
|
|
|
|
rust-version = "1.65"
|
|
|
|
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
rpn_rs = {path=".."}
|
2023-10-01 14:57:53 -04:00
|
|
|
egui = "0.22.0"
|
|
|
|
eframe = { version = "0.22.0", default-features = false, features = ["accesskit", "default_fonts", "glow", "persistence"] }
|
2023-04-14 01:34:11 -04:00
|
|
|
|
|
|
|
# You only need serde if you want app persistence:
|
|
|
|
serde = { version = "1", features = ["derive"] }
|
2023-09-18 21:29:24 -04:00
|
|
|
tracing = "0.1.37"
|
2023-10-01 14:57:53 -04:00
|
|
|
egui_extras = "0.22.0"
|
2023-04-14 01:34:11 -04:00
|
|
|
|
|
|
|
# native:
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
|
|
tracing-subscriber = "0.3"
|
|
|
|
|
|
|
|
# web:
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
|
|
console_error_panic_hook = "0.1.6"
|
|
|
|
tracing-wasm = "0.2"
|
2023-10-01 14:57:53 -04:00
|
|
|
wasm-bindgen = { version = "0.2.87" }
|
2023-04-14 01:34:11 -04:00
|
|
|
wasm-bindgen-futures = "0.4"
|
|
|
|
|
|
|
|
|
|
|
|
# TODO: This block was commented
|
|
|
|
# [profile.release]
|
|
|
|
# opt-level = 2 # fast and small wasm
|
|
|
|
|
|
|
|
# # Optimize all dependencies even in debug builds:
|
|
|
|
# [profile.dev.package."*"]
|
|
|
|
# opt-level = 2
|
|
|
|
|
|
|
|
# TODO: This block was commented
|
|
|
|
# [patch.crates-io]
|
|
|
|
|
|
|
|
# If you want to use the bleeding edge version of egui and eframe:
|
|
|
|
# egui = { git = "https://github.com/emilk/egui", branch = "master" }
|
|
|
|
# eframe = { git = "https://github.com/emilk/egui", branch = "master" }
|
|
|
|
|
|
|
|
# If you fork https://github.com/emilk/egui you can test with:
|
|
|
|
# egui = { path = "../egui/crates/egui" }
|
|
|
|
# eframe = { path = "../egui/crates/eframe" }
|