# 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 = "kitsune_p2p_fetch"
version = "0.3.0-beta-dev.31"
authors = ["Holochain Core Dev Team <devcore@holochain.org>"]
description = "Kitsune P2p Fetch Queue Logic"
homepage = "https://github.com/holochain/holochain"
documentation = "https://docs.rs/kitsune_p2p_fetch"
readme = "README.md"
keywords = [
    "holochain",
    "holo",
    "p2p",
    "dht",
    "networking",
]
categories = ["network-programming"]
license = "Apache-2.0"

[dependencies.arbitrary]
version = "1"
optional = true

[dependencies.backon]
version = "0.4.1"

[dependencies.derive_more]
version = "0.99"

[dependencies.human-repr]
version = "1"
optional = true

[dependencies.indexmap]
version = "2.1.0"

[dependencies.kitsune_p2p_timestamp]
version = "^0.3.0-beta-dev.10"

[dependencies.kitsune_p2p_types]
version = "^0.3.0-beta-dev.28"

[dependencies.proptest]
version = "1"
optional = true

[dependencies.proptest-derive]
version = "0"
optional = true

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.tokio]
version = "1.27"
features = ["full"]

[dependencies.tracing]
version = "0.1.29"

[dev-dependencies.holochain_serialized_bytes]
version = "=0.0.53"

[dev-dependencies.holochain_trace]
version = "^0.3.0-beta-dev.11"

[dev-dependencies.pretty_assertions]
version = "1.4.0"

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

[dev-dependencies.test-case]
version = "3.3"

[dev-dependencies.tokio]
version = "1.27"
features = [
    "full",
    "test-util",
]

[features]
default = []
fuzzing = [
    "arbitrary",
    "proptest",
    "proptest-derive",
    "kitsune_p2p_timestamp/fuzzing",
    "kitsune_p2p_types/fuzzing",
]
sqlite = ["kitsune_p2p_types/sqlite"]
sqlite-encrypted = ["kitsune_p2p_types/sqlite-encrypted"]
test_utils = [
    "human-repr",
    "kitsune_p2p_types/test_utils",
]

[lints.clippy]
cargo = "allow"
complexity = "deny"
correctness = "deny"
dbg_macro = "deny"
nursery = "allow"
pedantic = "allow"
perf = "deny"
restriction = "allow"
style = "deny"
