# 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 = "pipenet"
version = "0.2.3"
authors = ["Raffaele Ragni <raffaele.ragni@gmail.com>"]
build = false
include = [
    "/src",
    "/LICENSE-MIT",
    "/LICENSE-APACHE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Non blocking tcp stream wrapper using channels"
homepage = "https://codeberg.org/raffaeleragni/pipenet"
documentation = "https://docs.rs/pipenet"
readme = "README.md"
keywords = ["netcode"]
categories = ["network-programming"]
license = "MIT OR Apache-2.0"
repository = "https://codeberg.org/raffaeleragni/pipenet"

[features]
compression = ["dep:lz4-compression"]
default = []
encryption = ["dep:chacha20poly1305"]

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

[dependencies.byteorder]
version = "1"

[dependencies.chacha20poly1305]
version = "0.10.1"
optional = true

[dependencies.lz4-compression]
version = "0.7.0"
optional = true

[dependencies.mio]
version = "1"
features = [
    "net",
    "os-poll",
]
