-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
143 lines (123 loc) · 3.85 KB
/
Cargo.toml
File metadata and controls
143 lines (123 loc) · 3.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
[package]
name = "lightstream"
version = "0.4.4"
edition = "2024"
license = "AGPL-3.0-or-later"
keywords = [
"arrow",
"apache-arrow",
"polars",
"streaming",
"simd",
]
categories = [
"asynchronous",
"data-structures",
"encoding",
"filesystem",
"network-programming",
]
description = "Composable, zero-copy Arrow IPC and native data streaming for Rust with SIMD-aligned I/O, async support, and memory-mapping."
repository = "https://github.com/pbower/lightstream"
homepage = "https://github.com/pbower/lightstream"
documentation = "https://docs.rs/lightstream"
[dependencies]
tokio = { version = "1", features = ["fs", "io-util", "rt-multi-thread", "macros"] }
futures-core = "0.3"
futures-util = { version = "0.3", features = ["sink"] }
flatbuffers = "25.12.19"
libc = { version = "0.2.183", optional = true }
futures-sink = "0.3.32"
minarrow = { version = "0.9.1", features = ["chunked", "views", "large_string"] }
snap = { version = "1.0", optional = true }
tokio-tungstenite = { version = "0.28", optional = true }
zstd = { version = "0.13", optional = true }
quinn = { version = "0.11", optional = true, default-features = false, features = ["runtime-tokio", "rustls-ring"] }
wtransport = { version = "0.7", optional = true }
prost = { version = "0.14", optional = true }
rmp-serde = { version = "1", optional = true }
serde = { version = "1", optional = true, features = ["derive"] }
tracing = "0.1.44"
[dev-dependencies]
tempfile = "3.26.0"
rcgen = "0.14"
rustls = { version = "0.23", default-features = false, features = ["ring", "std"] }
criterion = { version = "0.8", features = ["async_tokio"] }
[[bench]]
name = "transport_throughput"
harness = false
required-features = ["protocol", "tcp", "uds"]
[features]
extended_categorical = ["minarrow/extended_categorical"]
large_string = ["minarrow/large_string"]
datetime = ["minarrow/datetime"]
extended_numeric_types = ["minarrow/extended_numeric_types"]
mmap = ["libc"]
# Adds parquet IO
parquet = []
# TCP transport
tcp = ["tokio/net"]
# WebSocket transport
websocket = ["tcp", "tokio-tungstenite"]
# QUIC transport
quic = ["tokio/net", "quinn"]
# WebTransport transport
webtransport = ["tokio/net", "wtransport"]
# Unix domain socket transport
uds = ["tokio/net"]
# Stdin/stdout transport
stdio = ["tokio/io-std"]
# Lightstream protocol multiplexing
protocol = []
# Protobuf support for protocol messages via prost
protobuf = ["protocol", "prost"]
# MessagePack support for protocol messages via rmp-serde
msgpack = ["protocol", "rmp-serde", "serde"]
# Adds snappy compression option
snappy = ["snap"]
# Adds zstd compression option
zstd = ["dep:zstd"]
default = []
[[example]]
name = "lightstream"
required-features = ["protocol", "tcp", "msgpack"]
[[example]]
name = "tcp_lightstream"
path = "examples/tcp/lightstream.rs"
required-features = ["protocol", "tcp", "msgpack"]
[[example]]
name = "tcp_arrow"
path = "examples/tcp/arrow.rs"
required-features = ["tcp"]
[[example]]
name = "websocket_lightstream"
path = "examples/websocket/lightstream.rs"
required-features = ["protocol", "websocket", "msgpack"]
[[example]]
name = "websocket_arrow"
path = "examples/websocket/arrow.rs"
required-features = ["websocket"]
[[example]]
name = "uds_lightstream"
path = "examples/uds/lightstream.rs"
required-features = ["protocol", "uds", "msgpack"]
[[example]]
name = "uds_arrow"
path = "examples/uds/arrow.rs"
required-features = ["uds"]
[[example]]
name = "quic_lightstream"
path = "examples/quic/lightstream.rs"
required-features = ["protocol", "quic", "msgpack"]
[[example]]
name = "quic_arrow"
path = "examples/quic/arrow.rs"
required-features = ["quic"]
[[example]]
name = "webtransport_lightstream"
path = "examples/webtransport/lightstream.rs"
required-features = ["protocol", "webtransport", "msgpack"]
[[example]]
name = "webtransport_arrow"
path = "examples/webtransport/arrow.rs"
required-features = ["webtransport"]