lnc-network 0.2.7

Network layer for LANCE - LWP protocol, connection handling, zero-copy parsing
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"
rust-version = "1.85"
name = "lnc-network"
version = "0.2.7"
authors = ["LANCE Team"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Network layer for LANCE - LWP protocol, connection handling, zero-copy parsing"
homepage = "https://github.com/nitecon/lance"
readme = "README.md"
keywords = [
    "networking",
    "protocol",
    "lance",
    "lwp",
]
categories = ["network-programming"]
license = "Apache-2.0"
repository = "https://github.com/nitecon/lance"
resolver = "2"

[features]
compression = [
    "lz4",
    "zstd",
]
default = []
lz4 = ["lz4_flex"]
tls = [
    "tokio-rustls",
    "rustls",
    "rustls-pki-types",
    "webpki-roots",
]

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

[dependencies.bytes]
version = "1.5"

[dependencies.lnc-core]
version = "0.2.7"

[dependencies.lnc-metrics]
version = "0.2.7"

[dependencies.lz4_flex]
version = "0.11"
optional = true

[dependencies.rustls]
version = "0.23"
features = [
    "ring",
    "std",
]
optional = true
default-features = false

[dependencies.rustls-pki-types]
version = "1.9"
optional = true

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

[dependencies.tokio-rustls]
version = "0.26"
features = ["ring"]
optional = true
default-features = false

[dependencies.webpki-roots]
version = "0.26"
optional = true

[dependencies.zerocopy]
version = "0.8"
features = ["derive"]

[dependencies.zstd]
version = "0.13"
optional = true

[dev-dependencies]