Skip to content

Commit 901b3e2

Browse files
uklotzdeorottier
authored andcommitted
Reduce packaged crate size
1 parent b7c6310 commit 901b3e2

File tree

1 file changed

+21
-4
lines changed

1 file changed

+21
-4
lines changed

Cargo.toml

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,21 @@ repository = "https://github.com/orottier/web-audio-api-rs"
99
keywords = ["web-audio-api", "audio", "sound", "dsp"]
1010
license = "MIT"
1111
categories = ["multimedia::audio"]
12-
exclude = ["/samples", "/showcase", "/.github"]
12+
include = [
13+
"/benches",
14+
"/resources",
15+
"/src",
16+
"Cargo.toml",
17+
"LICENSE",
18+
"README.md",
19+
]
1320
rust-version = "1.70"
1421

1522
[dependencies]
1623
arc-swap = "1.6"
1724
arrayvec = "0.7"
1825
cpal = { version = "0.15", optional = true }
19-
creek = "1.1"
26+
creek = "1.2"
2027
crossbeam-channel = "0.5"
2128
cubeb = { version = "0.10", optional = true }
2229
dasp_sample = "0.11"
@@ -58,12 +65,22 @@ harness = false
5865
[features]
5966
default = ["mp3", "ogg", "flac", "wav", "m4a", "alac", "cpal"]
6067
mp3 = ["symphonia/mp3", "creek/decode-mp3"]
61-
ogg = ["symphonia/ogg", "symphonia/vorbis", "creek/decode-ogg", "creek/decode-vorbis"]
68+
ogg = [
69+
"symphonia/ogg",
70+
"symphonia/vorbis",
71+
"creek/decode-ogg",
72+
"creek/decode-vorbis",
73+
]
6274
flac = ["symphonia/flac", "creek/decode-flac"]
6375
wav = ["symphonia/wav", "symphonia/pcm", "creek/decode-wav", "creek/decode-pcm"]
6476
aac = ["symphonia/aac", "creek/decode-aac"]
6577
m4a = ["aac", "symphonia/isomp4", "creek/decode-isomp4"]
66-
alac = ["symphonia/alac", "symphonia/isomp4", "creek/decode-alac", "creek/decode-isomp4"]
78+
alac = [
79+
"symphonia/alac",
80+
"symphonia/isomp4",
81+
"creek/decode-alac",
82+
"creek/decode-isomp4",
83+
]
6784
cpal = ["dep:cpal"]
6885
cubeb = ["dep:cubeb"]
6986
cpal-jack = ["cpal", "cpal/jack"]

0 commit comments

Comments
 (0)