Cargo.toml (7278B)
1 [workspace] 2 resolver = "2" 3 package.version = "0.7.1" 4 members = [ 5 "crates/notedeck", 6 "crates/notedeck_chrome", 7 "crates/notedeck_columns", 8 "crates/notedeck_dave", 9 "crates/notedeck_messages", 10 "crates/notedeck_notebook", 11 "crates/notedeck_nostrverse", 12 "crates/notedeck_ui", 13 "crates/notedeck_clndash", 14 "crates/notedeck_dashboard", 15 "crates/md-stream", 16 "crates/tokenator", 17 "crates/enostr", 18 "crates/protoverse", 19 "crates/notedeck_wasm", 20 ] 21 22 [workspace.dependencies] 23 opener = "0.8.2" 24 chrono = "0.4.40" 25 crossbeam-channel = "0.5" 26 crossbeam = "0.8.4" 27 base32 = "0.4.0" 28 base64 = "0.22.1" 29 rmpv = "1.3.0" 30 rand = "0.9.2" 31 bech32 = { version = "0.11", default-features = false } 32 bitflags = "2.5.0" 33 dirs = "5.0.1" 34 eframe = { version = "0.31.1", default-features = false, features = [ "wgpu", "wayland", "x11", "android-game-activity" ] } 35 egui = { version = "0.31.1", features = ["serde"] } 36 egui-wgpu = "0.31.1" 37 egui_extras = { version = "0.31.1", features = ["all_loaders"] } 38 egui-winit = { version = "0.31.1", features = ["android-game-activity", "clipboard"] } 39 egui_nav = { git = "https://github.com/kernelkind/egui-nav", rev = "8d8e93b7ea4e87c70af9627fa8e3591489abafd0" } 40 egui_tabs = { git = "https://github.com/damus-io/egui-tabs", rev = "6eb91740577b374a8a6658c09c9a4181299734d0" } 41 #egui_virtual_list = "0.6.0" 42 egui_virtual_list = { git = "https://github.com/jb55/hello_egui", rev = "a66b6794f5e707a2f4109633770e02b02fb722e1" } 43 ehttp = "0.5.0" 44 hyper = { version = "1.7.0", features = ["full"] } 45 hyper-util = {version = "0.1" , features = ["tokio"]} 46 # hyper-rustls with NO default crypto provider (aws-lc-rs is default and requires cmake on Windows) 47 # Crates add platform-specific features: ring on Windows, aws-lc-rs elsewhere 48 hyper-rustls = { version = "0.27.7", default-features = false, features = ["http1", "tls12", "logging", "native-tokio", "webpki-roots"] } 49 http-body-util = "0.1.3" 50 # rustls with NO default crypto provider at workspace level. 51 # Crates use platform-specific dependencies to select: 52 # - Windows: ring (no cmake/NASM needed) 53 # - Other platforms: aws-lc-rs (better performance) 54 rustls = { version = "0.23.28", default-features = false, features = ["std", "tls12", "logging"] } 55 ring = "0.17" 56 enostr = { path = "crates/enostr" } 57 ewebsock = { version = "0.2.0", features = ["tls"] } 58 fluent = "0.17.0" 59 fluent-resmgr = "0.0.8" 60 fluent-langneg = "0.13" 61 glam = { version = "0.30", features = ["bytemuck"] } 62 hex = { version = "0.4.3", features = ["serde"] } 63 negentropy = { version = "0.5", default-features = false, features = ["std"] } 64 image = { version = "0.25", features = ["jpeg", "png", "webp"] } 65 indexmap = "2.6.0" 66 log = "0.4.17" 67 md5 = "0.7.0" 68 nostr = { version = "0.37.0", default-features = false, features = ["std", "nip44", "nip49"] } 69 nwc = "0.39.0" 70 mio = { version = "1.0.3", features = ["os-poll", "net"] } 71 nostrdb = { git = "https://github.com/damus-io/nostrdb-rs", rev = "59a1900" } 72 #nostrdb = "0.6.1" 73 notedeck = { path = "crates/notedeck" } 74 notedeck_chrome = { path = "crates/notedeck_chrome" } 75 notedeck_clndash = { path = "crates/notedeck_clndash" } 76 notedeck_dashboard = { path = "crates/notedeck_dashboard" } 77 notedeck_columns = { path = "crates/notedeck_columns" } 78 notedeck_dave = { path = "crates/notedeck_dave" } 79 notedeck_messages = { path = "crates/notedeck_messages" } 80 notedeck_notebook = { path = "crates/notedeck_notebook" } 81 notedeck_nostrverse = { path = "crates/notedeck_nostrverse" } 82 renderbud = { path = "crates/renderbud", features = ["egui"] } 83 notedeck_ui = { path = "crates/notedeck_ui" } 84 notedeck_wasm = { path = "crates/notedeck_wasm" } 85 tokenator = { path = "crates/tokenator" } 86 md-stream = { path = "crates/md-stream" } 87 once_cell = "1.19.0" 88 bytemuck = "1.22.0" 89 robius-open = "0.1" 90 poll-promise = { version = "0.3.0", features = ["tokio"] } 91 puffin = { git = "https://github.com/jb55/puffin", package = "puffin", rev = "c6a6242adaf90b6292c0f462d2acd34d96d224d2" } 92 puffin_egui = { git = "https://github.com/jb55/puffin", package = "puffin_egui", rev = "c6a6242adaf90b6292c0f462d2acd34d96d224d2" } 93 serde = { version = "1", features = ["derive"] } # You only need this if you want app persistence 94 serde_derive = "1" 95 serde_json = "1.0.89" 96 strum = "0.26" 97 strum_macros = "0.26" 98 thiserror = "2.0.7" 99 tokio = { version = "1.16", features = ["macros", "rt-multi-thread", "fs"] } 100 tracing = { version = "0.1.40", features = ["log"] } 101 tracing-appender = "0.2.3" 102 tracing-subscriber = { version = "0.3", features = ["env-filter"] } 103 tempfile = "3.13.0" 104 unic-langid = { version = "0.9.6", features = ["macros"] } 105 url = "2.5.2" 106 urlencoding = "2.1.3" 107 uuid = { version = "1.10.0", features = ["v4"] } 108 sha2 = "0.10.8" 109 hkdf = "0.12.4" 110 bincode = "1.3.3" 111 mime_guess = "2.0.5" 112 pretty_assertions = "1.4.1" 113 jni = "0.21.1" 114 profiling = "1.0" 115 lightning-invoice = { version = "0.33.1", features = ["serde"] } 116 secp256k1 = "0.30.0" 117 hashbrown = "0.15.2" 118 openai-api-rs = "6.0.3" 119 re_memory = "0.23.4" 120 oot_bitset = "0.1.1" 121 blurhash = "0.2.3" 122 android-activity = { git = "https://github.com/damus-io/android-activity", rev = "4ee16f1585e4a75031dc10785163d4b920f95805", features = [ "game-activity" ] } 123 keyring = { version = "3.6.3", features = ["apple-native", "windows-native", "linux-native-sync-persistent", "vendored"] } 124 android-keyring = "0.2.0" 125 rfd = "0.15" 126 127 [profile.small] 128 inherits = 'release' 129 opt-level = 'z' # Optimize for size 130 lto = true # Enable link-time optimization 131 codegen-units = 1 # Reduce number of codegen units to increase optimizations 132 panic = 'abort' # Abort on panic 133 strip = true # Strip symbols from binary* 134 135 136 [patch.crates-io] 137 #egui = { path = "/home/jb55/dev/github/emilk/egui/crates/egui" } 138 #eframe = { path = "/home/jb55/dev/github/emilk/egui/crates/eframe" } 139 #egui-winit = { path = "/home/jb55/dev/github/emilk/egui/crates/egui-winit" } 140 #egui_extras = { path = "/home/jb55/dev/github/emilk/egui/crates/egui_extras" } 141 #epaint = { path = "/home/jb55/dev/github/emilk/egui/crates/epaint" } 142 143 egui = { git = "https://github.com/damus-io/egui", rev = "e05638c40ef734312b3b3e36397d389d0a78b10b" } 144 eframe = { git = "https://github.com/damus-io/egui", rev = "e05638c40ef734312b3b3e36397d389d0a78b10b" } 145 egui-winit = { git = "https://github.com/damus-io/egui", rev = "e05638c40ef734312b3b3e36397d389d0a78b10b" } 146 egui-wgpu = { git = "https://github.com/damus-io/egui", rev = "e05638c40ef734312b3b3e36397d389d0a78b10b" } 147 egui_extras = { git = "https://github.com/damus-io/egui", rev = "e05638c40ef734312b3b3e36397d389d0a78b10b" } 148 epaint = { git = "https://github.com/damus-io/egui", rev = "e05638c40ef734312b3b3e36397d389d0a78b10b" } 149 puffin = { git = "https://github.com/jb55/puffin", package = "puffin", rev = "c6a6242adaf90b6292c0f462d2acd34d96d224d2" } 150 puffin_egui = { git = "https://github.com/jb55/puffin", package = "puffin_egui", rev = "c6a6242adaf90b6292c0f462d2acd34d96d224d2" } 151 #winit = { git = "https://github.com/damus-io/winit", rev = "701a43d3c6479b0a3869acd2cebbfd410d399a59" } 152 #winit = { path = "/home/jb55/dev/github/rust-windowing/winit" } 153 #android-activity = { git = "https://github.com/damus-io/android-activity", rev = "f56c974aa5182d5fbd361879f5899eb8f11a37ec" } 154 #android-activity = { path = "/home/jb55/dev/github/rust-mobile/android-activity/android-activity" }