Cargo.toml (2449B)
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_extras = { workspace = true } 14 egui = { workspace = true } 15 notedeck_columns = { workspace = true } 16 notedeck = { workspace = true } 17 puffin = { workspace = true, optional = true } 18 puffin_egui = { workspace = true, optional = true } 19 serde_json = { workspace = true } 20 serde = { workspace = true } 21 strum = { workspace = true } 22 tokio = { workspace = true } 23 tracing-appender = { workspace = true } 24 tracing-subscriber = { workspace = true } 25 tracing = { workspace = true } 26 27 [dev-dependencies] 28 tempfile = { workspace = true } 29 30 [lib] 31 crate-type = ["lib", "cdylib"] 32 33 [[bin]] 34 name = "notedeck" 35 path = "src/notedeck.rs" 36 37 [[bin]] 38 name = "ui_preview" 39 path = "src/preview.rs" 40 41 [features] 42 default = [] 43 profiling = ["notedeck_columns/puffin", "puffin", "puffin_egui"] 44 debug-widget-callstack = ["egui/callstack"] 45 debug-interactive-widgets = [] 46 47 [target.'cfg(target_os = "android")'.dependencies] 48 tracing-logcat = "0.1.0" 49 log = { workspace = true } 50 android-activity = { version = "0.4", features = [ "native-activity" ] } 51 winit = { version = "0.30.5", features = [ "android-native-activity" ] } 52 53 [package.metadata.bundle] 54 name = "Notedeck" 55 short_description = "The nostr browser" 56 identifier = "com.damus.notedeck" 57 icon = ["assets/app_icon.icns"] 58 59 [package.metadata.android] 60 package = "com.damus.app" 61 apk_name = "Notedeck" 62 #assets = "assets" 63 64 [[package.metadata.android.uses_feature]] 65 name = "android.hardware.vulkan.level" 66 required = true 67 version = 1 68 69 [[package.metadata.android.uses_permission]] 70 name = "android.permission.WRITE_EXTERNAL_STORAGE" 71 max_sdk_version = 18 72 73 [[package.metadata.android.uses_permission]] 74 name = "android.permission.READ_EXTERNAL_STORAGE" 75 max_sdk_version = 18 76 77 [package.metadata.android.signing.release] 78 path = "../../damus.keystore" 79 keystore_password = "damuskeystore" 80 81 [[package.metadata.android.uses_permission]] 82 name = "android.permission.INTERNET" 83 84 [package.metadata.android.application] 85 label = "Notedeck" 86 87 [package.metadata.deb] 88 name = "notedeck" 89 copyright = "2024 Damus, Nostr Inc." 90 91 [package.metadata.generate-rpm] 92 name = "notedeck" 93 assets = [ 94 { source = "target/release/notedeck", dest = "/usr/bin/notedeck", mode = "755" }, 95 ]