From 3a388b98a9aa6a14b1c7f7dc909c109cf9837800 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 16 Aug 2026 00:59:54 +0900 Subject: refactor: narrow pub(crate) items to private Porting mapped every PHP `protected` member onto `pub(crate)`, which is wider than nearly all of them need. Each item demoted here is reached only from the module that defines it, so the crate-wide visibility conveyed nothing. Every `pub(crate)` that survives has at least one reader in another module of the same crate. Co-Authored-By: Claude Opus 5 (1M context) --- crates/shirabe/src/dependency_resolver/request.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'crates/shirabe/src/dependency_resolver/request.rs') diff --git a/crates/shirabe/src/dependency_resolver/request.rs b/crates/shirabe/src/dependency_resolver/request.rs index 410831dd..1b6925ed 100644 --- a/crates/shirabe/src/dependency_resolver/request.rs +++ b/crates/shirabe/src/dependency_resolver/request.rs @@ -231,12 +231,12 @@ pub enum UpdateAllowTransitiveDeps { #[derive(Debug)] pub struct Request { - pub(crate) locked_repository: Option, - pub(crate) requires: IndexMap, - pub(crate) fixed_packages: IndexMap, - pub(crate) locked_packages: IndexMap, - pub(crate) fixed_locked_packages: IndexMap, - pub(crate) update_allow_list: Vec, - pub(crate) update_allow_transitive_dependencies: UpdateAllowTransitiveDeps, + locked_repository: Option, + requires: IndexMap, + fixed_packages: IndexMap, + locked_packages: IndexMap, + fixed_locked_packages: IndexMap, + update_allow_list: Vec, + update_allow_transitive_dependencies: UpdateAllowTransitiveDeps, restrict_packages: Option>, } -- cgit v1.3.1-4-g156e