-
-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathCargo.toml
64 lines (57 loc) · 1.81 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[package]
name = "scuffle-ffmpeg"
version = "0.2.0"
edition = "2024"
repository = "https://github.com/scufflecloud/scuffle"
authors = ["Scuffle <[email protected]>"]
readme = "README.md"
documentation = "https://docs.rs/scuffle-ffmpeg"
license = "MIT OR Apache-2.0"
description = "FFmpeg bindings for Rust."
keywords = ["ffmpeg", "video", "audio", "media"]
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage_nightly)'] }
[dependencies]
libc = "0.2"
bytes = { optional = true, version = "1" }
tokio = { optional = true, version = "1", features = ["sync"]}
crossbeam-channel = { optional = true, version = "0.5.13" }
tracing = { optional = true, version = "0.1" }
arc-swap = { version = "1.7" }
rusty_ffmpeg = "0.16.1"
scuffle-workspace-hack.workspace = true
nutype-enum.workspace = true
rand = "0.9"
bon = "3.3.2"
thiserror = "2.0"
[dev-dependencies]
insta = {version = "1.42", features = ["filters"]}
tempfile = "3.15"
tracing-test = "0.2"
tracing-subscriber = "0.3"
scuffle-mp4.workspace = true
sha2 = "0.10"
bytes = "1"
[features]
channel = ["dep:bytes"]
tokio-channel = ["channel", "dep:tokio"]
crossbeam-channel = ["channel", "dep:crossbeam-channel"]
tracing = ["dep:tracing"]
link_system_ffmpeg = ["rusty_ffmpeg/link_system_ffmpeg"]
link_vcpkg_ffmpeg = ["rusty_ffmpeg/link_vcpkg_ffmpeg"]
default = ["link_system_ffmpeg"]
[package.metadata.xtask.powerset]
# Note: `link_system_ffmpeg` nor `link_vcpkg_ffmpeg` are additive features because
# they change the build.rs and therefore require a full rebuild of the crate.
additive-features = [
"channel",
"tokio-channel",
"crossbeam-channel",
"tracing",
]
always_include_features = [
"link_system_ffmpeg",
]
[package.metadata.docs.rs]
features = ["channel", "tokio-channel", "crossbeam-channel", "tracing"]
rustdoc-args = ["--cfg", "docsrs"]