# 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 = "pi-mesh"
version = "0.1.10"
authors = ["Victor Aremu <me@victorare.mu>"]
build = false
exclude = [
    "/.github/",
    "/bin/",
    "/npm/",
    "/scripts/",
    "/package.json",
    "/package-lock.json",
    "/tsconfig.json",
    "src/index.ts",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "P2P mesh for Pi agent sessions"
readme = "README.md"
keywords = [
    "pi",
    "agent",
    "mesh",
    "p2p",
]
categories = ["network-programming"]
license = "MIT"
repository = "https://github.com/ahkohd/pi-mesh"

[[bin]]
name = "pi-mesh"
path = "src/main.rs"

[[bin]]
name = "pi-mesh-tailscale"
path = "src/bin/pi-mesh-tailscale.rs"

[dependencies.axum]
version = "0.8"
features = [
    "json",
    "tokio",
    "http1",
]

[dependencies.hostname]
version = "0.4"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
]
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "net",
    "time",
    "process",
    "sync",
    "io-util",
]

[dependencies.uuid]
version = "1"
features = [
    "v4",
    "serde",
]
