-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathCargo.toml
More file actions
83 lines (76 loc) · 2.71 KB
/
Copy pathCargo.toml
File metadata and controls
83 lines (76 loc) · 2.71 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
78
79
80
81
82
83
[workspace]
members = [
"crates/vuio-cast",
"crates/vuio-core",
"crates/vuio-cli",
"crates/vuio-web",
# Development tool, `publish = false`. Kept out of `vuio-cli` so the crate that
# ships the binary does not carry its dependencies.
"crates/vuio-bench",
# Our AC-3 / E-AC-3 codec — forked from oxideav-ac3, now maintained here.
# Not a default member for the same reason the vendored crates are not: its
# 100-plus tests (several of which shell out to ffmpeg) stay off the release
# path, while `cargo build` still compiles the library via vuio-core.
"crates/vuio-codec-ac3",
# The DTS decoder and the shared codec runtime, vendored verbatim from
# github.com/OxideAV by `scripts/vendor-oxideav.sh`. Members so cargo
# resolves the path deps and `cargo test -p oxideav-dts` works; deliberately
# not default members, so their own test and bench targets stay off the
# release path — the same reasoning that keeps `vuio-bench` out, and the
# reason a plain `cargo build` still compiles them (vuio-core depends on
# them) without building their tests.
"crates/vendor/oxideav-core",
"crates/vendor/oxideav-dts",
"crates/vendor/libxaac-sys",
"crates/vendor/xaac-rs",
]
# `vuio-bench` is deliberately not a default member. Cargo unifies features across
# everything it builds in one go, so leaving it in would mean a plain
# `cargo build` — which is what the release pipeline runs — compiling `vuio-core`
# with `unstable-internals` on, for the benefit of a tool that never ships.
# Build it explicitly: `cargo run -p vuio-bench`.
default-members = [
"crates/vuio-cast",
"crates/vuio-core",
"crates/vuio-cli",
"crates/vuio-web",
]
resolver = "2"
# Optimizing codecs, encoders, and demuxers in dev profile gives fast real-time
# audio decoding and encoding without requiring release rebuilds.
[profile.dev.package.oxideav-core]
opt-level = 3
[profile.dev.package.vuio-codec-ac3]
opt-level = 3
[profile.dev.package.oxideav-dts]
opt-level = 3
[profile.dev.package.xaac-rs]
opt-level = 3
[profile.dev.package.libxaac-sys]
opt-level = 3
[profile.dev.package.symphonia]
opt-level = 3
[profile.dev.package.symphonia-core]
opt-level = 3
[profile.dev.package.symphonia-format-mkv]
opt-level = 3
[profile.dev.package.symphonia-format-riff]
opt-level = 3
[profile.dev.package.symphonia-format-isomp4]
opt-level = 3
[profile.dev.package.symphonia-bundle-flac]
opt-level = 3
[profile.dev.package.symphonia-bundle-mp3]
opt-level = 3
[profile.dev.package.symphonia-codec-aac]
opt-level = 3
[profile.dev.package.symphonia-codec-pcm]
opt-level = 3
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
debug = 0
strip = true
overflow-checks = false