notedeck

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

Cargo.toml (2750B)


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