# 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-stream"
version = "0.6.0"
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 = "Event stream processing for p2p data-types"
readme = "README.md"
keywords = [
    "eventsourcing",
    "processing",
    "p2p",
    "local-first",
    "stream",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/p2panda/p2panda"
resolver = "2"

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

[features]
default = [
    "ingest",
    "log_prune",
    "orderer",
]
ingest = []
log_prune = []
orderer = []

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

[dependencies.futures-core]
version = "0.3.31"
features = ["alloc"]
default-features = false

[dependencies.p2panda-core]
version = "0.6.0"
default-features = true

[dependencies.p2panda-store]
version = "0.6.0"
default-features = true

[dependencies.pin-project]
version = "1.1.10"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1.52.3"
features = [
    "rt",
    "sync",
    "macros",
]
default-features = false

[dev-dependencies.futures-test]
version = "0.3.31"

[dev-dependencies.futures-util]
version = "0.3.32"
features = ["alloc"]
default-features = false

[dev-dependencies.p2panda-core]
version = "0.6.0"
features = ["test_utils"]
default-features = true

[dev-dependencies.p2panda-store]
version = "0.6.0"
features = ["test_utils"]
default-features = true

[dev-dependencies.serde]
version = "1.0.228"

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

[dev-dependencies.tokio-stream]
version = "0.1.17"
default-features = false

[lints.rust]
