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