Rename mailrage to aerogramme in missing places

This commit is contained in:
Alex 2022-06-30 10:50:03 +02:00
parent 4a412b96aa
commit 780547fd6f
Signed by: lx
GPG key ID: 0E496D15096376BE
5 changed files with 48 additions and 48 deletions

2
.gitignore vendored
View file

@ -1,6 +1,6 @@
/target
.vimrc
env.sh
mailrage.toml
aerogramme.toml
*.swo
*.swp

84
Cargo.lock generated
View file

@ -17,6 +17,48 @@ version = "1.0.2"
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"
@ -1278,48 +1320,6 @@ dependencies = [
"serde",
]
[[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"

View file

@ -1,5 +1,5 @@
[package]
name = "mailrage"
name = "aerogramme"
version = "0.0.1"
authors = ["Alex Auvolat <alex@adnab.me>"]
edition = "2021"

View file

@ -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"

View file

@ -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)