notedeck

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

Cargo.toml (4520B)


      1 [package]
      2 name = "notedeck"
      3 version = "0.1.0"
      4 authors = ["William Casarin <jb55@jb55.com>"]
      5 edition = "2021"
      6 default-run = "notedeck"
      7 #rust-version = "1.60"
      8 
      9 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
     10 
     11 [lib]
     12 crate-type = ["lib", "cdylib"]
     13 
     14 [dependencies]
     15 #egui-android = { git = "https://github.com/jb55/egui-android.git" }
     16 egui = { git = "https://github.com/emilk/egui", rev = "fcb7764e48ce00f8f8e58da10f937410d65b0bfb" }
     17 eframe = { git = "https://github.com/emilk/egui", rev = "fcb7764e48ce00f8f8e58da10f937410d65b0bfb", package = "eframe", default-features = false, features = [ "wgpu", "wayland", "x11", "android-native-activity" ] }
     18 egui_extras = { git = "https://github.com/emilk/egui", rev = "fcb7764e48ce00f8f8e58da10f937410d65b0bfb", package = "egui_extras", features = ["all_loaders"] }
     19 ehttp = "0.2.0"
     20 egui_tabs = { git = "https://github.com/damus-io/egui-tabs", branch = "egui-0.28" }
     21 egui_nav = { git = "https://github.com/damus-io/egui-nav", branch = "egui-0.28" }
     22 egui_virtual_list = { git = "https://github.com/jb55/hello_egui", branch = "egui-0.28", package = "egui_virtual_list" }
     23 reqwest = { version = "0.12.4", default-features = false, features = [ "rustls-tls-native-roots" ] }
     24 image = { version = "0.25", features = ["jpeg", "png", "webp"] }
     25 log = "0.4.17"
     26 poll-promise = { version = "0.3.0", features = ["tokio"] }
     27 serde_derive = "1"
     28 serde = { version = "1", features = ["derive"] } # You only need this if you want app persistence
     29 tracing = "0.1.40"
     30 #wasm-bindgen = "0.2.83"
     31 nostrdb = { git = "https://github.com/damus-io/nostrdb-rs", rev = "6d22af6d5159be4c9e4579f8c9d3af836e0d470a" }
     32 #nostrdb = { path = "/Users/jb55/dev/github/damus-io/nostrdb-rs" }
     33 #nostrdb = "0.3.4"
     34 enostr = { path = "enostr" } 
     35 serde_json = "1.0.89"
     36 env_logger = "0.10.0"
     37 puffin_egui = { version = "0.27.0", optional = true }
     38 puffin = { version = "0.19.0", optional = true }
     39 hex = "0.4.3"
     40 base32 = "0.4.0"
     41 strum = "0.26"
     42 strum_macros = "0.26"
     43 bitflags = "2.5.0"
     44 uuid = { version = "1.10.0", features = ["v4"] }
     45 
     46 
     47 [target.'cfg(target_os = "macos")'.dependencies]
     48 security-framework = "2.11.0"
     49 
     50 
     51 [features]
     52 default = []
     53 profiling = ["puffin", "puffin_egui", "eframe/puffin"]
     54 
     55 [profile.small]
     56 inherits = 'release'
     57 opt-level = 'z'     # Optimize for size
     58 lto = true          # Enable link-time optimization
     59 codegen-units = 1   # Reduce number of codegen units to increase optimizations
     60 panic = 'abort'     # Abort on panic
     61 strip = true        # Strip symbols from binary*
     62 
     63 # web:
     64 [target.'cfg(target_arch = "wasm32")'.dependencies]
     65 console_error_panic_hook = "0.1.6"
     66 tracing-wasm = "0.2"
     67 wasm-bindgen-futures = "0.4"
     68 
     69 # native:
     70 [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
     71 tokio = { version = "1.16", features = ["macros", "rt-multi-thread", "fs"] }
     72 tracing-subscriber = "0.3"
     73 
     74 
     75 [target.'cfg(target_os = "android")'.dependencies]
     76 android_logger = "0.11.1"
     77 android-activity = { version = "0.4", features = [ "native-activity" ] }
     78 #winit = "0.28.6"
     79 winit = { version = "0.29", features = [ "android-native-activity" ] }
     80 #winit = { git="https://github.com/rust-windowing/winit.git", rev = "2a58b785fed2a3746f7c7eebce95bce67ddfd27c", features = ["android-native-activity"] }
     81 
     82 [package.metadata.android]
     83 package = "com.damus.app"
     84 apk_name = "damus"
     85 #assets = "assets"
     86 
     87 [[package.metadata.android.uses_feature]]
     88 name = "android.hardware.vulkan.level"
     89 required = true
     90 version = 1
     91 
     92 [[package.metadata.android.uses_permission]]
     93 name = "android.permission.WRITE_EXTERNAL_STORAGE"
     94 max_sdk_version = 18
     95 
     96 [[package.metadata.android.uses_permission]]
     97 name = "android.permission.READ_EXTERNAL_STORAGE"
     98 max_sdk_version = 18
     99 
    100 [package.metadata.android.signing.release]
    101 path = "damus.keystore"
    102 keystore_password = "damuskeystore"
    103 
    104 [[package.metadata.android.uses_permission]]
    105 name = "android.permission.INTERNET"
    106 
    107 [package.metadata.android.application]
    108 label = "Damus"
    109 
    110 [[bin]]
    111 name = "notedeck"
    112 path = "src/bin/notedeck.rs"
    113 
    114 [[bin]]
    115 name = "ui_preview"
    116 path = "src/ui_preview/main.rs"
    117 
    118 [patch.crates-io]
    119 egui = { git = "https://github.com/emilk/egui", rev = "fcb7764e48ce00f8f8e58da10f937410d65b0bfb" }
    120 eframe = { git = "https://github.com/emilk/egui", rev = "fcb7764e48ce00f8f8e58da10f937410d65b0bfb", package = "eframe"  }
    121 emath = { git = "https://github.com/emilk/egui", rev = "fcb7764e48ce00f8f8e58da10f937410d65b0bfb", package = "emath" }
    122 egui_extras = { git = "https://github.com/emilk/egui", rev = "fcb7764e48ce00f8f8e58da10f937410d65b0bfb", package = "egui_extras"  }