generated from lks/eframe_template_android
Upgrade egui and eframe to 0.31 and update all other dependencies
This commit is contained in:
23
Cargo.toml
23
Cargo.toml
@@ -7,38 +7,39 @@ edition = "2021"
|
||||
|
||||
# Common dependencies
|
||||
[dependencies]
|
||||
anyhow = "1.0.83"
|
||||
anyhow = "1.0.98"
|
||||
cpal = "0.15.3"
|
||||
egui = "0.27.0"
|
||||
egui_plot = "0.27.2"
|
||||
log = "0.4.21"
|
||||
realfft = "3.3.0"
|
||||
egui = "0.31"
|
||||
egui_plot = "0.32"
|
||||
log = "0.4.27"
|
||||
realfft = "3.4.0"
|
||||
|
||||
# eframe features for non android targets
|
||||
[target.'cfg(not(target_os = "android"))'.dependencies.eframe]
|
||||
version = "0.27.0"
|
||||
version = "0.31"
|
||||
default-features = false
|
||||
features = ["accesskit", "default_fonts", "glow"]
|
||||
features = ["accesskit", "default_fonts", "glow", "wayland", "x11"]
|
||||
|
||||
# eframe features for android targets
|
||||
[target.'cfg(target_os = "android")'.dependencies.eframe]
|
||||
version = "0.27.0"
|
||||
version = "0.31"
|
||||
default-features = false
|
||||
features = ["accesskit", "default_fonts", "glow", "android-native-activity"]
|
||||
|
||||
# android only dependencies
|
||||
[target.'cfg(target_os = "android")'.dependencies]
|
||||
android_logger = "0.13.3"
|
||||
android_logger = "0.15.0"
|
||||
#android-activity = { version = "0.5", features = ["native-activity"] }
|
||||
winit = { version = "0.29.4", features = ["android-native-activity"] }
|
||||
winit = { version = "0.30.11", features = ["android-native-activity"] }
|
||||
|
||||
# native only dependencies
|
||||
[target.'cfg(all(not(target_arch = "wasm32"), not(target_os = "android")))'.dependencies]
|
||||
env_logger = "0.10"
|
||||
env_logger = "0.11"
|
||||
|
||||
# web only dependencies
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
wasm-bindgen-futures = "0.4"
|
||||
web-sys = "0.3.70" # to access the DOM (to hide the loading text)
|
||||
|
||||
[profile.release]
|
||||
opt-level = 2
|
||||
|
||||
Reference in New Issue
Block a user