Av1an/Cargo.toml
redzic 6634bc77f8
Update to ffmpeg 5.0 (#575)
* Update to ffmpeg 5.0
2022-02-22 22:17:37 +02:00

53 lines
1.4 KiB
TOML

[package]
name = "av1an"
version = "0.3.1"
authors = ["Zen <master_of_zen@protonmail.com>"]
description = """
Cross-platform command-line AV1 / VP9 / HEVC / H264 encoding framework with per scene quality encoding
"""
repository = "https://github.com/master-of-zen/Av1an"
keywords = ["video"]
categories = ["command-line-utilities"]
license = "GPL-3.0"
edition = "2018"
[[bin]]
path = "src/main.rs"
name = "av1an"
[dependencies]
anyhow = "1.0.42"
serde_json = "1.0.64"
serde = { version = "1.0.126", features = ["serde_derive"] }
shlex = "1.0.0"
path_abs = "0.5.1"
av1an-cli = { path = "av1an-cli", version = "0.3.1" }
av1an-core = { path = "av1an-core", version = "0.3.1" }
[features]
default = ["vapoursynth_new_api"]
ffmpeg_static = ["av1an-core/ffmpeg_static", "av1an-cli/ffmpeg_static"]
vapoursynth_new_api = ["av1an-core/vapoursynth_new_api"]
[workspace]
members = ["av1an-core", "av1an-cli"]
[profile.dev.package.av-scenechange]
opt-level = 3
[profile.release]
lto = "thin"
codegen-units = 1
[profile.ci]
inherits = "release"
lto = "off"
codegen-units = 1024
debug-assertions = true
overflow-checks = true
[patch.crates-io]
rav1e = { git = "https://github.com/xiph/rav1e", rev = "660a4ddd5b57610b3006777910c133919b9f1625" }
# TODO: switch to upstream once the issue with av_find_best_stream is fixed.
ffmpeg-next = { git = "https://github.com/shssoichiro/rust-ffmpeg-1", branch = "fix-get-best-stream" }