rustpad/rustpad-wasm/Cargo.toml
Eric Zhang 204b084e62
Fix Docker build and add multi-platform support (#29)
* Specify node:lts-alpine tag to fix build error

* Attempt to remove dependency on rust-musl-builder

* Remove rustpad-server specifier
2021-11-11 01:45:04 -05:00

23 lines
531 B
TOML

[package]
name = "rustpad-wasm"
version = "0.1.0"
authors = ["Eric Zhang <ekzhang1@gmail.com>"]
edition = "2021"
[lib]
crate-type = ["cdylib", "rlib"]
[features]
default = ["console_error_panic_hook"]
[dependencies]
bytecount = "0.6"
console_error_panic_hook = { version = "0.1", optional = true }
operational-transform = { version = "0.6.0", features = ["serde"] }
serde = { version = "1.0.126", features = ["derive"] }
serde_json = "1.0.64"
wasm-bindgen = "0.2"
js-sys = "0.3.51"
[dev-dependencies]
wasm-bindgen-test = "0.3"