forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to shims/oxideav-sub-image/Cargo.tomlClear filter

2026-08-14

build(shims): every shim manifest stands on its ownAhmet Kaan Gümüş · a132a9d
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/<name>/Cargo.toml` for all twelve.
feat(subs): SRT/WebVTT/ASS parsing, PGS bitmaps, oxideav shimsAhmet Kaan Gümüş · 1f445c1
feat(subs): SRT/WebVTT/ASS parsing, PGS bitmaps, oxideav shims

ec-subs carries the cue IR the family answers with (time range plus
styled runs, positioning beside them) and the SubRip and WebVTT parsers
over it; ec-ass reads ASS/SSA into the same IR, override tags included;
ec-pgs decodes Blu-ray display sets to straight RGBA canvases.

Tolerance is the point on the text side: BOM (UTF-8 and UTF-16), CRLF and
lone CR, invalid UTF-8, missing or wrong indices, dotted fractions,
trailing SubRip coordinates, overlapping and backwards cues all parse; a
block that cannot be read is skipped and counted, and only a document
with no timing line at all is refused. The PGS decoder holds an epoch
across display sets, keeps a partial segment until the rest arrives and
drops a torn set rather than the track.

shims/oxideav-{core,subtitle,ass,sub-image} carry the incumbent package
names and versions and cover exactly the surface the replica consumes, so
the swap is a [patch.crates-io] line. The replica's own call shapes are
transcribed as a test, which is what proves the swap rather than the
crates' own suites.

Checks: 34 tests green (unit plus real streams extracted from the library
by scripts/gen-subtitle-fixtures.sh); the first painted display set of a
1080p PGS track agrees with ffmpeg's own render of the same set — same
bounding box within two pixels, every reference ink pixel painted,
colours within 1/255.