forked from nathanbabcock/ffmpeg-sidecar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
42 lines (35 loc) · 1.12 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[package]
name = "ffmpeg-sidecar"
version = "2.0.0"
edition = "2021"
description = "Wrap a standalone FFmpeg binary in an intuitive Iterator interface."
authors = ["Nathan Babcock <[email protected]>"]
categories = ["multimedia"]
keywords = ["ffmpeg", "video"]
repository = "https://github.com/nathanbabcock/ffmpeg-sidecar"
readme = "README.md"
license = "MIT"
[features]
default = ["download_ffmpeg"]
download_ffmpeg = ["dep:reqwest", "dep:tar", "dep:xz2", "dep:zip"]
named_pipes = ["dep:winapi", "dep:nix"]
[lib]
crate-type = ["lib"]
[target.'cfg(target_os = "linux")'.dependencies]
tar = { version = "0.4.42", optional = true }
xz2 = { version = "0.1.7", optional = true }
[target.'cfg(not(target_os = "linux"))'.dependencies]
zip = { version = "2.2.0", optional = true }
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3.9", optional = true, features = [
"winbase",
"handleapi",
"namedpipeapi",
] }
[target.'cfg(unix)'.dependencies]
nix = { version = "0.29.0", optional = true, features = [
"fs"
] }
[dependencies]
anyhow = "1.0.79"
reqwest = { version = "0.12.8", optional = true, features = ["blocking"]}