|
1 |
| -use icann_rdap_client::http::Client; |
2 |
| -use icann_rdap_common::check::traverse_checks; |
3 |
| -use icann_rdap_common::check::CheckClass; |
4 |
| -use icann_rdap_common::check::CheckParams; |
5 |
| -use icann_rdap_common::check::Checks; |
6 |
| -use icann_rdap_common::check::GetChecks; |
7 |
| -use icann_rdap_common::response::get_related_links; |
8 |
| -use tracing::debug; |
9 |
| -use tracing::error; |
10 |
| -use tracing::info; |
| 1 | +use { |
| 2 | + icann_rdap_client::http::Client, |
| 3 | + icann_rdap_common::{ |
| 4 | + check::{traverse_checks, CheckClass, CheckParams, Checks, GetChecks}, |
| 5 | + response::get_related_links, |
| 6 | + }, |
| 7 | + tracing::{debug, error, info}, |
| 8 | +}; |
11 | 9 |
|
12 |
| -use icann_rdap_client::{ |
13 |
| - gtld::{GtldParams, ToGtldWhois}, |
14 |
| - md::{redacted::replace_redacted_items, MdOptions, MdParams, ToMd}, |
15 |
| - rdap::{QueryType, ResponseData}, |
16 |
| - rdap::{RequestData, RequestResponse, RequestResponses, SourceType}, |
| 10 | +use { |
| 11 | + icann_rdap_client::{ |
| 12 | + gtld::{GtldParams, ToGtldWhois}, |
| 13 | + md::{redacted::replace_redacted_items, MdOptions, MdParams, ToMd}, |
| 14 | + rdap::{ |
| 15 | + QueryType, RequestData, RequestResponse, RequestResponses, ResponseData, SourceType, |
| 16 | + }, |
| 17 | + }, |
| 18 | + termimad::{crossterm::style::Color::*, Alignment, MadSkin}, |
17 | 19 | };
|
18 |
| -use termimad::{crossterm::style::Color::*, Alignment, MadSkin}; |
19 | 20 |
|
20 |
| -use crate::bootstrap::get_base_url; |
21 |
| -use crate::bootstrap::BootstrapType; |
22 |
| -use crate::error::RdapCliError; |
23 |
| -use crate::request::do_request; |
| 21 | +use crate::{ |
| 22 | + bootstrap::{get_base_url, BootstrapType}, |
| 23 | + error::RdapCliError, |
| 24 | + request::do_request, |
| 25 | +}; |
24 | 26 |
|
25 | 27 | #[derive(Debug, Copy, Clone, PartialEq, Eq, PartialOrd, Ord)]
|
26 | 28 | pub(crate) enum OutputType {
|
|
0 commit comments