Skip to content

Commit

Permalink
fix(CI): format code
Browse files Browse the repository at this point in the history
  • Loading branch information
zu1k committed Apr 9, 2024
1 parent 7057325 commit c616942
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 12 deletions.
File renamed without changes.
3 changes: 1 addition & 2 deletions build.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
use std::{env, net::Ipv4Addr};

fn main() {
let auth_server_ip =
env!(
let auth_server_ip = env!(
"AUTH_SERVER_IP",
"Expect env AUTH_SERVER_IP, export AUTH_SERVER_IP=10.0.0.1"
);
Expand Down
3 changes: 0 additions & 3 deletions rust-toolchain

This file was deleted.

13 changes: 6 additions & 7 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
pub use file::read_config_from_file;
pub use srun::*;
pub use user::User;
pub use utils::get_ip_by_if_name;
pub use utils::select_ip;
pub use utils::{get_ip_by_if_name, select_ip};
pub use xencode::param_i;

mod user;
mod srun;
mod xencode;
mod file;
mod utils;
#[cfg(feature = "ureq")]
mod http_client;
mod srun;
mod user;
mod utils;
mod xencode;

pub type Result<T> = std::result::Result<T, Box<dyn std::error::Error>>;
pub type Result<T> = std::result::Result<T, Box<dyn std::error::Error>>;

0 comments on commit c616942

Please sign in to comment.