aboutsummaryrefslogtreecommitdiffstats
path: root/adenosine-pds/src/bin
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2022-11-22 11:31:06 -0800
committerBryan Newbold <bnewbold@robocracy.org>2022-11-22 11:31:06 -0800
commitf1b80f13f9408db9f76410c717d67d4f9cf7ed2a (patch)
tree78e19b2422f82a8b040e68e50758f4f6299a67fb /adenosine-pds/src/bin
parent4fd86c1b2191aaaabc2b8a6ec5fc1078d75a28b5 (diff)
downloadadenosine-f1b80f13f9408db9f76410c717d67d4f9cf7ed2a.tar.gz
adenosine-f1b80f13f9408db9f76410c717d67d4f9cf7ed2a.zip
clippy cleanups
Diffstat (limited to 'adenosine-pds/src/bin')
-rw-r--r--adenosine-pds/src/bin/adenosine-pds.rs10
1 files changed, 6 insertions, 4 deletions
diff --git a/adenosine-pds/src/bin/adenosine-pds.rs b/adenosine-pds/src/bin/adenosine-pds.rs
index 3379841..1fef557 100644
--- a/adenosine-pds/src/bin/adenosine-pds.rs
+++ b/adenosine-pds/src/bin/adenosine-pds.rs
@@ -208,14 +208,16 @@ fn main() -> Result<()> {
did_plc,
} => {
let req = AccountRequest {
- email: email,
+ email,
handle: handle.clone(),
- password: password,
+ password,
inviteCode: None,
recoveryKey: recovery_key,
};
- let mut config = AtpServiceConfig::default();
- config.public_url = public_url.unwrap_or(format!("https://{}", handle));
+ let config = AtpServiceConfig {
+ public_url: public_url.unwrap_or(format!("https://{}", handle)),
+ ..Default::default()
+ };
let keypair = KeyPair::from_hex(&pds_secret_key)?;
let mut srv =
AtpService::new(&opt.blockstore_db_path, &opt.atp_db_path, keypair, config)?;