p2panda-sync 0.5.1

Local-first sync for append-only logs and traits to build your own
Documentation
# 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 = "2024"
name = "p2panda-sync"
version = "0.5.1"
authors = [
    "adz <x12@adz.garden>",
    "sandreae <contact@samandreae.com>",
    "glyph <glyph@mycelial.technology>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Local-first sync for append-only logs and traits to build your own"
readme = "README.md"
keywords = [
    "p2p",
    "local-first",
    "sync",
    "replication",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/p2panda/p2panda"
resolver = "2"

[package.metadata.docs.rs]
all-features = true

[features]
default = []
test_utils = [
    "dep:rand",
    "dep:tracing-subscriber",
]

[lib]
name = "p2panda_sync"
path = "src/lib.rs"

[dependencies.futures]
version = "0.3.31"

[dependencies.futures-util]
version = "0.3.31"

[dependencies.p2panda-core]
version = "0.5.1"

[dependencies.p2panda-store]
version = "0.5.1"

[dependencies.pin-project-lite]
version = "0.2.16"

[dependencies.rand]
version = "0.9.2"
optional = true

[dependencies.serde]
version = "1.0.228"

[dependencies.thiserror]
version = "2.0.17"

[dependencies.tokio]
version = "1.47.1"
features = [
    "macros",
    "sync",
]

[dependencies.tokio-stream]
version = "0.1.17"
features = ["sync"]

[dependencies.tracing]
version = "0.1.41"

[dependencies.tracing-subscriber]
version = "0.3.20"
features = ["env-filter"]
optional = true

[dev-dependencies.assert_matches]
version = "1.5.0"

[dev-dependencies.rand]
version = "0.9.2"

[dev-dependencies.tokio]
version = "1.47.1"
features = [
    "time",
    "rt",
    "macros",
    "sync",
]

[dev-dependencies.tracing-subscriber]
version = "0.3.20"
features = ["env-filter"]

[lints.rust]