pignet 0.7.3

Netwok crate for use by other crates in the pigg project
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 = "2021"
rust-version = "1.80"
name = "pignet"
version = "0.7.3"
authors = [
    "Andrew Mackenzie <andrew@mackenzie-serres.net>",
    "Sundaram Krishnan <krishnsundaram@gmail.com>",
]
build = false
exclude = [
    ".cargo",
    ".git",
    ".github",
    ".idea",
    "configs/",
    "tests/",
    ".gitignore",
    "codecov.yml",
    "Makefile",
    "dist-workspace.toml",
    "FUNDING.json",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Netwok crate for use by other crates in the pigg project"
homepage = "https://mackenzie-serres.net/pigg/"
documentation = "https://github.com/andrewdavidmackenzie/pigg/README.md"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/andrewdavidmackenzie/pigg/"

[features]
default = []
discovery = ["pigdef/discovery"]
iroh = [
    "pigdef/iroh",
    "dep:iroh",
    "dep:rand",
    "dep:rand_core",
]
tcp = ["pigdef/tcp"]
usb = [
    "pigdef/usb",
    "dep:nusb",
    "dep:tokio",
    "dep:serde",
]

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

[dependencies.anyhow]
version = "1.0.100"

[dependencies.async-std]
version = "1.13.2"

[dependencies.iroh]
version = "0.94.0"
optional = true
default-features = false

[dependencies.nusb]
version = "0.1.14"
optional = true
default-features = false

[dependencies.pigdef]
version = "0.7"
features = ["std"]
default-features = false

[dependencies.postcard]
version = "1.1.3"
features = ["alloc"]

[dependencies.rand]
version = "0.9.2"
features = [
    "std",
    "std_rng",
]
optional = true
default-features = false

[dependencies.rand_core]
version = "0.6.4"
optional = true

[dependencies.serde]
version = "1.0.228"
features = ["derive"]
optional = true
default-features = false

[dependencies.tokio]
version = "1.48.0"
features = ["time"]
optional = true
default-features = false