Merge sync_lib and sync_wasm

This commit is contained in:
Andras Schmelczer 2024-12-08 21:58:28 +00:00
parent dfb747c206
commit a2a4611497
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
9 changed files with 134 additions and 58 deletions

View file

@ -1,9 +1,27 @@
[package]
name = "sync_lib"
version = "0.1.0"
edition = "2024"
authors = ["Andras Schmelczer <andras@schmelczer.dev>"]
edition = "2018"
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
base64 = "0.22.1"
reconcile = { path = "../reconcile" }
wasm-bindgen = "0.2.84"
getrandom = { version = "0.2.3", features = ["js"] }
thiserror = {workspace = true}
# The `console_error_panic_hook` crate provides better debugging of panics by
# logging them with `console.error`. This is great for development, but requires
# all the `std::fmt` and `std::panicking` infrastructure, so isn't great for
# code size when deploying.
console_error_panic_hook = { version = "0.1.7", optional = true }
[dev-dependencies]
wasm-bindgen-test = "0.3.34"
[features]
default = ["console_error_panic_hook"]