[package]
edition = "2024"
rust-version = "1.95.0"
name = "biodream"
version = "0.2.5"
build = "build.rs"
exclude = [
".mcp.json",
".vscode/",
".github/",
"deny.toml",
"plan.toml",
"docs/",
"reference_projects/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Zero-copy, streaming-capable toolkit for reading and writing BIOPAC AcqKnowledge (.acq) files"
readme = "README.md"
keywords = [
"biopac",
"acqknowledge",
"physiology",
"biosignals",
"bioread",
]
categories = [
"science",
"parser-implementations",
"encoding",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/greysquirr3l/biodream"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
arrow = [
"read",
"dep:arrow-array",
"dep:arrow-schema",
"dep:arrow-ipc",
]
csv = [
"read",
"dep:csv",
]
default = [
"read",
"csv",
]
hdf5 = []
parquet = [
"arrow",
"dep:parquet",
]
physio = []
plot = [
"read",
"dep:plotters",
]
read = [
"std",
"dep:flate2",
]
serde = ["dep:serde"]
std = [
"thiserror/std",
"binrw/std",
]
write = ["read"]
[lib]
name = "biodream"
path = "src/lib.rs"
[[bin]]
name = "biopac"
path = "src/main.rs"
required-features = ["read"]
[[example]]
name = "arrow_export"
path = "examples/arrow_export.rs"
[[example]]
name = "convert_csv"
path = "examples/convert_csv.rs"
[[example]]
name = "read_file"
path = "examples/read_file.rs"
[[example]]
name = "write_file"
path = "examples/write_file.rs"
[[test]]
name = "api_integration"
path = "tests/api_integration.rs"
[[test]]
name = "arrow_integration"
path = "tests/arrow_integration.rs"
[[test]]
name = "cli_integration"
path = "tests/cli_integration.rs"
[[test]]
name = "csv_integration"
path = "tests/csv_integration.rs"
[[test]]
name = "fixture_integration"
path = "tests/fixture_integration.rs"
[[test]]
name = "gen_fixtures"
path = "tests/gen_fixtures.rs"
[[test]]
name = "proptest_roundtrip"
path = "tests/proptest_roundtrip.rs"
[[test]]
name = "write_integration"
path = "tests/write_integration.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.arrow-array]
version = "58"
optional = true
[dependencies.arrow-ipc]
version = "58"
optional = true
[dependencies.arrow-schema]
version = "58"
optional = true
[dependencies.binrw]
version = "0.14"
default-features = false
[dependencies.clap]
version = "4.5"
features = ["derive"]
[dependencies.csv]
version = "1.3"
optional = true
[dependencies.flate2]
version = "1.0"
optional = true
[dependencies.parquet]
version = "58"
optional = true
[dependencies.plotters]
version = "0.3"
features = [
"svg_backend",
"bitmap_backend",
"bitmap_encoder",
"all_series",
]
optional = true
default-features = false
[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2.0"
default-features = false
[dev-dependencies.bytes]
version = "1"
[dev-dependencies.proptest]
version = "1"