automerge/automerge-frontend/Cargo.toml
Orion Henry 3db6f9ef13
Fix Clippy issues, broken tests, formatting issues (#188)
* fix clippy errors

* Bump travis nvm version

* Add smol_str arbitrary

* Fix Err prefix clippy error

* Fix clippy needless-borrow

* Ensure SortedVec sorts on deserialize

Co-authored-by: Andrew Jeffery <dev@jeffas.io>
2021-06-28 13:20:21 +01:00

48 lines
1.2 KiB
TOML

[package]
name = "automerge-frontend"
version = "0.1.0"
authors = ["Alex Good <alex@memoryandthought.me>"]
edition = "2018"
# 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" }
futures = "0.3.4"
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"
im-rc = "15.0.0"
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.2"
env_logger = "0.8.3"
log = "0.4.14"
wasm-bindgen-test = "0.3.22"
pretty_assertions = "0.7.1"
[[bench]]
name = "statetree_apply_diff"
harness = false
[[bench]]
name = "change"
harness = false
[features]
default = ["std"]
derive-arbitrary = ["arbitrary", "smol_str/arbitrary"]
std = []