Skip to content

Restore deprecated rav1d::src::* paths from 1.1.0 - #1508

Open
thedataking wants to merge 1 commit into
mainfrom
deprecated-src-paths
Open

thedataking wants to merge 1 commit into
mainfrom
deprecated-src-paths

Conversation

@thedataking

@thedataking thedataking commented Oct 24, 2026 •

Copy link
Copy Markdown
Collaborator

Moving the crate root to src/lib.rs removed the rav1d::src::* paths that 1.1.0 exported. Crates such as avif-decode and zenavif still import from them, so this re-exports the old paths and marks them deprecated.

rustc ignores #[deprecated] on modules and re-exports, so code using the old paths won't get a warning. The deprecation only shows in rustdoc and IDEs. Getting real warnings would mean a thin wrapper for each function, and that boilerplate didn't seem worth it.

Needed for the 1.1.1 release (#1506).

@thedataking thedataking changed the title Restore 1.1.0 rav1d::src::* paths as deprecated items Restore 1.1.0 rav1d::src::* paths as deprecated re-exports Oct 24, 2026
Moving the crate root to `src/lib.rs` removed these paths, which downstream crates still import.
@thedataking thedataking changed the title Restore 1.1.0 rav1d::src::* paths as deprecated re-exports Restore deprecated rav1d::src::* paths from 1.1.0 Oct 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant