Skip to content

Commit

Permalink
try enable js feature for jiff
Browse files Browse the repository at this point in the history
  • Loading branch information
jprochazk committed Dec 16, 2024
1 parent 9453818 commit 19b94ee
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3672,6 +3672,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "db69f08d4fb10524cacdb074c10b296299d71274ddbc830a8ee65666867002e9"
dependencies = [
"jiff-tzdb-platform",
"js-sys",
"wasm-bindgen",
"windows-sys 0.59.0",
]

Expand Down
4 changes: 4 additions & 0 deletions crates/viewer/re_ui/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,9 @@ sublime_fuzzy.workspace = true
jiff.workspace = true


[target.'cfg(target_arch = "wasm32")'.dependencies]
jiff = { workspace = true, features = ["js"] }


[dev-dependencies]
egui_kittest.workspace = true

0 comments on commit 19b94ee

Please sign in to comment.