Files
android-activity/examples/na-winit-wgpu/Cargo.toml
T

37 lines
815 B
TOML

[package]
name = "na-winit-wgpu"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
log = "0.4"
winit = { version = "0.26", default-features = false, features = [ "native-activity" ] }
wgpu = "0.12.0"
pollster = "0.2"
[target.'cfg(not(target_os = "android"))'.dependencies]
env_logger = "0.9"
[target.'cfg(target_os = "android")'.dependencies]
android_logger = "0.11.0"
game-activity = { path="../../game-activity" }
[patch.crates-io]
winit = { git = "https://github.com/rib/winit", branch = "agdk-game-activity" }
#winit = { path="../../../winit" }
[features]
default = []
desktop = []
[lib]
#name="main"
crate_type=["cdylib"]
[[bin]]
path="src/lib.rs"
name="test-winit-wgpu"
required-features = [ "desktop" ]