-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
32 lines (29 loc) · 1000 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
[package]
name = "vmail-rs"
version = "0.4.0"
authors = [ "Armin Widegreen <[email protected]>"]
license = "BSD-3-Clause"
documentation = "https://github.com/awidegreen/vmail-rs"
homepage = "https://github.com/awidegreen/vmail-rs"
repository = "https://github.com/awidegreen/vmail-rs"
readme = "README.md"
description = "A CLI client for vmail (mailserver setup with Dovecot, Postfix, MySQL, Rspamd)"
edition = '2018'
[[bin]]
path = "src/main.rs"
name = "vmail-cli"
[features]
default = ["mysql"]
mysql = ["diesel/mysql", "diesel-derive-enum/mysql"]
# Thomas Leistner's tutorial is using mysql, so this is the default database
# backend. Build with `--features postgres` for postgres support.
postgres = ["diesel/postgres", "diesel-derive-enum/postgres"]
[dependencies]
dotenv = "0.15.0"
clap = "2.33.*"
rpassword = "5.*"
failure = "0.1"
failure_derive = "0.1"
sha-crypt = { version = "0.1.0", features = ["include_simple"] }
diesel = { version = "1.4"}
diesel-derive-enum = { version = "1.1"}