0
0
Fork 0
mirror of https://git.verdigado.com/NB-Public/simple-wkd.git synced 2024-12-06 14:52:41 +01:00

Reorganize workspaces

This commit is contained in:
Delta1925 2023-04-16 20:03:10 +02:00
parent f457350746
commit da472a23ff
No known key found for this signature in database
GPG key ID: 1C21ACE44193CB25
9 changed files with 140 additions and 24 deletions

4
backend/.gitignore vendored Normal file
View file

@ -0,0 +1,4 @@
/target
/data
/logs
config.toml

2892
backend/Cargo.lock generated Normal file

File diff suppressed because it is too large Load diff

23
backend/Cargo.toml Normal file
View file

@ -0,0 +1,23 @@
[package]
name = "simple-wkd"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
actix-files = "0.6.2"
actix-web = "4.3.1"
chrono = "0.4.24"
flexi_logger = "0.25.3"
lettre = "0.10.4"
log = "0.4.17"
once_cell = "1.17.1"
rand = "0.8.5"
sequoia-net = "0.27.0"
sequoia-openpgp = "1.14.0"
serde = { version = "1.0.160", features = ["derive"] }
thiserror = "1.0.40"
tokio = { version = "1.27.0", features = ["time"] }
toml = "0.7.3"
url = { version = "2.3.1", features = ["serde"] }

View file

@ -0,0 +1,16 @@
variant = "Advanced"
max_age = 900
cleanup_interval = 21600
allowed_domains = ["example.org", "example.com"]
port = 8080
bind_host = "0.0.0.0"
external_url = "http://localhost:8080"
[mail_settings]
smtp_host = "mail.example.org"
smtp_username = "keyservice"
smtp_password = "verysecurepassword"
smtp_port = 465
smtp_tls = "Tls"
mail_from = "key-submission@example.org"
mail_subject = "Please confirm to %a your public key"

View file

@ -1,5 +0,0 @@
/target
/data
/logs
/config.toml
/assets/webpage