-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
47 lines (38 loc) · 913 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[package]
name = "webshop"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[profile.release]
lto = true
strip = true
codegen-units = 1
[profile.release-size]
inherits = "release"
opt-level = "z"
[profile.optimized]
inherits = "release"
lto = false
codegen-units = 16
[lib]
name = "webshop_lib"
path = "src/lib.rs"
[[bin]]
name = "webshop"
path = "src/main.rs"
[dependencies]
rocket_dyn_templates = { version = "0.1.0-rc.2", features = ["handlebars"] }
diesel = { version = "1.4.8", features = ["postgres"]}
diesel_migrations = "1.4.0"
bcrypt = "0.13.0"
serde = "1.0.152"
toml = "0.5.10"
once_cell = "1.17.0"
directories = "4.0.1"
dotenvy = "0.15.6"
[dependencies.rocket]
version = "0.5.0-rc.2"
features = ["json", "secrets"]
[dependencies.rocket_sync_db_pools]
version = "0.1.0-rc.2"
features = ["diesel_postgres_pool"]