build: gate web-time behind cfg(target_arch = "wasm32") (#1086)

This commit is contained in:
Paolo Barbolini
2025-05-01 18:32:26 +02:00
committed by GitHub
parent 83ba93944d
commit 771d212198
2 changed files with 3 additions and 2 deletions

View File

@@ -73,6 +73,7 @@ sha2 = { version = "0.10", features = ["oid"], optional = true }
rsa = { version = "0.9", optional = true }
ed25519-dalek = { version = "2", optional = true }
[target.'cfg(target_arch = "wasm32")'.dependencies]
## web-time for wasm support
web-time = { version = "1.1.0", optional = true }