mirror of
https://github.com/RustySamovar/RustySamovar.git
synced 2024-11-25 11:36:46 +00:00
Disable local_ip_address crate as of now it doesn't support cross-compilation
This commit is contained in:
parent
b83363fd6d
commit
68d8adfe36
@ -27,7 +27,7 @@ num-derive = "0.3"
|
|||||||
pretty-hex = "0.2"
|
pretty-hex = "0.2"
|
||||||
sea-orm = { version = "0.3", features = [ "sqlx-all", "runtime-async-std-native-tls" ] }
|
sea-orm = { version = "0.3", features = [ "sqlx-all", "runtime-async-std-native-tls" ] }
|
||||||
hostname = "0.3"
|
hostname = "0.3"
|
||||||
local-ip-address = "0.4"
|
#local-ip-address = "0.4"
|
||||||
chrono = "0.4"
|
chrono = "0.4"
|
||||||
rand = "0.8"
|
rand = "0.8"
|
||||||
|
|
||||||
|
@ -630,8 +630,8 @@ impl DispatchServer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn get_local_ip() -> String {
|
fn get_local_ip() -> String {
|
||||||
return local_ip_address::local_ip().unwrap().to_string();
|
//return local_ip_address::local_ip().unwrap().to_string();
|
||||||
//return "127.0.0.1".to_string();
|
return "127.0.0.1".to_string();
|
||||||
}
|
}
|
||||||
|
|
||||||
fn load_keys(name: &str) -> (Vec<u8>, Vec<u8>) {
|
fn load_keys(name: &str) -> (Vec<u8>, Vec<u8>) {
|
||||||
|
Loading…
Reference in New Issue
Block a user