diff options
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | Cargo.lock | 84 | ||||
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | src/main.rs | 6 |
5 files changed, 48 insertions, 48 deletions
@@ -1,6 +1,6 @@ /target .vimrc env.sh -mailrage.toml +aerogramme.toml *.swo *.swp @@ -18,6 +18,48 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" [[package]] +name = "aerogramme" +version = "0.0.1" +dependencies = [ + "anyhow", + "argon2", + "async-trait", + "base64", + "boitalettres", + "clap", + "duplexify", + "futures", + "hex", + "im", + "imap-codec", + "itertools", + "k2v-client", + "lazy_static", + "ldap3", + "log", + "mail-parser", + "pretty_env_logger", + "rand", + "rmp-serde", + "rpassword", + "rusoto_core", + "rusoto_credential", + "rusoto_s3", + "rusoto_signature", + "serde", + "smtp-message", + "smtp-server", + "sodiumoxide", + "tokio", + "tokio-util", + "toml", + "tower", + "tracing", + "tracing-subscriber", + "zstd", +] + +[[package]] name = "aho-corasick" version = "0.7.18" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1279,48 +1321,6 @@ dependencies = [ ] [[package]] -name = "mailrage" -version = "0.0.1" -dependencies = [ - "anyhow", - "argon2", - "async-trait", - "base64", - "boitalettres", - "clap", - "duplexify", - "futures", - "hex", - "im", - "imap-codec", - "itertools", - "k2v-client", - "lazy_static", - "ldap3", - "log", - "mail-parser", - "pretty_env_logger", - "rand", - "rmp-serde", - "rpassword", - "rusoto_core", - "rusoto_credential", - "rusoto_s3", - "rusoto_signature", - "serde", - "smtp-message", - "smtp-server", - "sodiumoxide", - "tokio", - "tokio-util", - "toml", - "tower", - "tracing", - "tracing-subscriber", - "zstd", -] - -[[package]] name = "matches" version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1,5 +1,5 @@ [package] -name = "mailrage" +name = "aerogramme" version = "0.0.1" authors = ["Alex Auvolat <alex@adnab.me>"] edition = "2021" @@ -22,7 +22,7 @@ aws_access_key_id = "GK..." aws_secret_access_key = "c0ffee..." ``` -Next create the config file `mailrage.toml`: +Next create the config file `aerogramme.toml`: ``` s3_endpoint = "http://127.0.0.1:3900" diff --git a/src/main.rs b/src/main.rs index 6744157..b27c891 100644 --- a/src/main.rs +++ b/src/main.rs @@ -30,12 +30,12 @@ struct Args { enum Command { /// Runs the IMAP+LMTP server daemon Server { - #[clap(short, long, env = "CONFIG_FILE", default_value = "mailrage.toml")] + #[clap(short, long, env = "CONFIG_FILE", default_value = "aerogramme.toml")] config_file: PathBuf, }, /// TEST TEST TEST Test { - #[clap(short, long, env = "CONFIG_FILE", default_value = "mailrage.toml")] + #[clap(short, long, env = "CONFIG_FILE", default_value = "aerogramme.toml")] config_file: PathBuf, }, /// Initializes key pairs for a user and adds a key decryption password @@ -115,7 +115,7 @@ struct UserSecretsArgs { #[tokio::main] async fn main() -> Result<()> { if std::env::var("RUST_LOG").is_err() { - std::env::set_var("RUST_LOG", "main=info,mailrage=info,k2v_client=info") + std::env::set_var("RUST_LOG", "main=info,aerogramme=info,k2v_client=info") } // Abort on panic (same behavior as in Go) |