evlib 0.9.0

Event Camera Data Processing Library
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 = "2021"
name = "evlib"
version = "0.9.0"
authors = ["Tarek Allam <t.allam.jr@gmail.com>"]
build = false
exclude = [
    "data/**/*",
    "dist/**/*",
    "examples/**/*",
    "python/**/*",
    "tests/**/*",
    "*.png",
    "*.mp4",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Event Camera Data Processing Library"
homepage = "https://github.com/tallamjr/evlib"
documentation = "https://docs.rs/evlib"
readme = "README.md"
keywords = [
    "event-camera",
    "vision",
    "rust",
    "python",
    "pyo3",
]
categories = [
    "science",
    "multimedia",
]
license = "MIT"
repository = "https://github.com/tallamjr/evlib"
resolver = "2"

[features]
arrow = [
    "dep:arrow",
    "dep:arrow-array",
    "dep:pyo3-arrow",
]
default = [
    "polars",
    "python",
    "arrow",
]
hdf5 = [
    "dep:hdf5-metno",
    "dep:hdf5-metno-sys",
]
polars = ["dep:polars"]
python = [
    "dep:pyo3",
    "dep:pyo3-ffi",
    "dep:numpy",
    "dep:pyo3-polars",
]
zero-copy = ["arrow"]

[lib]
name = "evlib"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

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

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

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

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

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

[dependencies.arrow]
version = "55.0"
optional = true
default-features = false

[dependencies.arrow-array]
version = "55.0"
optional = true

[dependencies.byteorder]
version = "1.5"

[dependencies.crc32fast]
version = "1"

[dependencies.fastrand]
version = "2.0"

[dependencies.lazy_static]
version = "1.4"

[dependencies.memmap2]
version = "0.5"

[dependencies.ndarray]
version = "0.15.6"

[dependencies.ndarray-rand]
version = "0.14.0"

[dependencies.num_cpus]
version = "1.16"

[dependencies.numpy]
version = "0.25.0"
optional = true

[dependencies.polars]
version = "0.49.1"
features = [
    "temporal",
    "dtype-u16",
    "dtype-i8",
    "lazy",
]
optional = true
default-features = true

[dependencies.pyo3]
version = "0.25.1"
features = ["extension-module"]
optional = true

[dependencies.pyo3-arrow]
version = "0.10.1"
optional = true

[dependencies.pyo3-ffi]
version = "0.25.1"
optional = true

[dependencies.pyo3-polars]
version = "0.22.0"
optional = true

[dependencies.rand]
version = "=0.8.5"

[dependencies.rand_distr]
version = "=0.4.3"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1"
features = [
    "net",
    "io-util",
    "rt",
    "macros",
]

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.tempfile]
version = "3.8"

[target."cfg(unix)".dependencies.hdf5-metno]
version = "0.10.1"
features = ["blosc-all"]
optional = true

[target."cfg(unix)".dependencies.hdf5-metno-sys]
version = "0.10.1"
optional = true

[target."cfg(unix)".dependencies.tracing]
version = "0.1.40"

[target."cfg(unix)".dependencies.tracing-subscriber]
version = "0.3.18"
features = [
    "env-filter",
    "fmt",
    "json",
]