notedeck

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

Cargo.toml (3049B)


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