2023-09-24 17:40:00 +00:00
|
|
|
[package]
|
|
|
|
name = "n-mb"
|
|
|
|
authors = ["Djkáťo <djkatovfx@gmail.com>"]
|
2024-12-23 22:24:52 +00:00
|
|
|
version = "1.1.3"
|
2023-09-24 17:40:00 +00:00
|
|
|
edition = "2021"
|
|
|
|
description = "Simple ffmpeg wrapper to parse files to the most efficient formats within a set size"
|
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
homepage = "https://github.com/djkato/n-mb"
|
|
|
|
repository = "https://github.com/djkato/n-mb"
|
|
|
|
readme = "README.md"
|
|
|
|
keywords = ["media", "ffmpeg", "cli"]
|
|
|
|
categories = ["command-line-utilities"]
|
2024-04-19 20:08:32 +00:00
|
|
|
exclude = ["*.mp4", "*.mp3", "*.jpg", "*.ogg", "*.webp", "*.webm", "*.log"]
|
2023-09-24 17:40:00 +00:00
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
anyhow = "1.0.75"
|
|
|
|
clap = { version = "4.4.4", features = ["cargo"] }
|
|
|
|
indicatif = "0.17.7"
|
|
|
|
pbr = "1.1.1"
|
2024-04-19 19:54:33 +00:00
|
|
|
tokio = { version = "1.32.0", features = [
|
|
|
|
"macros",
|
|
|
|
"rt-multi-thread",
|
|
|
|
"process",
|
|
|
|
"io-std",
|
|
|
|
"sync",
|
|
|
|
"time",
|
|
|
|
"io-util",
|
|
|
|
] }
|
2023-09-24 17:42:54 +00:00
|
|
|
|
|
|
|
[[bin]]
|
2024-04-19 19:40:03 +00:00
|
|
|
name = "nmb"
|
|
|
|
path = "src/main.rs"
|
2024-04-19 19:55:47 +00:00
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
opt-level = 'z' # Optimize for size
|
|
|
|
lto = true # Enable link-time optimization
|
|
|
|
codegen-units = 1 # Reduce number of codegen units to increase optimizations
|
|
|
|
panic = 'abort' # Abort on panic
|
2024-04-19 20:03:47 +00:00
|
|
|
# strip = true # Strip symbols from binary*
|