Cargo.toml (1364B)
1 [workspace] 2 members = [ 3 "crates/weather", 4 "crates/unsplash" 5 ] 6 7 [package] 8 name = "fjordgard" 9 version = "0.1.0" 10 edition = "2024" 11 12 [profile.wasm] 13 lto = true 14 codegen-units = 1 15 opt-level = "z" 16 inherits = "release" 17 strip = "debuginfo" 18 19 [dependencies] 20 anyhow = "1.0.98" 21 chrono = "0.4.41" 22 fjordgard-unsplash = { version = "0.1.0", path = "crates/unsplash" } 23 fjordgard-weather = { version = "0.1.0", path = "crates/weather" } 24 log = "0.4.27" 25 serde = { version = "1.0.219", features = ["derive"] } 26 serde_json = "1.0.140" 27 strum = { version = "0.27.1", features = ["derive"] } 28 29 [target.'cfg(not(target_arch="wasm32"))'.dependencies] 30 iced = { version = "0.13.1", features = ["image", "svg", "tokio"] } 31 tokio = { version = "1.45.1", features = ["fs", "time"] } 32 rfd = "0.15.3" 33 directories = "6.0.0" 34 env_logger = "0.11.8" 35 open = "5.3.2" 36 rust-embed = "8.7.2" 37 38 [target.'cfg(target_arch="wasm32")'.dependencies] 39 iced = { version = "0.13.1", features = ["image", "svg", "webgl", "fira-sans"] } 40 tokio = { version = "1.45.1", features = ["time"] } 41 console_error_panic_hook = "0.1.7" 42 console_log = { version = "1.0.0", features = ["color"] } 43 send_wrapper = "0.6.0" 44 rust-embed = { version = "8.7.2", features = ["debug-embed"] } 45 web-sys = { version = "0.3.77", features = ["Storage", "Window"] } 46 # will not work without this 47 instant = { version = "0.1", features = ["wasm-bindgen"] }