style: use tabs over spaces
This commit is contained in:
parent
f2979d4cde
commit
f0550dd429
41 changed files with 1112 additions and 1109 deletions
|
@ -6,14 +6,14 @@ pub mod prism_meta;
|
|||
pub mod rory;
|
||||
|
||||
pub static USER_AGENT: Lazy<String> = Lazy::new(|| {
|
||||
let version = option_env!("CARGO_PKG_VERSION").unwrap_or("development");
|
||||
let version = option_env!("CARGO_PKG_VERSION").unwrap_or("development");
|
||||
|
||||
format!("refraction/{version}")
|
||||
format!("refraction/{version}")
|
||||
});
|
||||
|
||||
pub static REQWEST_CLIENT: Lazy<reqwest::Client> = Lazy::new(|| {
|
||||
reqwest::Client::builder()
|
||||
.user_agent(USER_AGENT.to_string())
|
||||
.build()
|
||||
.unwrap_or_default()
|
||||
reqwest::Client::builder()
|
||||
.user_agent(USER_AGENT.to_string())
|
||||
.build()
|
||||
.unwrap_or_default()
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue