Cargo.toml (3613B)
1 [package] 2 name = "notedeck_chrome" 3 version = { workspace = true } 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 bitflags = { workspace = true } 13 eframe = { workspace = true } 14 egui_tabs = { workspace = true } 15 egui_extras = { workspace = true } 16 egui_nav = { workspace = true } 17 egui = { workspace = true } 18 notedeck_columns = { workspace = true } 19 notedeck_ui = { workspace = true } 20 notedeck_dave = { workspace = true } 21 notedeck_messages = { workspace = true, optional = true } 22 notedeck_notebook = { workspace = true, optional = true } 23 notedeck_clndash = { workspace = true, optional = true } 24 notedeck_dashboard = { workspace = true, optional = true } 25 notedeck = { workspace = true } 26 nostrdb = { workspace = true } 27 puffin = { workspace = true, optional = true } 28 puffin_egui = { workspace = true, optional = true } 29 serde_json = { workspace = true } 30 serde = { workspace = true } 31 strum = { workspace = true } 32 tokio = { workspace = true } 33 tracing-appender = { workspace = true } 34 tracing-subscriber = { workspace = true } 35 tracing = { workspace = true } 36 profiling = { workspace = true } 37 re_memory = { workspace = true, optional = true } 38 39 [dev-dependencies] 40 tempfile = { workspace = true } 41 42 [lib] 43 crate-type = ["lib", "cdylib"] 44 45 [[bin]] 46 name = "notedeck" 47 path = "src/notedeck.rs" 48 49 #[[bin]] 50 #name = "ui_preview" 51 #path = "src/preview.rs" 52 53 [features] 54 default = [] 55 memory = ["re_memory"] 56 puffin = ["profiling/profile-with-puffin", "dep:puffin"] 57 tracy = ["profiling/profile-with-tracy"] 58 messages = ["notedeck_messages"] 59 notebook = ["notedeck_notebook"] 60 clndash = ["notedeck_clndash"] 61 dashboard = ["notedeck_dashboard"] 62 63 [target.'cfg(target_os = "android")'.dependencies] 64 tracing-logcat = "0.1.0" 65 #log = { workspace = true } 66 #android-activity = { version = "0.6", features = [ "game-activity" ] } 67 egui-winit.workspace = true 68 android-keyring = { workspace = true } 69 70 # Fix debug mode crash on macOS: objc2-foundation 0.2.2 has incorrect type 71 # encoding for NSFastEnumeration. The relax-sign-encoding feature allows 72 # signed/unsigned mismatches to pass runtime verification. 73 [target.'cfg(target_os = "macos")'.dependencies] 74 objc2 = { version = "0.5.2", features = ["relax-sign-encoding"] } 75 76 [package.metadata.bundle] 77 name = "Notedeck" 78 short_description = "The nostr browser" 79 identifier = "com.damus.notedeck" 80 icon = ["assets/app_icon.icns"] 81 82 [package.metadata.android.manifest.queries] 83 intent = [ 84 { action = ["android.intent.action.MAIN"] }, 85 ] 86 87 88 [package.metadata.android] 89 package = "com.damus.app" 90 apk_name = "Notedeck" 91 #assets = "assets" 92 93 [[package.metadata.android.uses_feature]] 94 name = "android.hardware.vulkan.level" 95 required = true 96 version = 1 97 98 [[package.metadata.android.uses_permission]] 99 name = "android.permission.WRITE_EXTERNAL_STORAGE" 100 max_sdk_version = 18 101 102 [[package.metadata.android.uses_permission]] 103 name = "android.permission.READ_EXTERNAL_STORAGE" 104 max_sdk_version = 18 105 106 [package.metadata.android.signing.release] 107 path = "../../damus.keystore" 108 keystore_password = "damuskeystore" 109 110 [[package.metadata.android.uses_permission]] 111 name = "android.permission.INTERNET" 112 113 [package.metadata.android.application] 114 label = "Notedeck" 115 116 [package.metadata.deb] 117 name = "notedeck" 118 copyright = "2024 Damus, Nostr Inc." 119 # Manually specify a libc dependency that works on Ubuntu 22.04: 120 depends = ["libc6 (>= 2.35)"] 121 122 [package.metadata.generate-rpm] 123 name = "notedeck" 124 assets = [ 125 { source = "target/release/notedeck", dest = "/usr/bin/notedeck", mode = "755" }, 126 ]