notedeck

One damus client to rule them all
git clone git://jb55.com/notedeck
Log | Files | Refs | README | LICENSE

Cargo.toml (3789B)


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