Update aur-rpc

i18n
trivernis 2 years ago
parent 57d331a318
commit c667f5b285
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

8
Cargo.lock generated

@ -50,9 +50,9 @@ checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
[[package]] [[package]]
name = "aho-corasick" name = "aho-corasick"
version = "0.7.18" version = "0.7.19"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f" checksum = "b4f55bd91a0978cbfd91c457a164bab8b4001c833b7f323132c0a4e1922dd44e"
dependencies = [ dependencies = [
"memchr", "memchr",
] ]
@ -90,9 +90,9 @@ dependencies = [
[[package]] [[package]]
name = "aur-rpc" name = "aur-rpc"
version = "0.1.2" version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e34866076a1b9a1af170e30ff8bb5f3d82ab8b3c204d8f11f3b93f41d55e8f15" checksum = "4edbe8eb8dde1e70c5969f980a5a51a6b267d86c49d99c4bd42b7d26a8bb39c5"
dependencies = [ dependencies = [
"reqwest", "reqwest",
"serde", "serde",

@ -32,7 +32,7 @@ serde = { version = "1.0.144", default-features = false, features = [ "derive",
native-tls = { version = "0.2.10", default-features = false } native-tls = { version = "0.2.10", default-features = false }
libc = { version = "0.2.132", default-features = false } libc = { version = "0.2.132", default-features = false }
async-recursion = "1.0.0" async-recursion = "1.0.0"
aur-rpc = "0.1.2" aur-rpc = "0.1.3"
futures = "0.3.23" futures = "0.3.23"
tracing = "0.1.36" tracing = "0.1.36"
tracing-subscriber = { version = "0.3.15", features = ["env-filter"] } tracing-subscriber = { version = "0.3.15", features = ["env-filter"] }

@ -65,7 +65,10 @@ impl<T> SilentUnwrap<T> for AppResult<T> {
fn silent_unwrap(self, exit_code: AppExitCode) -> T { fn silent_unwrap(self, exit_code: AppExitCode) -> T {
match self { match self {
Ok(val) => val, Ok(val) => val,
Err(_) => crash!(exit_code, "An error occurred"), Err(e) => {
tracing::debug!("{e}");
crash!(exit_code, "An error occurred")
}
} }
} }
} }

Loading…
Cancel
Save