From a132a9d4cd55b5da3ed82f22126104cb877b0c38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Fri, 14 Aug 2026 10:27:26 +0300 Subject: [PATCH] build(shims): every shim manifest stands on its own Shims are built by the consumer as path dependencies, from outside this workspace. Any inherited field (`edition.workspace`, and the family's dep table) makes that build read this workspace's root manifest, so a root that does not parse -- mid-edit, mid-rename, a member being created -- breaks the consumer's build for a reason that has nothing to do with the shim. Measured, not assumed: with an unparseable root, a shim carrying `edition.workspace = true` fails with "invalid potential workspace manifest" and the same shim with literal fields builds. A member whose manifest has no source file does not break it either way -- cargo loads only the members it needs. So every shim now spells out edition, license, authors and its `ec-*` dependencies as relative paths; `flacenc` already did, and the rest match it. Check: `cargo check --manifest-path shims//Cargo.toml` for all twelve. --- shims/flacenc/Cargo.toml | 6 +++--- shims/hound/Cargo.toml | 8 ++++---- shims/miniz_oxide/Cargo.toml | 6 +++--- shims/oxideav-ac3/Cargo.toml | 13 +++++++++++++ shims/oxideav-ass/Cargo.toml | 6 +++--- shims/oxideav-core/Cargo.toml | 8 ++++---- shims/oxideav-ogg/Cargo.toml | 6 +++--- shims/oxideav-sub-image/Cargo.toml | 6 +++--- shims/oxideav-subtitle/Cargo.toml | 6 +++--- shims/rusty_aac/Cargo.toml | 11 +++++++++++ shims/rusty_mp3/Cargo.toml | 10 +++++----- shims/rusty_vorbis/Cargo.toml | 6 +++--- 12 files changed, 58 insertions(+), 34 deletions(-) create mode 100644 shims/oxideav-ac3/Cargo.toml create mode 100644 shims/rusty_aac/Cargo.toml diff --git a/shims/flacenc/Cargo.toml b/shims/flacenc/Cargo.toml index add20396..390891ab 100644 --- a/shims/flacenc/Cargo.toml +++ b/shims/flacenc/Cargo.toml @@ -2,9 +2,9 @@ name = "flacenc" description = "Compatibility shim: the flacenc 0.5.1 surface edith consumes, served by ec-flac." version = "0.5.1" -edition.workspace = true -license.workspace = true -authors.workspace = true +edition = "2024" +license = "MIT OR Apache-2.0" +authors = ["Ahmet Kaan Gümüş"] publish = false [dependencies] diff --git a/shims/hound/Cargo.toml b/shims/hound/Cargo.toml index e8a65261..a3454092 100644 --- a/shims/hound/Cargo.toml +++ b/shims/hound/Cargo.toml @@ -2,9 +2,9 @@ name = "hound" description = "Compatibility shim: the hound 3.5.1 WAV-writing surface, implemented over ec-riff." version = "3.5.1" -edition.workspace = true -license.workspace = true -authors.workspace = true +edition = "2024" +license = "MIT OR Apache-2.0" +authors = ["Ahmet Kaan Gümüş"] [dependencies] -ec-riff.workspace = true +ec-riff = { path = "../../crates/ec-riff", version = "0.1.0" } diff --git a/shims/miniz_oxide/Cargo.toml b/shims/miniz_oxide/Cargo.toml index c7e63c1d..9e213a2c 100644 --- a/shims/miniz_oxide/Cargo.toml +++ b/shims/miniz_oxide/Cargo.toml @@ -2,9 +2,9 @@ name = "miniz_oxide" description = "Compatibility shim: the miniz_oxide surface edith consumes, served by ec-inflate." version = "0.8.9" -edition.workspace = true -license.workspace = true -authors.workspace = true +edition = "2024" +license = "MIT OR Apache-2.0" +authors = ["Ahmet Kaan Gümüş"] publish = false [dependencies] diff --git a/shims/oxideav-ac3/Cargo.toml b/shims/oxideav-ac3/Cargo.toml new file mode 100644 index 00000000..ef55dee3 --- /dev/null +++ b/shims/oxideav-ac3/Cargo.toml @@ -0,0 +1,13 @@ +[package] +name = "oxideav-ac3" +description = "Compatibility shim: the oxideav-ac3 surface edith consumes, over ec-ac3." +version = "0.0.10" +edition = "2024" +license = "MIT OR Apache-2.0" +authors = ["Ahmet Kaan Gümüş"] +publish = false + +[dependencies] +ec-ac3 = { path = "../../crates/ec-ac3", version = "0.1.0" } +ec-core = { path = "../../crates/ec-core", version = "0.1.0" } +oxideav-core = { path = "../oxideav-core", version = "0.1.34" } diff --git a/shims/oxideav-ass/Cargo.toml b/shims/oxideav-ass/Cargo.toml index 5b1aff3d..6d9c53e6 100644 --- a/shims/oxideav-ass/Cargo.toml +++ b/shims/oxideav-ass/Cargo.toml @@ -2,9 +2,9 @@ name = "oxideav-ass" description = "Compatibility shim: the oxideav-ass surface edith consumes, over ec-ass." version = "0.0.9" -edition.workspace = true -license.workspace = true -authors.workspace = true +edition = "2024" +license = "MIT OR Apache-2.0" +authors = ["Ahmet Kaan Gümüş"] publish = false [dependencies] diff --git a/shims/oxideav-core/Cargo.toml b/shims/oxideav-core/Cargo.toml index 6ded82fb..890b5300 100644 --- a/shims/oxideav-core/Cargo.toml +++ b/shims/oxideav-core/Cargo.toml @@ -2,10 +2,10 @@ name = "oxideav-core" description = "Compatibility shim: the oxideav-core surface edith consumes, over ec-core." version = "0.1.34" -edition.workspace = true -license.workspace = true -authors.workspace = true +edition = "2024" +license = "MIT OR Apache-2.0" +authors = ["Ahmet Kaan Gümüş"] publish = false [dependencies] -ec-core.workspace = true +ec-core = { path = "../../crates/ec-core", version = "0.1.0" } diff --git a/shims/oxideav-ogg/Cargo.toml b/shims/oxideav-ogg/Cargo.toml index eae6fe7f..fd1c0aba 100644 --- a/shims/oxideav-ogg/Cargo.toml +++ b/shims/oxideav-ogg/Cargo.toml @@ -2,9 +2,9 @@ name = "oxideav-ogg" description = "Compatibility shim: the oxideav-ogg mux surface edith consumes, over ec-ogg." version = "0.1.8" -edition.workspace = true -license.workspace = true -authors.workspace = true +edition = "2024" +license = "MIT OR Apache-2.0" +authors = ["Ahmet Kaan Gümüş"] publish = false [dependencies] diff --git a/shims/oxideav-sub-image/Cargo.toml b/shims/oxideav-sub-image/Cargo.toml index c4ed0e40..d802e27b 100644 --- a/shims/oxideav-sub-image/Cargo.toml +++ b/shims/oxideav-sub-image/Cargo.toml @@ -2,9 +2,9 @@ name = "oxideav-sub-image" description = "Compatibility shim: the oxideav-sub-image PGS surface edith consumes, over ec-pgs." version = "0.0.7" -edition.workspace = true -license.workspace = true -authors.workspace = true +edition = "2024" +license = "MIT OR Apache-2.0" +authors = ["Ahmet Kaan Gümüş"] publish = false [dependencies] diff --git a/shims/oxideav-subtitle/Cargo.toml b/shims/oxideav-subtitle/Cargo.toml index bacce801..d1ff504a 100644 --- a/shims/oxideav-subtitle/Cargo.toml +++ b/shims/oxideav-subtitle/Cargo.toml @@ -2,9 +2,9 @@ name = "oxideav-subtitle" description = "Compatibility shim: the oxideav-subtitle surface edith consumes, over ec-subs." version = "0.1.2" -edition.workspace = true -license.workspace = true -authors.workspace = true +edition = "2024" +license = "MIT OR Apache-2.0" +authors = ["Ahmet Kaan Gümüş"] publish = false [dependencies] diff --git a/shims/rusty_aac/Cargo.toml b/shims/rusty_aac/Cargo.toml new file mode 100644 index 00000000..24a1fb19 --- /dev/null +++ b/shims/rusty_aac/Cargo.toml @@ -0,0 +1,11 @@ +[package] +name = "rusty_aac" +description = "Compatibility shim: the rusty_aac 0.5 surface edith consumes, served by ec-aac." +version = "0.5.0" +edition = "2024" +license = "MIT OR Apache-2.0" +authors = ["Ahmet Kaan Gümüş"] +publish = false + +[dependencies] +ec-aac = { path = "../../crates/ec-aac", version = "0.1.0" } diff --git a/shims/rusty_mp3/Cargo.toml b/shims/rusty_mp3/Cargo.toml index a400de79..7686902c 100644 --- a/shims/rusty_mp3/Cargo.toml +++ b/shims/rusty_mp3/Cargo.toml @@ -2,10 +2,10 @@ name = "rusty_mp3" description = "Compatibility shim: the rusty_mp3 0.6.1 surface, implemented over ec-mp3." version = "0.6.1" -edition.workspace = true -license.workspace = true -authors.workspace = true +edition = "2024" +license = "MIT OR Apache-2.0" +authors = ["Ahmet Kaan Gümüş"] [dependencies] -ec-mp3.workspace = true -ec-core.workspace = true +ec-mp3 = { path = "../../crates/ec-mp3", version = "0.1.0" } +ec-core = { path = "../../crates/ec-core", version = "0.1.0" } diff --git a/shims/rusty_vorbis/Cargo.toml b/shims/rusty_vorbis/Cargo.toml index 73efe026..6da2458b 100644 --- a/shims/rusty_vorbis/Cargo.toml +++ b/shims/rusty_vorbis/Cargo.toml @@ -2,9 +2,9 @@ name = "rusty_vorbis" description = "Compatibility shim: the rusty_vorbis 0.1.1 surface edith consumes, served by ec-vorbis." version = "0.1.1" -edition.workspace = true -license.workspace = true -authors.workspace = true +edition = "2024" +license = "MIT OR Apache-2.0" +authors = ["Ahmet Kaan Gümüş"] publish = false [dependencies]