automerge/automerge-frontend/Cargo.toml

48 lines
1.3 KiB
TOML

[package]
name = "automerge-frontend"
version = "0.1.0"
authors = ["Alex Good <alex@memoryandthought.me>"]
edition = "2018"
license = "MIT"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
bench = false
[dependencies]
automerge-protocol = { path = "../automerge-protocol" }
serde = { version = "^1.0", features=["derive"] }
serde_json = "^1.0"
uuid = { version = "^0.8.2", features=["v4"] }
maplit = "1.0.2"
thiserror = "1.0.16"
unicode-segmentation = "1.7.1"
arbitrary = { version = "1", features = ["derive"], optional = true }
smol_str = "0.1.18"
[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies]
getrandom = { version = "0.2.2", features=["js"] }
uuid = { version = "0.8.1", features = ["wasm-bindgen", "v4", "serde"] }
[dev-dependencies]
automerge-backend = { path = "../automerge-backend" }
criterion = "0.3.3"
rand = "^0.8"
env_logger = "~0.9"
log = "0.4.14"
wasm-bindgen-test = "0.3.22"
pretty_assertions = "~1.1"
proptest = { version = "~1.0", default-features = false, features = ["std"] }
[[bench]]
name = "statetree_apply_diff"
harness = false
[[bench]]
name = "change"
harness = false
[features]
default = ["std"]
derive-arbitrary = ["arbitrary", "smol_str/arbitrary"]
std = []