bcab3b6e47
The assert_doc and assert_obj macros in automerge/tests::helpers are useful for writing tests for any application working with automerge documents. Typically however, you only want these utilities in tests so rather than packaging them in the main `automerge` crate move them to a new crate (in the spirit of `tokio_test`)
18 lines
612 B
TOML
18 lines
612 B
TOML
[package]
|
|
name = "automerge-test"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
license = "MIT"
|
|
repository = "https://github.com/automerge/automerge-rs"
|
|
rust-version = "1.57.0"
|
|
description = "Utilities for testing automerge libraries"
|
|
readme = "../README.md"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
automerge = { path = "../automerge"}
|
|
smol_str = { version = "^0.1.21", features=["serde"] }
|
|
serde = { version = "^1.0", features=["derive"] }
|
|
decorum = "0.3.1"
|
|
serde_json = { version = "^1.0.73", features=["float_roundtrip"], default-features=true }
|