Av1an/Cargo.toml
Josh Holmer fe585ac24c
Use std::available_parallelism instead of num_cpus (#633)
* Explicitly set minimum rust version

* Use std::available_parallelism instead of num_cpus
2022-05-21 08:55:43 +00:00

52 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"
rust-version = "1.59"
edition = "2021"
[[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]
av-scenechange = { git = "https://github.com/rust-av/av-scenechange", rev = "a124199a746cba3ff2e08637836d37a91b6a9a58" }
console = { git = "https://github.com/console-rs/console", rev = "5484ea9d9f6884f6685349708e27bf08fab7703c" }