@@ -18,7 +18,7 @@ use gleam_core::{
1818use hexpm:: version:: { Range , Version } ;
1919use itertools:: Itertools ;
2020use sha2:: Digest ;
21- use std:: { collections:: HashMap , io:: Write , path:: PathBuf , time :: Instant } ;
21+ use std:: { collections:: HashMap , io:: Write , path:: PathBuf } ;
2222
2323use crate :: { build, cli, docs, fs, http:: HttpClient } ;
2424
@@ -85,7 +85,6 @@ pub fn command(paths: &ProjectPaths, replace: bool, i_am_sure: bool) -> Result<(
8585 let credentials = crate :: hex:: HexAuthentication :: new ( & runtime, & http, hex_config. clone ( ) )
8686 . get_or_create_api_credentials ( ) ?;
8787 let credentials = crate :: hex:: write_credentials ( & credentials) ?;
88- let start = Instant :: now ( ) ;
8988 cli:: print_publishing ( & config. name , & config. version ) ;
9089
9190 runtime. block_on ( hex:: publish_package (
@@ -107,7 +106,7 @@ pub fn command(paths: &ProjectPaths, replace: bool, i_am_sure: bool) -> Result<(
107106 & hex_config,
108107 & http,
109108 ) ) ?;
110- cli:: print_published ( start . elapsed ( ) ) ;
109+ cli:: print_published ( "package and documentation" ) ;
111110 println ! (
112111 "\n View your package at https://hex.pm/packages/{}" ,
113112 & config. name
0 commit comments