[package]
edition = "2024"
name = "lecop"
version = "0.3.0"
build = false
exclude = [
".claude",
".github",
".physlint",
"assets/demo.gif",
"assets/demo.tape",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast health checks for LeRobot-format robot datasets (unofficial)"
readme = "README.md"
keywords = [
"lerobot",
"robotics",
"dataset",
"validator",
"parquet",
]
categories = [
"command-line-utilities",
"science::robotics",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/michele-xilo/lecop"
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ target }.tar.xz"
bin-dir = "{ name }-{ target }/{ bin }{ binary-ext }"
pkg-fmt = "txz"
[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ target }.zip"
pkg-fmt = "zip"
[features]
asm = [
"decode",
"rav1d?/asm",
]
decode = [
"dep:openh264",
"dep:rav1d",
]
default = ["decode"]
[lib]
name = "lecop"
path = "src/lib.rs"
[[bin]]
name = "lecop"
path = "src/main.rs"
[[test]]
name = "cli"
path = "tests/cli.rs"
[[test]]
name = "config"
path = "tests/config.rs"
[[test]]
name = "decode"
path = "tests/decode.rs"
[[test]]
name = "discover"
path = "tests/discover.rs"
[[test]]
name = "goldens"
path = "tests/goldens.rs"
[[test]]
name = "mp4"
path = "tests/mp4.rs"
[[test]]
name = "real_datasets"
path = "tests/real_datasets.rs"
[[test]]
name = "report"
path = "tests/report.rs"
[[test]]
name = "validate"
path = "tests/validate.rs"
[[bench]]
name = "mp4"
path = "benches/mp4.rs"
harness = false
[[bench]]
name = "validate"
path = "benches/validate.rs"
harness = false
[dependencies.anyhow]
version = "1.0.104"
[dependencies.arrow-array]
version = "60.1.0"
[dependencies.arrow-schema]
version = "60.1.0"
[dependencies.bytes]
version = "1.12.1"
[dependencies.clap]
version = "4.6.7"
features = ["derive"]
[dependencies.ignore]
version = "0.4.34"
[dependencies.openh264]
version = "0.9.10"
optional = true
package = "lecop-openh264"
[dependencies.parquet]
version = "60.1.0"
features = ["arrow"]
[dependencies.rav1d]
version = "1.3.0"
features = [
"bitdepth_8",
"bitdepth_16",
]
optional = true
default-features = false
package = "lecop-rav1d"
[dependencies.rayon]
version = "1.12.0"
[dependencies.serde]
version = "1.0.229"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.154"
features = ["raw_value"]
[dependencies.toml]
version = "1.2.1"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"fmt",
"ansi",
]
default-features = false
[dev-dependencies.criterion]
version = "0.8.2"
features = ["cargo_bench_support"]
default-features = false
[dev-dependencies.serde_json]
version = "1.0.154"
[dev-dependencies.tempfile]
version = "3.27.0"
[target.'cfg(any(target_arch = "aarch64", all(target_arch = "x86_64", any(target_os = "linux", target_os = "windows", target_os = "macos"))))'.dependencies.rav1d]
version = "1.3.0"
features = ["asm"]
optional = true
default-features = false
package = "lecop-rav1d"
[profile.dev.package.lecop-openh264-sys2]
debug = 0
[profile.dist]
lto = "thin"
inherits = "release"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1