From f2757cf1b0bfc6fbb781577a9e687e1abcf7615d Mon Sep 17 00:00:00 2001 From: eladyn Date: Fri, 27 Dec 2024 19:33:36 +0100 Subject: [PATCH] keyring: re-enable real backends --- Cargo.lock | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ Cargo.toml | 2 +- 2 files changed, 53 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index f181859e..5501070f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -646,6 +646,19 @@ dependencies = [ "dbus", ] +[[package]] +name = "dbus-secret-service" +version = "4.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b42a16374481d92aed73ae45b1f120207d8e71d24fb89f357fadbd8f946fd84b" +dependencies = [ + "dbus", + "futures-util", + "num", + "once_cell", + "rand", +] + [[package]] name = "dbus-tokio" version = "0.7.6" @@ -1688,7 +1701,12 @@ version = "3.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2f8fe839464d4e4b37d756d7e910063696af79a7e877282cb1825e4ec5f10833" dependencies = [ + "byteorder", + "dbus-secret-service", "log", + "security-framework 2.11.1", + "security-framework 3.1.0", + "windows-sys 0.59.0", ] [[package]] @@ -2166,6 +2184,20 @@ dependencies = [ "winapi", ] +[[package]] +name = "num" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "35bd024e8b2ff75562e5f34e7f4905839deb4b22955ef5e73d2fea1b9813cb23" +dependencies = [ + "num-bigint", + "num-complex", + "num-integer", + "num-iter", + "num-rational", + "num-traits", +] + [[package]] name = "num-bigint" version = "0.4.6" @@ -2194,6 +2226,15 @@ dependencies = [ "zeroize", ] +[[package]] +name = "num-complex" +version = "0.4.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "73f88a1307638156682bada9d7604135552957b7818057dcef22705b4d509495" +dependencies = [ + "num-traits", +] + [[package]] name = "num-conv" version = "0.1.0" @@ -2242,6 +2283,17 @@ dependencies = [ "num-traits", ] +[[package]] +name = "num-rational" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f83d14da390562dca69fc84082e73e548e1ad308d24accdedd2720017cb37824" +dependencies = [ + "num-bigint", + "num-integer", + "num-traits", +] + [[package]] name = "num-traits" version = "0.2.19" diff --git a/Cargo.toml b/Cargo.toml index fba33363..7cb77b34 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,7 +18,7 @@ fern = { version = "0.7.0", features = ["syslog-6"] } futures = "0.3.15" gethostname = "0.5.0" hex = "0.4" -keyring = { version = "3.5", optional = true } +keyring = { version = "3.5", optional = true, features = ["apple-native", "windows-native", "sync-secret-service"] } libc = "0.2.82" log = "0.4.6" serde = { version = "1.0.115", features = ["derive"] }