Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/cli/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ use tracing::{debug, error, info, trace, warn};
use super::self_update;
use crate::cli::download_tracker::DownloadTracker;
use crate::currentprocess::{terminalsource, Process};
use crate::dist::dist::{TargetTriple, ToolchainDesc};
use crate::dist::manifest::ComponentStatus;
use crate::dist::{manifest::ComponentStatus, TargetTriple, ToolchainDesc};
use crate::install::UpdateStatus;
use crate::toolchain::names::{LocalToolchainName, ToolchainName};
use crate::toolchain::toolchain::Toolchain;
Expand Down
2 changes: 1 addition & 1 deletion src/cli/rustup_mode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ use crate::{
Process,
},
dist::{
dist::{PartialToolchainDesc, Profile, TargetTriple},
manifest::{Component, ComponentStatus},
PartialToolchainDesc, Profile, TargetTriple,
},
errors::RustupError,
install::{InstallMethod, UpdateStatus},
Expand Down
9 changes: 4 additions & 5 deletions src/cli/self_update.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,17 +63,16 @@ use same_file::Handle;
use serde::{Deserialize, Serialize};
use tracing::{error, info, trace, warn};

use crate::currentprocess::terminalsource;
use crate::errors::RustupError;
use crate::{
cli::{
common::{self, ignorable_error, report_error, Confirm, PackageUpdate},
errors::*,
markdown::md,
},
config::Cfg,
currentprocess::Process,
dist::dist::{self, PartialToolchainDesc, Profile, TargetTriple, ToolchainDesc},
currentprocess::{terminalsource, Process},
dist::{self, PartialToolchainDesc, Profile, TargetTriple, ToolchainDesc},
errors::RustupError,
install::UpdateStatus,
toolchain::{
distributable::DistributableToolchain,
Expand Down Expand Up @@ -1338,7 +1337,7 @@ mod tests {

use crate::cli::common;
use crate::cli::self_update::InstallOpts;
use crate::dist::dist::{PartialToolchainDesc, Profile};
use crate::dist::{PartialToolchainDesc, Profile};
use crate::test::{test_dir, with_rustup_home, Env};
use crate::{currentprocess::TestProcess, for_host};

Expand Down
2 changes: 1 addition & 1 deletion src/cli/self_update/windows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use super::common;
use super::{install_bins, InstallOpts};
use crate::cli::download_tracker::DownloadTracker;
use crate::currentprocess::Process;
use crate::dist::dist::TargetTriple;
use crate::dist::TargetTriple;
use crate::utils::utils;
use crate::utils::Notification;

Expand Down
2 changes: 1 addition & 1 deletion src/cli/setup_mode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use crate::{
self_update::{self, InstallOpts},
},
currentprocess::Process,
dist::dist::Profile,
dist::Profile,
toolchain::names::MaybeOfficialToolchainName,
utils::utils,
};
Expand Down
9 changes: 2 additions & 7 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,15 @@ use thiserror::Error as ThisError;
use tokio_stream::StreamExt;
use tracing::trace;

use crate::settings::MetadataVersion;
use crate::{
cli::self_update::SelfUpdateMode,
currentprocess::Process,
dist::{
dist::{self, Profile, ToolchainDesc},
download::DownloadCfg,
temp,
},
dist::{self, download::DownloadCfg, temp, Profile, ToolchainDesc},
errors::RustupError,
fallback_settings::FallbackSettings,
install::UpdateStatus,
notifications::*,
settings::{Settings, SettingsFile},
settings::{MetadataVersion, Settings, SettingsFile},
toolchain::{
distributable::DistributableToolchain,
names::{
Expand Down
2 changes: 1 addition & 1 deletion src/dist/component/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ use std::path::PathBuf;

use crate::currentprocess::TestProcess;
use crate::dist::component::Transaction;
use crate::dist::dist::DEFAULT_DIST_SERVER;
use crate::dist::prefix::InstallPrefix;
use crate::dist::temp;
use crate::dist::Notification;
use crate::dist::DEFAULT_DIST_SERVER;
use crate::errors::RustupError;
use crate::utils::raw as utils_raw;
use crate::utils::utils;
Expand Down
Loading