diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2024-12-16 09:00:46 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2024-12-16 09:46:30 +0000 |
| commit | 4ee83e2fe5335a8afd78439c35f029c4a472e797 (patch) | |
| tree | bdb111b191e7a68cb74ce29b4bb2757b4b7be91f /src/lib/login/existing.rs | |
| parent | 5fe839e2bf8ceb2931c1984efb2d956980431203 (diff) | |
chore: bump nix flake rust nightly `fmt` overlay
update the rust nightly `fmt` overlay which needs to be pinned
to a specific version (this case by date)
update formatting in main files via `cargo fmt`
Diffstat (limited to 'src/lib/login/existing.rs')
| -rw-r--r-- | src/lib/login/existing.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/login/existing.rs b/src/lib/login/existing.rs index 4606c22..efe187e 100644 --- a/src/lib/login/existing.rs +++ b/src/lib/login/existing.rs | |||
| @@ -1,15 +1,15 @@ | |||
| 1 | use std::{str::FromStr, sync::Arc, time::Duration}; | 1 | use std::{str::FromStr, sync::Arc, time::Duration}; |
| 2 | 2 | ||
| 3 | use anyhow::{bail, Context, Result}; | 3 | use anyhow::{Context, Result, bail}; |
| 4 | use nostr::nips::nip46::NostrConnectURI; | 4 | use nostr::nips::nip46::NostrConnectURI; |
| 5 | use nostr_connect::client::NostrConnect; | 5 | use nostr_connect::client::NostrConnect; |
| 6 | use nostr_sdk::{NostrSigner, PublicKey}; | 6 | use nostr_sdk::{NostrSigner, PublicKey}; |
| 7 | 7 | ||
| 8 | use super::{ | 8 | use super::{ |
| 9 | SignerInfo, SignerInfoSource, | ||
| 9 | key_encryption::decrypt_key, | 10 | key_encryption::decrypt_key, |
| 10 | print_logged_in_as, | 11 | print_logged_in_as, |
| 11 | user::{get_user_details, UserRef}, | 12 | user::{UserRef, get_user_details}, |
| 12 | SignerInfo, SignerInfoSource, | ||
| 13 | }; | 13 | }; |
| 14 | #[cfg(not(test))] | 14 | #[cfg(not(test))] |
| 15 | use crate::client::Client; | 15 | use crate::client::Client; |
| @@ -18,7 +18,7 @@ use crate::client::MockConnect; | |||
| 18 | use crate::{ | 18 | use crate::{ |
| 19 | cli_interactor::{Interactor, InteractorPrompt, PromptPasswordParms}, | 19 | cli_interactor::{Interactor, InteractorPrompt, PromptPasswordParms}, |
| 20 | client::fetch_public_key, | 20 | client::fetch_public_key, |
| 21 | git::{get_git_config_item, Repo, RepoActions}, | 21 | git::{Repo, RepoActions, get_git_config_item}, |
| 22 | }; | 22 | }; |
| 23 | 23 | ||
| 24 | /// load signer from git config and UserProfile from cache or relays | 24 | /// load signer from git config and UserProfile from cache or relays |