Cargo.toml (2283B)
1 [package] 2 name = "notedeck_chrome" 3 version = "0.2.0" 4 authors = ["William Casarin <jb55@jb55.com>", "kernelkind <kernelkind@gmail.com>"] 5 edition = "2021" 6 default-run = "notedeck" 7 #rust-version = "1.60" 8 license = "GPLv3" 9 description = "The nostr browser" 10 11 [dependencies] 12 eframe = { workspace = true } 13 egui = { workspace = true } 14 egui_extras = { workspace = true } 15 enostr = { workspace = true } 16 nostrdb = { workspace = true } 17 notedeck = { workspace = true } 18 notedeck_columns = { workspace = true } 19 serde_json = { workspace = true } 20 strum = { workspace = true } 21 tokio = { workspace = true } 22 tracing = { workspace = true } 23 tracing-appender = { workspace = true } 24 tracing-subscriber = { workspace = true } 25 26 [dev-dependencies] 27 tempfile = { workspace = true } 28 29 [lib] 30 crate-type = ["lib", "cdylib"] 31 32 [[bin]] 33 name = "notedeck" 34 path = "src/notedeck.rs" 35 36 [[bin]] 37 name = "ui_preview" 38 path = "src/preview.rs" 39 40 [features] 41 default = [] 42 profiling = ["notedeck_columns/puffin"] 43 44 [target.'cfg(target_os = "android")'.dependencies] 45 android_logger = "0.11.1" 46 log = { workspace = true } 47 android-activity = { version = "0.4", features = [ "native-activity" ] } 48 winit = { version = "0.30.5", features = [ "android-native-activity" ] } 49 50 [package.metadata.bundle] 51 name = "Notedeck" 52 short_description = "The nostr browser" 53 identifier = "com.damus.notedeck" 54 icon = ["assets/app_icon.icns"] 55 56 [package.metadata.android] 57 package = "com.damus.app" 58 apk_name = "Notedeck" 59 #assets = "assets" 60 61 [[package.metadata.android.uses_feature]] 62 name = "android.hardware.vulkan.level" 63 required = true 64 version = 1 65 66 [[package.metadata.android.uses_permission]] 67 name = "android.permission.WRITE_EXTERNAL_STORAGE" 68 max_sdk_version = 18 69 70 [[package.metadata.android.uses_permission]] 71 name = "android.permission.READ_EXTERNAL_STORAGE" 72 max_sdk_version = 18 73 74 [package.metadata.android.signing.release] 75 path = "../../damus.keystore" 76 keystore_password = "damuskeystore" 77 78 [[package.metadata.android.uses_permission]] 79 name = "android.permission.INTERNET" 80 81 [package.metadata.android.application] 82 label = "Notedeck" 83 84 [package.metadata.deb] 85 name = "notedeck" 86 copyright = "2024 Damus, Nostr Inc." 87 88 [package.metadata.generate-rpm] 89 name = "notedeck" 90 assets = [ 91 { source = "target/release/notedeck", dest = "/usr/bin/notedeck", mode = "755" }, 92 ]