notedeck

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

Cargo.toml (2899B)


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