[package] name = "damus" version = "0.1.0" authors = ["William Casarin "] edition = "2021" rust-version = "1.60" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] egui = "0.19.0" eframe = { version = "0.19.0", features = ["persistence"] } serde = { version = "1", features = ["derive"] } # You only need this if you want app persistence #nostr_rust = { git = "git://jb55.com/nostr_rust", rev = "ccf7e521fe3bb9ca8f86516aef2c1f71db0213ed" } ehttp = "0.2.0" image = { version = "0.24", features = ["jpeg", "png", "webp"] } egui_extras = { version = "0.19.0", features = ["image", "svg"] } poll-promise = "0.2.0" serde_json = { version = "1", default-features = false, features = ["std"] } serde_derive = "1" # native: [target.'cfg(not(target_arch = "wasm32"))'.dependencies] tracing-subscriber = "0.3" # web: [target.'cfg(target_arch = "wasm32")'.dependencies] console_error_panic_hook = "0.1.6" tracing-wasm = "0.2" [profile.release] opt-level = 2 # fast and small wasm [patch.crates-io] # If you want to use the bleeding edge version of egui and eframe: # egui = { git = "https://github.com/emilk/egui", branch = "master" } # eframe = { git = "https://github.com/emilk/egui", branch = "master" } # If you fork https://github.com/emilk/egui you can test with: # egui = { path = "../egui/crates/egui" } # eframe = { path = "../egui/crates/eframe" }