Skip to content

Implement WASM-compatible UnixTimestamp generation using js-sys.#56

Open
matta wants to merge 2 commits intoalexjg:mainfrom
matta:wasm
Open

Implement WASM-compatible UnixTimestamp generation using js-sys.#56
matta wants to merge 2 commits intoalexjg:mainfrom
matta:wasm

Conversation

@matta
Copy link

@matta matta commented Jan 21, 2026

In its current state this PR is more a question than a serious proposal -- are you interested in this change?

If yes, I can polish it up. I also wonder if there is a "wasm-portable" time API that samod could use instead of std:: time.

This is what I had to do to get samod up and running as a rust-only automerge-repo client in a web-only Dioxus app. With out it the app would crash browser-side.

@matta
Copy link
Author

matta commented Jan 21, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant