-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
52 lines (42 loc) · 1.21 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
[package]
name = "ussdframework"
version = "0.1.0"
edition = "2021"
authors = ["Rhaqim <anusiemj@gmail.com>"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "ussdframework"
path = "src/lib.rs"
crate-type = ["lib"]
[[bin]]
name = "main"
path = "src/main.rs"
[build-dependencies]
# Required to execute shell commands during build
cargo-make = "0.37.12"
[dependencies]
# web framework
openssl = "0.10.38"
actix-files = "0.6.5"
actix-web = "4.0"
actix-multipart = "0.6.1"
futures-util = "0.3.17"
awc = { version = "3.0.0-beta.11", features = [ "openssl" ] }
# helpers
chrono = { version = "0.4", features = ["serde"] }
config = "0.14.0"
lazy_static = "1.4.0"
regex = "1.5.4"
static_dir = "0.2.0"
# serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# async
tokio = { version = "1.0", features = ["full"] }
# feature dependencies // change to optional for build
diesel = { version = "2.1.4", features = ["sqlite", "r2d2"], optional = false }
diesel_migrations = { version = "2.1.0", optional = false }
dotenv = { version = "0.15.0", optional = false }
[features]
# menubuilder = ["diesel", "diesel_migrations", "dotenv"]
menubuilder = []