# 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" name = "peermerge" version = "0.0.3" authors = ["Timo Tiuraniemi "] description = "Manage JSON-like documents with multiple writers, without a central authority, using a P2P protocol" documentation = "https://docs.rs/peermerge" readme = "README.md" keywords = [ "p2p", "crdt", ] categories = [ "asynchronous", "data-structures", "wasm", ] license = "AGPL-3.0-only" repository = "https://codeberg.org/convivialsoftware/peermerge" [lib] path = "src/lib.rs" [[bench]] name = "three_peers_separate" harness = false [dependencies.automerge] version = "0.5" [dependencies.bytes] version = "1" optional = true [dependencies.chacha20poly1305] version = "0.10" [dependencies.compact-encoding] version = "1" [dependencies.dashmap] version = "5" [dependencies.data-encoding] version = "2" [dependencies.derivative] version = "2" [dependencies.derive_builder] version = "0.12" [dependencies.futures] version = "0.3" [dependencies.hypercore-protocol] version = "0.4" features = [ "cache", "sparse", ] optional = true default-features = false [dependencies.random-access-memory] version = "3" [dependencies.random-access-storage] version = "5" [dependencies.thiserror] version = "1" [dependencies.tracing] version = "0.1" [dependencies.uuid] version = "1" [dependencies.wasm-bindgen-futures] version = "0.4" optional = true [dev-dependencies.anyhow] version = "1.0.28" [dev-dependencies.criterion] version = "0.4" features = [ "async_std", "async_tokio", ] [dev-dependencies.pprof] version = "0.11.0" features = [ "flamegraph", "criterion", ] [dev-dependencies.rand] version = "0.8" [dev-dependencies.sluice] version = "0.5.5" [dev-dependencies.tempfile] version = "3.1.0" [dev-dependencies.test-log] version = "0.2.11" features = ["trace"] default-features = false [dev-dependencies.tokio] version = "1.27.0" features = [ "macros", "rt-multi-thread", ] [dev-dependencies.tracing-subscriber] version = "0.3.16" features = [ "env-filter", "fmt", ] [features] async-std-runtime = [ "async-std", "hypercore-protocol/async-std", "random-access-disk/async-std", ] channel-writer = ["bytes"] default = [ "hypercore-feed", "tokio-runtime", "wasm-bindgen", ] hypercore-feed = ["hypercore-protocol"] log = ["tracing/log"] tokio-runtime = [ "tokio", "hypercore-protocol/tokio", "random-access-disk/tokio", ] wasm-bindgen = [ "wasm-bindgen-futures", "hypercore-protocol/wasm-bindgen", "automerge/wasm", "uuid/js", ] [target."cfg(not(target_arch = \"wasm32\"))".dependencies.async-std] version = "1" features = [ "attributes", "unstable", ] optional = true [target."cfg(not(target_arch = \"wasm32\"))".dependencies.random-access-disk] version = "3" features = ["sparse"] default-features = false [target."cfg(not(target_arch = \"wasm32\"))".dependencies.tokio] version = "1" features = [ "rt", "sync", ] optional = true