-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
42 lines (34 loc) · 907 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
[package]
name = "url"
version = "0.0.1"
edition = "2021"
[[bin]]
name = "url"
path = "src/main.rs"
[dependencies]
lazy_static = { version = "=1.4.0", optional = true }
toml = { version = "=0.5.9", optional = true }
askama = "0.11.1"
[dependencies.rocket]
version = "0.5.0-rc.2"
features = []
[dependencies.rocket-include-static-resources]
version = "0.10.2"
[dependencies.rocket_db_pools]
version = "0.1.0-rc.2"
features = ["sqlx_postgres", "sqlx_macros"]
optional = true
[dependencies.rocket_sync_db_pools]
version = "0.1.0-rc.2"
features = ["postgres_pool"]
optional = true
[features]
#default = ["config_file"]
default = ["database"]
config_file = ["toml", "lazy_static"]
database = ["sqlx", "rocket_db_pools", "rocket_sync_db_pools"]
[dependencies.sqlx]
version = "0.5.13"
default-features = false
features = ["macros", "offline", "migrate", "postgres", "runtime-tokio-rustls"]
optional = true