aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2023-12-04 16:51:27 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2023-12-04 16:51:27 +0100
commit2779837a3750c3b2964c3a4d5d43de25218bc605 (patch)
tree3d87ba823c3191d9ae2eb3224f37a4c9923205e2 /src/main.rs
parente2581c0dfb95a3fca86bb4801f425ed519257ff9 (diff)
downloadaerogramme-2779837a3750c3b2964c3a4d5d43de25218bc605.tar.gz
aerogramme-2779837a3750c3b2964c3a4d5d43de25218bc605.zip
WIP config rework
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 1055650..a566ec6 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -74,7 +74,7 @@ async fn main() -> Result<()> {
Command::Test => {
use std::collections::HashMap;
use std::net::{IpAddr, Ipv4Addr, Ipv6Addr, SocketAddr};
- println!("--- toml ---\n{}\n--- end ---\n", toml::to_string(&Config {
+ println!("--- message pack ---\n{:?}\n--- end ---\n", rmp_serde::to_vec(&Config {
lmtp: None,
imap: Some(ImapConfig { bind_addr: SocketAddr::new(IpAddr::V6(Ipv6Addr::new(0, 0, 0, 0, 0, 0, 0, 1)), 8080) }),
login_ldap: None,