Skip to content

Make module functions private in binary crates - #809

Merged
Enet4 merged 6 commits into
Enet4:masterfrom
Luni-4:visibility
Aug 5, 2026
Merged

Make module functions private in binary crates#809
Enet4 merged 6 commits into
Enet4:masterfrom
Luni-4:visibility

Conversation

@Luni-4

@Luni-4 Luni-4 commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Since this issue is still open (rust-lang/rust#74970), it's better to change all pub modifiers in binary crates to pub(crate). This change also helped uncover an unused enum variant.

@Enet4 Enet4 added chore For keeping the project tidy A-tool Area: tooling labels Jul 13, 2026
@Enet4 Enet4 added C-dictionary-builder Crate: dicom-dictionary-builder C-storescp Crate: dicom-storescp C-findscu Crate: dicom-findscu A-movescu C-scpproxy Crate: dicom-scproxy labels Aug 5, 2026

@Enet4 Enet4 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks OK. 👍 We may well try to follow that approach for binary crates from now on. Appreciated!

@Enet4
Enet4 merged commit 9f45bfc into Enet4:master Aug 5, 2026
5 checks passed
@Luni-4
Luni-4 deleted the visibility branch August 5, 2026 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-movescu A-tool Area: tooling C-dictionary-builder Crate: dicom-dictionary-builder C-findscu Crate: dicom-findscu C-scpproxy Crate: dicom-scproxy C-storescp Crate: dicom-storescp chore For keeping the project tidy

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants