lanflare-core 0.5.0

High-performance LocalSend v2.2 core transfer engine with hybrid discovery, TLS, and streaming I/O
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 = "lanflare-core"
version = "0.5.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance LocalSend v2.2 core transfer engine with hybrid discovery, TLS, and streaming I/O"
homepage = "https://github.com/fokx/lanflare"
readme = "README.md"
keywords = [
    "localsend",
    "network",
    "file-transfer",
    "p2p",
    "lan",
]
categories = [
    "network-programming",
    "asynchronous",
]
license = "Apache-2.0"
repository = "https://github.com/fokx/lanflare"

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

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

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

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

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

[[bench]]
name = "transfer_benchmark"
path = "benches/transfer_benchmark.rs"
harness = false

[dependencies.anyhow]
version = "1.0"

[dependencies.base64]
version = "0.22"

[dependencies.bytes]
version = "1.10"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.dirs]
version = "6.0"

[dependencies.futures-util]
version = "0.3"
features = [
    "alloc",
    "sink",
]
default-features = false

[dependencies.http-body-util]
version = "0.1"

[dependencies.hyper]
version = "1.6"
features = ["full"]

[dependencies.hyper-util]
version = "0.1"
features = ["full"]

[dependencies.if-addrs]
version = "0.13"

[dependencies.lanflare-proto]
version = "0.5.0"

[dependencies.mdns-sd]
version = "0.21"

[dependencies.pem]
version = "3.0"

[dependencies.rand]
version = "0.9"

[dependencies.rcgen]
version = "0.13"
features = [
    "pem",
    "ring",
]

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

[dependencies.ring]
version = "0.17"

[dependencies.rsa]
version = "0.9"

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

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.socket2]
version = "0.5"
features = ["all"]

[dependencies.thiserror]
version = "2.0"

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

[dependencies.tokio-rustls]
version = "0.26"
features = [
    "ring",
    "tls12",
]
default-features = false

[dependencies.tokio-stream]
version = "0.1"

[dependencies.tokio-util]
version = "0.7"
features = [
    "io",
    "rt",
]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "fmt",
]

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

[dependencies.x509-parser]
version = "0.17"
features = ["verify"]

[dependencies.zip]
version = "2.2"
features = ["deflate"]
default-features = false