diff --git a/Cargo.lock b/Cargo.lock index 72994d653..1eedc9131 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -848,6 +848,31 @@ dependencies = [ "syn 2.0.74", ] +[[package]] +name = "dbus" +version = "0.9.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1bb21987b9fb1613058ba3843121dd18b163b254d8a6e797e144cbac14d96d1b" +dependencies = [ + "libc", + "libdbus-sys", + "winapi", +] + +[[package]] +name = "dbus-secret-service" +version = "4.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1caa0c241c01ad8d99a78d553567d38f873dd3ac16eca33a5370d650ab25584e" +dependencies = [ + "dbus", + "futures-util", + "num", + "once_cell", + "openssl", + "rand", +] + [[package]] name = "der" version = "0.7.9" @@ -1846,6 +1871,13 @@ name = "keyring" version = "3.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0c163ef0b9da5ccf44ae4d7c9d24fb1a8750aa1969d484865fc1eedc44b26c09" +dependencies = [ + "byteorder", + "dbus-secret-service", + "openssl", + "security-framework", + "windows-sys 0.52.0", +] [[package]] name = "lazy_static" @@ -1896,6 +1928,16 @@ version = "0.2.155" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c" +[[package]] +name = "libdbus-sys" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06085512b750d640299b79be4bad3d2fa90a9c00b1fd9e1b46364f66f0485c72" +dependencies = [ + "cc", + "pkg-config", +] + [[package]] name = "libm" version = "0.2.8" @@ -2108,7 +2150,7 @@ dependencies = [ "near-crypto", "near-parameters", "near-primitives", - "num-rational", + "num-rational 0.3.2", "once_cell", "serde", "serde_json", @@ -2324,7 +2366,7 @@ dependencies = [ "enum-map", "near-account-id", "near-primitives-core", - "num-rational", + "num-rational 0.3.2", "serde", "serde_repr", "serde_yaml", @@ -2374,7 +2416,7 @@ dependencies = [ "near-rpc-error-macro", "near-stdx", "near-time", - "num-rational", + "num-rational 0.3.2", "once_cell", "ordered-float", "primitive-types", @@ -2405,7 +2447,7 @@ dependencies = [ "derive_more", "enum-map", "near-account-id", - "num-rational", + "num-rational 0.3.2", "serde", "serde_repr", "sha2 0.10.8", @@ -2505,6 +2547,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 0.4.6", + "num-complex", + "num-integer", + "num-iter", + "num-rational 0.4.2", + "num-traits", +] + [[package]] name = "num-bigint" version = "0.3.3" @@ -2516,6 +2572,25 @@ dependencies = [ "num-traits", ] +[[package]] +name = "num-bigint" +version = "0.4.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9" +dependencies = [ + "num-integer", + "num-traits", +] + +[[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" @@ -2531,6 +2606,17 @@ dependencies = [ "num-traits", ] +[[package]] +name = "num-iter" +version = "0.1.45" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1429034a0490724d0075ebb2bc9e875d6503c3cf69e235a8941aa757d83ef5bf" +dependencies = [ + "autocfg", + "num-integer", + "num-traits", +] + [[package]] name = "num-rational" version = "0.3.2" @@ -2538,12 +2624,23 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "12ac428b1cb17fce6f731001d307d351ec70a6d202fc2e60f7d4c5e42d8f4f07" dependencies = [ "autocfg", - "num-bigint", + "num-bigint 0.3.3", "num-integer", "num-traits", "serde", ] +[[package]] +name = "num-rational" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f83d14da390562dca69fc84082e73e548e1ad308d24accdedd2720017cb37824" +dependencies = [ + "num-bigint 0.4.6", + "num-integer", + "num-traits", +] + [[package]] name = "num-traits" version = "0.2.19" diff --git a/Cargo.toml b/Cargo.toml index ea5422d5e..cd7b5de6f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -97,7 +97,7 @@ near-socialdb-client = "0.5" near-abi = "0.4.2" zstd = "0.13" -keyring = "3.0.5" +keyring = { version = "3.0.5", features = ["apple-native", "windows-native", "sync-secret-service", "vendored"] } interactive-clap = "0.3" interactive-clap-derive = "0.3"