From dcf54c1250431f5a4a2848f7c07781ef5eebacaf Mon Sep 17 00:00:00 2001 From: Maze Winther Date: Tue, 31 Mar 2026 04:03:52 +0200 Subject: feat: migrate time utilities from typescript to rust WASM --- rust/crates/time/Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'rust/crates/time/Cargo.toml') diff --git a/rust/crates/time/Cargo.toml b/rust/crates/time/Cargo.toml index 08a93224..bf66e4e2 100644 --- a/rust/crates/time/Cargo.toml +++ b/rust/crates/time/Cargo.toml @@ -9,7 +9,9 @@ crate-type = ["rlib", "cdylib"] [dependencies] bridge = { version = "0.1.0", path = "../bridge" } +serde = { version = "1", features = ["derive"] } +tsify-next = { version = "0.5", optional = true } wasm-bindgen = { version = "0.2.115", optional = true } [features] -wasm = ["dep:wasm-bindgen"] \ No newline at end of file +wasm = ["dep:wasm-bindgen", "dep:tsify-next", "tsify-next/js"] \ No newline at end of file -- cgit v1.3.1