diff --git a/Cargo.lock b/Cargo.lock index 49dbaef..b92c0fc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1292,35 +1292,6 @@ version = "0.4.20" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" -[[package]] -name = "mail_accounts" -version = "0.1.0" -dependencies = [ - "argon2", - "axum", - "axum-extra", - "base64 0.21.2", - "color-eyre", - "cookie", - "envious", - "futures-util", - "itertools 0.11.0", - "jwt-simple", - "once_cell", - "openidconnect", - "parking_lot", - "secrecy", - "serde", - "serde_urlencoded", - "sqlx", - "tera", - "thiserror", - "tokio", - "tracing", - "tracing-subscriber", - "uuid", -] - [[package]] name = "matchers" version = "0.1.0" @@ -2599,6 +2570,35 @@ dependencies = [ "uuid", ] +[[package]] +name = "stalwart-accounts" +version = "0.1.0" +dependencies = [ + "argon2", + "axum", + "axum-extra", + "base64 0.21.2", + "color-eyre", + "cookie", + "envious", + "futures-util", + "itertools 0.11.0", + "jwt-simple", + "once_cell", + "openidconnect", + "parking_lot", + "secrecy", + "serde", + "serde_urlencoded", + "sqlx", + "tera", + "thiserror", + "tokio", + "tracing", + "tracing-subscriber", + "uuid", +] + [[package]] name = "stringprep" version = "0.1.3" diff --git a/Cargo.toml b/Cargo.toml index e0ad22d..a58a4b4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "mail_accounts" +name = "stalwart-accounts" version = "0.1.0" authors = ["traxys "] edition = "2021" diff --git a/nixos/default.nix b/nixos/default.nix index f65229f..3086697 100644 --- a/nixos/default.nix +++ b/nixos/default.nix @@ -85,7 +85,7 @@ with lib; { serviceConfig = { Type = "simple"; User = cfg.user; - ExecStart = "${cfg.package}/bin/mail_accounts"; + ExecStart = "${cfg.package}/bin/stalwart-accounts"; EnvironmentFile = optional (cfg.environmentFile != null) cfg.environmentFile; # Security NoNewPrivileges = true;