kitsune2 0.5.0-dev.0

p2p / dht communication framework api
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 = "kitsune2"
version = "0.5.0-dev.0"
authors = ["Holochain Core Dev Team <devcore@holochain.org>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "p2p / dht communication framework api"
homepage = "https://www.holochain.org/"
documentation = "https://docs.rs/kitsune2"
readme = "README.md"
keywords = [
    "holochain",
    "kitsune",
    "p2p",
    "dht",
    "networking",
]
categories = ["network-programming"]
license = "Apache-2.0"
repository = "https://github.com/holochain/kitsune2"
resolver = "2"

[features]
default = ["transport-iroh"]
schema = [
    "dep:schemars",
    "dep:serde_json",
    "kitsune2_core/schema",
    "kitsune2_gossip/schema",
    "kitsune2_transport_tx5?/schema",
    "kitsune2_transport_iroh?/schema",
]
transport-iroh = ["dep:kitsune2_transport_iroh"]
transport-tx5-backend-go-pion = [
    "dep:kitsune2_transport_tx5",
    "kitsune2_transport_tx5/backend-go-pion",
]

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

[[example]]
name = "schema"
path = "examples/schema.rs"
required-features = ["schema"]

[[test]]
name = "blocks"
path = "tests/blocks.rs"

[[test]]
name = "integration"
path = "tests/integration.rs"

[dependencies.bytes]
version = "1.8.0"
features = ["serde"]

[dependencies.kitsune2_api]
version = "0.5.0-dev.0"

[dependencies.kitsune2_core]
version = "0.5.0-dev.0"

[dependencies.kitsune2_gossip]
version = "0.5.0-dev.0"

[dependencies.kitsune2_transport_iroh]
version = "0.5.0-dev.0"
optional = true

[dependencies.kitsune2_transport_tx5]
version = "0.5.0-dev.0"
optional = true
default-features = false

[dependencies.schemars]
version = "0.9"
features = ["preserve_order"]
optional = true

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

[dependencies.serde_json]
version = "1.0"
optional = true