feat: implement Smol Mail server in Rust with nix flake deployment

This commit is contained in:
randogoth 2026-09-26 11:52:22 +03:00
commit 71ad7e04c0
14 changed files with 2592 additions and 0 deletions

22
Cargo.toml Normal file
View file

@ -0,0 +1,22 @@
[package]
name = "bunshin"
version = "0.1.0"
edition = "2021"
description = "Smol Mail server"
[[bin]]
name = "bunshin"
path = "src/main.rs"
[dependencies]
snow = "0.9"
rusqlite = { version = "0.32", features = ["bundled"] }
ed25519-dalek = "2"
x25519-dalek = { version = "2", features = ["static_secrets"] }
rand_core = { version = "0.6", features = ["getrandom"] }
sha2 = "0.10"
data-encoding = "2"
clap = { version = "4", features = ["derive"] }
log = "0.4"
env_logger = "0.11"
anyhow = "1"