Skip to content

Commit bf99a1e

Browse files
committed
enh: further reduce size of *_sys crates by excluding build files
These are unused because we reimplement the build logic on our build scripts.
1 parent a34fca1 commit bf99a1e

File tree

3 files changed

+53
-8
lines changed

3 files changed

+53
-8
lines changed

packages/aotuv_lancer_vorbis_sys/Cargo.toml

+26-4
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,33 @@ edition.workspace = true
1111
links = "vorbis"
1212
rust-version.workspace = true
1313
keywords = ["libvorbis", "vorbisfile", "libvorbisenc", "aotuv", "lancer"]
14-
categories = ["external-ffi-bindings", "multimedia", "multimedia::audio", "multimedia::encoding"]
14+
categories = [
15+
"external-ffi-bindings",
16+
"multimedia",
17+
"multimedia::audio",
18+
"multimedia::encoding",
19+
]
1520
exclude = [
16-
"/ogg_vendor/**/.*", "/ogg_vendor/cmake", "/ogg_vendor/doc", "/ogg_vendor/README.md",
17-
"/vorbis_vendor/**/.*", "/vorbis_vendor/cmake", "/vorbis_vendor/doc", "/vorbis_vendor/test/**/*", "/vorbis_vendor/README.md",
18-
"/src/*.ogg"
21+
"/ogg_vendor/**/.*",
22+
"/ogg_vendor/cmake",
23+
"/ogg_vendor/doc",
24+
"/ogg_vendor/win32",
25+
"/ogg_vendor/README.md",
26+
"/ogg_vendor/**/*.ac",
27+
"/ogg_vendor/**/*.m4",
28+
"/ogg_vendor/**/*.in",
29+
"/ogg_vendor/**/*.am",
30+
"/vorbis_vendor/**/.*",
31+
"/vorbis_vendor/cmake",
32+
"/vorbis_vendor/doc",
33+
"/vorbis_vendor/win32",
34+
"/vorbis_vendor/test/**/*",
35+
"/vorbis_vendor/README.md",
36+
"/vorbis_vendor/**/*.ac",
37+
"/vorbis_vendor/**/*.m4",
38+
"/vorbis_vendor/**/*.in",
39+
"/vorbis_vendor/**/*.am",
40+
"/src/*.ogg",
1941
]
2042

2143
[dependencies]

packages/ogg_next_sys/Cargo.toml

+17-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,23 @@ edition.workspace = true
1111
links = "ogg"
1212
rust-version.workspace = true
1313
keywords = ["libogg", "xiph"]
14-
categories = ["external-ffi-bindings", "multimedia", "multimedia::audio", "multimedia::encoding"]
15-
exclude = ["/ogg_vendor/**/.*", "/ogg_vendor/cmake", "/ogg_vendor/doc", "/ogg_vendor/README.md"]
14+
categories = [
15+
"external-ffi-bindings",
16+
"multimedia",
17+
"multimedia::audio",
18+
"multimedia::encoding",
19+
]
20+
exclude = [
21+
"/ogg_vendor/**/.*",
22+
"/ogg_vendor/cmake",
23+
"/ogg_vendor/doc",
24+
"/ogg_vendor/win32",
25+
"/ogg_vendor/README.md",
26+
"/ogg_vendor/**/*.ac",
27+
"/ogg_vendor/**/*.m4",
28+
"/ogg_vendor/**/*.in",
29+
"/ogg_vendor/**/*.am",
30+
]
1631

1732
[build-dependencies]
1833
cc.workspace = true

packages/vorbis_rs/Cargo.toml

+10-2
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,22 @@ documentation = "https://docs.rs/vorbis_rs"
1010
edition.workspace = true
1111
rust-version.workspace = true
1212
keywords = ["vorbis", "aotuv", "lancer", "ogg", "xiph"]
13-
categories = ["api-bindings", "multimedia", "multimedia::audio", "multimedia::encoding"]
13+
categories = [
14+
"api-bindings",
15+
"multimedia",
16+
"multimedia::audio",
17+
"multimedia::encoding",
18+
]
1419

1520
[dependencies]
1621
aotuv_lancer_vorbis_sys.workspace = true
1722
ogg_next_sys.workspace = true
1823

1924
errno = { version = "0.3.10", default-features = false }
20-
tinyvec = { version = "1.8.0", default-features = false, features = ["alloc", "rustc_1_57"] }
25+
tinyvec = { version = "1.8.0", default-features = false, features = [
26+
"alloc",
27+
"rustc_1_57",
28+
] }
2129
thiserror = "2.0.3"
2230

2331
getrandom = { version = "0.2.15", features = ["std"], optional = true }

0 commit comments

Comments
 (0)