-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathCargo.toml
76 lines (61 loc) · 1.62 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[package]
name = "$name_kebab_case$"
version = "$version$" # auto generated do not edit by hand
authors = ["$param.author_name$ <$param.author_email_lower_case$>"]
edition = "2018"
description = "$param.desc$"
[features]
default = ["with-serde"]
with-serde = []
with-test = []
[dependencies]
actix-web = "0.7"
chrono = { version = "0.4", features = ["serde"]}
chrono-tz = "0.5.1"
futures = "0.1"
failure = "=0.1.5"
log = "0.4"
env_logger = "0.9"
lazy_static = "1.2"
rsnowflake = "0.1"
zxcvbn = "2"
# <% if param.with_event_stream %>
event-stream = "0.1.1"
# <% endif %>
# <% if param.password_crypt_algo == "bcrypt" %>
bcrypt = "0.13"
# <% endif %>
# ---- crypto deps -----
ed25519-dalek = "=0.9.1"
sha2 = "0.8"
byteorder = "1.3"
hex = "0.4"
regex = "1"
rand = "0.6"
# --- serde deps -----
serde = "1.0.10"
serde_derive = "1.0.64"
serde_json = "1.0.19"
validator = "0.9.0"
validator_derive = { version = "0.9.0", features = ["phone"]}
# <% if param.with_protobuf %>
protobuf = { version = "2.2.5", features = ["with-serde"] }
# <% endif %>
diesel = { version = "=1.4.1", default-features = false, features = ["32-column-tables", "postgres", "chrono", "r2d2"]}
r2d2 = "0.8"
dotenv = "0.15"
$name_kebab_case$-proc-macro = { path = "./macros/$name_snake_case$_proc_macro" }
# <% if param.with_emailer %>
# for email function to work
lettre = "0.9.2"
lettre_email = "0.9.2"
native-tls = "0.2.3"
# ---- end of email deps ----
# <% endif %>
[dev-dependencies]
$name_kebab_case$-testkit = { version = "0.1.0", path = "./testkit" }
[build-dependencies]
# <% if param.with_protobuf %>
protoc-rust = "2.0"
# <% endif %>
chrono = { version = "0.4" }