mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-03 15:21:17 -05:00
The web build has web-time again for the status bar's Date and Time readout
This commit is contained in:
@@ -84,6 +84,11 @@ craft = { workspace = true, features = ["dialogs", "update"] }
|
||||
# Cargo.lock with the time-zone crates `clock` uses.
|
||||
chrono = { workspace = true, features = ["clock"] }
|
||||
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
# The status bar's Date and Time readout reads the page's clock with this crate in the web build. It
|
||||
# is MIT OR Apache-2.0 and already in the build through eframe.
|
||||
web-time = "1"
|
||||
|
||||
# The current user's id (`geteuid`): Preview in Browser uses its temporary folder only when that
|
||||
# user owns it (src/dialogs/save_for_web.rs). Already in Cargo.lock (tempfile), so this adds no
|
||||
# new crate.
|
||||
|
||||
Reference in New Issue
Block a user