evlib 0.13.2

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.13.2"
authors = ["Tarek Allam <t.allam.jr@gmail.com>"]
build = false
exclude = [
    "data/**/*",
    "dist/**/*",
    "examples/**/*",
    "python/**/*",
    "tests/**/*",
    "*.png",
    "*.mp4",
    "vendor/**/*",
]
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]
cuda = ["dep:libloading"]
default = [
    "polars",
    "python",
]
extension-module = ["pyo3/extension-module"]
hdf5 = [
    "dep:hdf5-metno",
    "dep:hdf5-metno-sys",
]
hdf5-static = [
    "hdf5",
    "hdf5-metno/static",
    "hdf5-metno/zlib",
]
metal = [
    "dep:metal",
    "dep:objc",
]
polars = ["dep:polars"]
python = [
    "dep:pyo3",
    "dep:pyo3-ffi",
    "dep:numpy",
    "dep:pyo3-polars",
]

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

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

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

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

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

[dependencies.fastrand]
version = "2.0"

[dependencies.libloading]
version = "0.8"
optional = true

[dependencies.lz4_flex]
version = "0.11"
features = ["frame"]
default-features = false

[dependencies.ndarray]
version = "0.15.6"

[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"
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"

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

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

[target.'cfg(target_os = "macos")'.dependencies.metal]
version = "0.27"
optional = true

[target.'cfg(target_os = "macos")'.dependencies.objc]
version = "0.2"
optional = true

[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",
]