Cargo.toml (1960B)
1 [package] 2 name = "damus" 3 version = "0.1.0" 4 authors = ["William Casarin <jb55@jb55.com>"] 5 edition = "2021" 6 #rust-version = "1.60" 7 8 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html 9 10 [lib] 11 crate-type = ["lib", "cdylib"] 12 13 [dependencies] 14 #egui-android = { git = "https://github.com/jb55/egui-android.git" } 15 egui = "0.20.0" 16 eframe = { version = "0.20.0", features = [ "wgpu" ] } 17 #eframe = "0.20.0" 18 egui_extras = { version = "0.20.0", features = ["image", "svg"] } 19 ehttp = "0.2.0" 20 image = { version = "0.24", features = ["jpeg", "png", "webp"] } 21 log = "0.4.17" 22 poll-promise = "0.2.0" 23 serde_derive = "1" 24 serde = { version = "1", features = ["derive"] } # You only need this if you want app persistence 25 tracing = "0.1.37" 26 #wasm-bindgen = "0.2.83" 27 enostr = { path = "enostr" } 28 serde_json = "1.0.89" 29 30 31 # web: 32 [target.'cfg(target_arch = "wasm32")'.dependencies] 33 console_error_panic_hook = "0.1.6" 34 tracing-wasm = "0.2" 35 wasm-bindgen-futures = "0.4" 36 37 # native: 38 [target.'cfg(not(target_arch = "wasm32"))'.dependencies] 39 tokio = { version = "1.16", features = ["macros", "rt-multi-thread"] } 40 tracing-subscriber = "0.3" 41 42 [target.'cfg(target_os = "android")'.dependencies] 43 android_logger = "0.11.1" 44 #android-activity = "0.4.0" 45 #winit = "0.27.5" 46 #winit = { version = "0.28", features = [ "android-native-activity" ] } 47 #winit = { git="https://github.com/rust-windowing/winit.git", rev = "2a58b785fed2a3746f7c7eebce95bce67ddfd27c", features = ["android-native-activity"] } 48 49 [package.metadata.android] 50 package = "com.damus.app" 51 apk_name = "damus" 52 #assets = "assets" 53 54 [[package.metadata.android.uses_feature]] 55 name = "android.hardware.vulkan.level" 56 required = true 57 version = 1 58 59 [[package.metadata.android.uses_permission]] 60 name = "android.permission.WRITE_EXTERNAL_STORAGE" 61 max_sdk_version = 18 62 63 [[package.metadata.android.uses_permission]] 64 name = "android.permission.INTERNET" 65 66 [package.metadata.android.application] 67 label = "Damus"