[package]
edition = "2024"
name = "lightstream"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Composable, zero-copy Arrow IPC and native data streaming for Rust with SIMD-aligned I/O, async support, and memory-mapping."
readme = "README.md"
keywords = [
"arrow",
"apache-arrow",
"polars",
"streaming",
"simd",
]
categories = [
"asynchronous",
"data-structures",
"encoding",
"filesystem",
"network-programming",
]
license = "MIT"
resolver = "2"
[features]
datetime = ["minarrow/datetime"]
default = []
extended_categorical = ["minarrow/extended_categorical"]
extended_numeric_types = ["minarrow/extended_numeric_types"]
large_string = ["minarrow/large_string"]
mmap = ["libc"]
parquet = []
quic = [
"tokio/net",
"quinn",
]
snappy = ["snap"]
stdio = ["tokio/io-std"]
tcp = ["tokio/net"]
uds = ["tokio/net"]
websocket = [
"tcp",
"tokio-tungstenite",
]
zstd = ["dep:zstd"]
[lib]
name = "lightstream"
path = "src/lib.rs"
[[example]]
name = "arrow_ipc_basic"
path = "examples/arrow_ipc_basic.rs"
[[example]]
name = "csv_basic"
path = "examples/csv_basic.rs"
[[example]]
name = "mmap_zero_copy"
path = "examples/mmap_zero_copy.rs"
[[example]]
name = "parquet_io"
path = "examples/parquet_io.rs"
[[example]]
name = "table_reader"
path = "examples/table_reader.rs"
[[example]]
name = "table_stream_reader"
path = "examples/table_stream_reader.rs"
[[example]]
name = "table_stream_writer"
path = "examples/table_stream_writer.rs"
[[example]]
name = "tlv_protocol"
path = "examples/tlv_protocol.rs"
[[example]]
name = "write_files"
path = "examples/write_files.rs"
[[test]]
name = "ipc_roundtrip"
path = "tests/ipc_roundtrip.rs"
[[test]]
name = "parquet_roundtrip"
path = "tests/parquet_roundtrip.rs"
[[test]]
name = "pyarrow_roundtrip"
path = "tests/pyarrow_roundtrip.rs"
[[test]]
name = "quic_roundtrip"
path = "tests/quic_roundtrip.rs"
[[test]]
name = "stdio_roundtrip"
path = "tests/stdio_roundtrip.rs"
[[test]]
name = "tcp_roundtrip"
path = "tests/tcp_roundtrip.rs"
[[test]]
name = "test_compression_api"
path = "tests/test_compression_api.rs"
[[test]]
name = "test_compression_integration"
path = "tests/test_compression_integration.rs"
[[test]]
name = "test_compression_roundtrip"
path = "tests/test_compression_roundtrip.rs"
[[test]]
name = "test_mmap_shared_buffers"
path = "tests/test_mmap_shared_buffers.rs"
[[test]]
name = "uds_roundtrip"
path = "tests/uds_roundtrip.rs"
[[test]]
name = "websocket_roundtrip"
path = "tests/websocket_roundtrip.rs"
[dependencies.flatbuffers]
version = "25.2.10"
[dependencies.futures-core]
version = "0.3"
[dependencies.futures-sink]
version = "0.3.31"
[dependencies.futures-util]
version = "0.3"
features = ["sink"]
[dependencies.libc]
version = "0.2.174"
optional = true
[dependencies.minarrow]
version = "0.7.2"
features = [
"chunked",
"views",
"large_string",
]
default-features = false
[dependencies.quinn]
version = "0.11"
features = [
"runtime-tokio",
"rustls-ring",
]
optional = true
default-features = false
[dependencies.snap]
version = "1.0"
optional = true
[dependencies.tokio]
version = "1"
features = [
"fs",
"io-util",
"rt-multi-thread",
"macros",
]
[dependencies.tokio-tungstenite]
version = "0.28"
optional = true
[dependencies.zstd]
version = "0.12"
optional = true
[dev-dependencies.rcgen]
version = "0.13"
[dev-dependencies.rustls]
version = "0.23"
features = [
"ring",
"std",
]
default-features = false
[dev-dependencies.tempfile]
version = "3.20.0"