automerge/automerge-frontend/Cargo.toml
Andrew Jeffery fc1b8f87fb
Use SmolStr in place of String (#182)
Most of the strings are small and so fit nicely in a SmolStr. When they
don't it just reverts to using a normal String.
2021-06-19 16:28:51 +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.17"
[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"]
std = []