@@ -15,7 +15,7 @@ use sentry_log::SentryLogger;
1515use structopt:: StructOpt ;
1616use strum:: VariantNames ;
1717
18- pub fn main ( ) {
18+ fn main ( ) {
1919 let _ = dotenv:: dotenv ( ) ;
2020
2121 let _sentry_guard = if let Ok ( sentry_dsn) = env:: var ( "SENTRY_DSN" ) {
@@ -124,7 +124,7 @@ enum CommandLine {
124124}
125125
126126impl CommandLine {
127- pub fn handle_args ( self ) -> Result < ( ) > {
127+ fn handle_args ( self ) -> Result < ( ) > {
128128 let ctx = BinContext :: new ( ) ;
129129
130130 match self {
@@ -175,7 +175,7 @@ enum QueueSubcommand {
175175}
176176
177177impl QueueSubcommand {
178- pub fn handle_args ( self , ctx : BinContext ) -> Result < ( ) > {
178+ fn handle_args ( self , ctx : BinContext ) -> Result < ( ) > {
179179 match self {
180180 Self :: Add {
181181 crate_name,
@@ -214,7 +214,7 @@ enum PrioritySubcommand {
214214}
215215
216216impl PrioritySubcommand {
217- pub fn handle_args ( self , ctx : BinContext ) -> Result < ( ) > {
217+ fn handle_args ( self , ctx : BinContext ) -> Result < ( ) > {
218218 match self {
219219 Self :: Set { pattern, priority } => {
220220 set_crate_priority ( & mut * ctx. conn ( ) ?, & pattern, priority)
@@ -248,7 +248,7 @@ struct Build {
248248}
249249
250250impl Build {
251- pub fn handle_args ( self , ctx : BinContext ) -> Result < ( ) > {
251+ fn handle_args ( self , ctx : BinContext ) -> Result < ( ) > {
252252 self . subcommand . handle_args ( ctx, self . skip_if_exists )
253253 }
254254}
@@ -295,7 +295,7 @@ enum BuildSubcommand {
295295}
296296
297297impl BuildSubcommand {
298- pub fn handle_args ( self , ctx : BinContext , skip_if_exists : bool ) -> Result < ( ) > {
298+ fn handle_args ( self , ctx : BinContext , skip_if_exists : bool ) -> Result < ( ) > {
299299 let build_queue = ctx. build_queue ( ) ?;
300300
301301 let rustwide_builder = || -> Result < RustwideBuilder > {
@@ -422,7 +422,7 @@ enum DatabaseSubcommand {
422422}
423423
424424impl DatabaseSubcommand {
425- pub fn handle_args ( self , ctx : BinContext ) -> Result < ( ) > {
425+ fn handle_args ( self , ctx : BinContext ) -> Result < ( ) > {
426426 match self {
427427 Self :: Migrate { version } => {
428428 db:: migrate ( version, & mut * ctx. conn ( ) ?)
0 commit comments