chore(core): add chrono wasmbind feature for WASM target
Code review flagged that chrono's clock feature requires wasmbind for WASM builds — without it Utc::now() will fail at runtime in the idfoto-wasm crate. Also drops the redundant hex entry in [dev-dependencies] (already in [dependencies]). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -20,10 +20,8 @@ zeroize = { version = "1", features = ["zeroize_derive"] }
|
|||||||
zxcvbn = { version = "3", default-features = false }
|
zxcvbn = { version = "3", default-features = false }
|
||||||
bip39 = { version = "2", default-features = false, features = ["std"] }
|
bip39 = { version = "2", default-features = false, features = ["std"] }
|
||||||
unicode-normalization = "0.1"
|
unicode-normalization = "0.1"
|
||||||
chrono = { version = "0.4", default-features = false, features = ["serde", "clock"] }
|
chrono = { version = "0.4", default-features = false, features = ["serde", "clock", "wasmbind"] }
|
||||||
hex = "0.4"
|
hex = "0.4"
|
||||||
url = { version = "2", features = ["serde"] }
|
url = { version = "2", features = ["serde"] }
|
||||||
getrandom = "0.2"
|
getrandom = "0.2"
|
||||||
|
|
||||||
[dev-dependencies]
|
|
||||||
hex = "0.4"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user