-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
77 lines (67 loc) · 2.52 KB
/
Cargo.toml
File metadata and controls
77 lines (67 loc) · 2.52 KB
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
65
66
67
68
69
70
71
72
73
74
75
76
77
[package]
name = "bevy_movie_player"
version = "0.7.1"
edition = "2021"
license = "WTFPL OR 0BSD"
description = "movie player plugin for bevy"
repository = "https://github.com/funatsufumiya/bevy_movie_player"
[dev-dependencies]
bevy = { version = "^0.18.0" }
bevy_asset = { version = "^0.18.0", default-features = false }
bevy_asset_loader = "0.25"
# bevy_asset_loader = { git = "https://github.com/funatsufumiya/bevy_asset_loader/", rev = "b54131e" }
[features]
default = []
lottie = [ "rlottie", "rlottie-sys" ]
ffmpeg = [ "video-rs" ]
gv = [ "gv_video" ]
disable-json-extension-for-lottie = []
[dependencies]
bevy = { version = "^0.18.0", default-features = false, features = [
"bevy_asset",
"bevy_render",
"bevy_log",
] }
bevy_asset = { version = "^0.18.0", default-features = false }
bevy_internal = { version = "^0.18.0", features = [ "bevy_image" ]}
video-rs = { path = "./externals/video-rs", version = "0.10", features = ["ndarray"], optional = true }
# video-rs = { git = "https://github.com/funatsufumiya/video-rs", rev = "004f18acc", version = "0.10", features = ["ndarray"], optional = true }
# av = { git = "https://github.com/rust-av/rust-av", version = "0.1.0", optional = true }
# ffmpeg-sys-the-third = { version = "^3.0.0", optional = true }
# ndarray = { version = "0.16.1", optional = true }
gv_video = { version = "0.1.11", optional = true }
rlottie = { path = "./externals/rlottie-rs/rlottie", version = "0.5.2", optional = true }
rlottie-sys = { path = "./externals/rlottie-rs/rlottie-sys", version = "0.2.9", optional = true }
# rlottie = { git = "https://github.com/funatsufumiya/rlottie-rs", rev = "40daf8e", version = "0.5.2", optional = true }
# rlottie-sys = { git = "https://github.com/funatsufumiya/rlottie-rs", rev = "40daf8e", version = "0.2.9", optional = true }
derivative = "2.2.0"
anyhow = "1.0"
# [profile.dev]
# opt-level = 1
# [profile.dev.package."*"]
# opt-level = 3
[[example]]
name = "play_gv_video"
path = "examples/play_gv_video.rs"
doc-scrape-examples = true
required-features = ["gv"]
[[example]]
name = "play_multiple_gv_video"
path = "examples/play_multiple_gv_video.rs"
doc-scrape-examples = true
required-features = ["gv"]
[[example]]
name = "play_lottie"
path = "examples/play_lottie.rs"
doc-scrape-examples = true
required-features = ["lottie"]
[[example]]
name = "play_lottie_seek"
path = "examples/play_lottie_seek.rs"
doc-scrape-examples = true
required-features = ["lottie"]
[[example]]
name = "play_ffmpeg"
path = "examples/play_ffmpeg.rs"
doc-scrape-examples = true
required-features = ["ffmpeg"]