# 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"
rust-version = "1.85"
name = "slimcap"
version = "0.1.2"
build = false
exclude = [
    "/.github",
    "/tools",
    "/proto",
    "/sample_*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Streaming MCAP slimmer: auto-detects color image topics in robotics logs and re-encodes them to H.264 (or H.265) inside foxglove.CompressedVideo."
readme = "README.md"
keywords = [
    "mcap",
    "ros2",
    "foxglove",
    "h264",
    "transcode",
]
categories = [
    "command-line-utilities",
    "multimedia::video",
    "science::robotics",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/doniyordevv/slimcap"

[[bin]]
name = "slimcap"
path = "src/main.rs"

[dependencies.anyhow]
version = "1"

[dependencies.camino]
version = "1"

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.ffmpeg-next]
version = "8"
features = [
    "codec",
    "format",
    "software-scaling",
    "software-resampling",
]
default-features = false

[dependencies.mcap]
version = "0.24"

[dependencies.memmap2]
version = "0.9"

[dependencies.prost]
version = "0.13"

[dependencies.prost-types]
version = "0.13"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1
strip = "symbols"
