summaryrefslogtreecommitdiff
path: root/rust/crates/bridge/Cargo.toml
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2026-03-29 14:25:25 +0200
committerMaze Winther <mazewinther@gmail.com>2026-03-29 15:58:46 +0200
commit5777a555f60b780b7db430fa7bfa66a3bcb2623f (patch)
treeef8878dc0cbacc4b164efed8a8bf685561302a46 /rust/crates/bridge/Cargo.toml
parent220ec757d42b54f498d031436e5b4b03931b165c (diff)
downloadopencut-5777a555f60b780b7db430fa7bfa66a3bcb2623f.tar.gz
feat: add shared Rust crates for cross-platform time utilities
Introduce `bridge` proc-macro crate with `#[export]` attribute that conditionally applies `wasm_bindgen` for WASM builds, and `time` crate porting all timecode/frame utilities from TypeScript to Rust.
Diffstat (limited to 'rust/crates/bridge/Cargo.toml')
-rw-r--r--rust/crates/bridge/Cargo.toml12
1 files changed, 12 insertions, 0 deletions
diff --git a/rust/crates/bridge/Cargo.toml b/rust/crates/bridge/Cargo.toml
new file mode 100644
index 00000000..3b1f0254
--- /dev/null
+++ b/rust/crates/bridge/Cargo.toml
@@ -0,0 +1,12 @@
+[package]
+name = "bridge"
+version = "0.1.0"
+edition = "2024"
+
+[lib]
+path = "src/bridge.rs"
+proc-macro = true
+
+[dependencies]
+quote = "1.0.45"
+syn = { version = "2.0.117", features = ["full"] }