Expand description
A small TCP server to handle collection of diagnostics information in a
cross-platform way for the cargo fix command.
Re-exportsยง
use cargo_util::collections::HashSet;๐use std::io::BufReader;๐use std::io::Read;๐use std::io::Write;๐use std::net::Shutdown;๐use std::net::SocketAddr;๐use std::net::TcpListener;๐use std::net::TcpStream;๐use std::path::PathBuf;๐use std::sync::Arc;๐use std::sync::atomic::AtomicBool;๐use std::sync::atomic::Ordering;๐use std::thread;๐use std::thread::JoinHandle;๐use anyhow::Context as _;๐use anyhow::Error;๐use cargo_util::ProcessBuilder;๐use cargo_util_terminal::report::Group;๐use cargo_util_terminal::report::Level;๐use cargo_util_terminal::report::Origin;๐use serde::Deserialize;๐use serde::Deserialize;๐use serde::Serialize;๐use serde::Serialize;๐use tracing::warn;๐use crate::util::GlobalContext;๐use crate::util::errors::CargoResult;๐use crate::util::network::LOCALHOST;๐use crate::workspace::Edition;๐
Structsยง
- Diagnostic
Printer - A printer that will print diagnostics messages to the shell.
- Rustfix
Diagnostic Server - Started
Server