[package]
edition = "2021"
rust-version = "1.70"
name = "hedl-stream"
version = "2.0.0"
authors = ["marcflp <marc@dweve.com>"]
build = false
include = [
"Cargo.toml",
"README.md",
"LICENSE",
"NOTICE",
"CHANGELOG*",
"src/**",
"tests/**",
"benches/**",
"examples/**",
]
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Streaming parser for HEDL - memory-efficient processing of large files"
homepage = "https://dweve.com"
documentation = "https://docs.rs/hedl-stream"
readme = "README.md"
keywords = [
"hedl",
"data-format",
"serialization",
"parser",
"token-efficient",
]
categories = [
"encoding",
"parser-implementations",
"data-structures",
]
license = "Apache-2.0"
repository = "https://github.com/dweve-ai/hedl"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[badges.maintenance]
status = "actively-developed"
[features]
async = [
"tokio",
"futures-core",
"async-compression",
]
avx2 = []
compression = ["flate2"]
compression-all = [
"compression",
"compression-zstd",
"compression-lz4",
]
compression-lz4 = ["lz4_flex"]
compression-zstd = ["zstd"]
default = []
[lib]
name = "hedl_stream"
path = "src/lib.rs"
[[example]]
name = "async_basic"
path = "examples/async_basic.rs"
required-features = ["async"]
[[example]]
name = "async_batch_processing"
path = "examples/async_batch_processing.rs"
required-features = ["async"]
[[example]]
name = "async_cancellation"
path = "examples/async_cancellation.rs"
required-features = ["async"]
[[example]]
name = "async_concurrent"
path = "examples/async_concurrent.rs"
required-features = ["async"]
[[example]]
name = "async_concurrent_files"
path = "examples/async_concurrent_files.rs"
required-features = ["async"]
[[example]]
name = "async_file"
path = "examples/async_file.rs"
required-features = ["async"]
[[example]]
name = "async_stream_trait"
path = "examples/async_stream_trait.rs"
required-features = ["async"]
[[example]]
name = "timeout_demo"
path = "examples/timeout_demo.rs"
[[test]]
name = "async_inline_children_tests"
path = "tests/async_inline_children_tests.rs"
[[test]]
name = "async_integration_tests"
path = "tests/async_integration_tests.rs"
[[test]]
name = "buffer_pool_integration_tests"
path = "tests/buffer_pool_integration_tests.rs"
[[test]]
name = "compression_tests"
path = "tests/compression_tests.rs"
[[test]]
name = "config_and_builder_tests"
path = "tests/config_and_builder_tests.rs"
[[test]]
name = "error_handling_red_tests"
path = "tests/error_handling_red_tests.rs"
[[test]]
name = "header_directive_tests"
path = "tests/header_directive_tests.rs"
[[test]]
name = "inline_children_tests"
path = "tests/inline_children_tests.rs"
[[test]]
name = "parser_edge_cases"
path = "tests/parser_edge_cases.rs"
[[test]]
name = "property_tests"
path = "tests/property_tests.rs"
[[test]]
name = "simd_correctness"
path = "tests/simd_correctness.rs"
[[test]]
name = "stream_reader_tests"
path = "tests/stream_reader_tests.rs"
[[test]]
name = "streaming_tests"
path = "tests/streaming_tests.rs"
[[test]]
name = "timeout_tests"
path = "tests/timeout_tests.rs"
[[test]]
name = "v20_directive_tests"
path = "tests/v20_directive_tests.rs"
[dependencies.async-compression]
version = "0.4"
features = [
"tokio",
"gzip",
"zstd",
]
optional = true
[dependencies.flate2]
version = "1.0"
optional = true
[dependencies.futures-core]
version = "0.3"
optional = true
[dependencies.hedl-core]
version = "2.0.0"
[dependencies.lz4_flex]
version = "0.12"
optional = true
[dependencies.memchr]
version = "2.7"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.43"
features = ["full"]
optional = true
[dependencies.tokio-util]
version = "0.7"
optional = true
[dependencies.zstd]
version = "0.13"
optional = true
[dev-dependencies.criterion]
version = "0.8"
features = [
"html_reports",
"async_tokio",
]
[dev-dependencies.futures]
version = "0.3"
[dev-dependencies.tempfile]
version = "3.14"
[dev-dependencies.tokio]
version = "1.43"
features = ["full"]
[dev-dependencies.tokio-util]
version = "0.7"
[lints.clippy]
all = "warn"
[lints.rust]
unused_must_use = "allow"
warnings = "warn"
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(loom)"]