# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.70.0" name = "automerge" version = "0.5.12" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A JSON-like data structure (a CRDT) that can be modified concurrently by different users, and merged again automatically" readme = "README.md" license = "MIT" repository = "https://github.com/automerge/automerge" [lib] name = "automerge" path = "src/lib.rs" [[example]] name = "quickstart" path = "examples/quickstart.rs" [[example]] name = "watch" path = "examples/watch.rs" [[test]] name = "block_tests" path = "tests/block_tests.rs" [[test]] name = "convert_string_to_text" path = "tests/convert_string_to_text.rs" [[test]] name = "test" path = "tests/test.rs" [[test]] name = "test_mark_patches" path = "tests/test_mark_patches.rs" [[test]] name = "test_save_load_orphans" path = "tests/test_save_load_orphans.rs" [[test]] name = "text" path = "tests/text.rs" [[bench]] name = "map" path = "benches/map.rs" harness = false [[bench]] name = "range" path = "benches/range.rs" harness = false [[bench]] name = "sync" path = "benches/sync.rs" harness = false [dependencies.cfg-if] version = "1.0" [dependencies.dot] version = "0.1.4" optional = true [dependencies.flate2] version = "^1.0.22" [dependencies.fxhash] version = "^0.2.1" [dependencies.hex] version = "^0.4.3" [dependencies.im] version = "15.1.0" [dependencies.itertools] version = "0.13.0" [dependencies.js-sys] version = "^0.3" optional = true [dependencies.leb128] version = "^0.2.5" [dependencies.rand] version = "^0.8.4" optional = true [dependencies.serde] version = "^1.0" features = ["derive"] [dependencies.sha2] version = "^0.10.0" [dependencies.smol_str] version = "0.2" features = ["serde"] [dependencies.thiserror] version = "^1.0.16" [dependencies.tinyvec] version = "^1.5.1" features = ["alloc"] [dependencies.tracing] version = "^0.1.29" [dependencies.unicode-segmentation] version = "1.10.1" [dependencies.uuid] version = "^1.2.1" features = [ "v4", "serde", ] [dependencies.wasm-bindgen] version = "^0.2" optional = true [dependencies.web-sys] version = "^0.3.55" features = ["console"] optional = true [dev-dependencies.criterion] version = "0.5" [dev-dependencies.maplit] version = "^1.0" [dev-dependencies.pretty_assertions] version = "1.0.0" [dev-dependencies.prettytable] version = "0.10.0" [dev-dependencies.proptest] version = "^1.0.0" features = ["std"] default-features = false [dev-dependencies.serde_json] version = "^1.0.73" features = ["float_roundtrip"] default-features = true [dev-dependencies.test-log] version = "0.2.10" features = ["trace"] default-features = false [dev-dependencies.tracing-subscriber] version = "^0.3" features = [ "fmt", "env-filter", ] [features] optree-visualisation = [ "dot", "rand", ] utf16-indexing = [] utf8-indexing = [] wasm = [ "js-sys", "wasm-bindgen", "web-sys", "uuid/js", ]