1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-11-20 12:02:22 +03:00

Upgrade all dependencies

This commit is contained in:
Quentin Gliech
2021-10-18 17:45:45 +02:00
parent 026bc47c27
commit 617ab83ab2
11 changed files with 127 additions and 72 deletions

View File

@@ -13,20 +13,20 @@
// limitations under the License.
use argon2::Argon2;
use clap::Clap;
use clap::Parser;
use mas_config::DatabaseConfig;
use mas_core::storage::register_user;
use tracing::{info, warn};
use super::RootCommand;
#[derive(Clap, Debug)]
#[derive(Parser, Debug)]
pub(super) struct ManageCommand {
#[clap(subcommand)]
subcommand: ManageSubcommand,
}
#[derive(Clap, Debug)]
#[derive(Parser, Debug)]
enum ManageSubcommand {
/// Register a new user
Register { username: String, password: String },