-
Notifications
You must be signed in to change notification settings - Fork 93
Expand file tree
/
Copy pathCargo.toml
More file actions
30 lines (26 loc) · 1.04 KB
/
Cargo.toml
File metadata and controls
30 lines (26 loc) · 1.04 KB
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
[package]
name = "pointercrate-user-api"
version = "0.1.0"
authors.workspace = true
edition.workspace = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
rocket = { workspace = true }
sqlx = { workspace = true }
pointercrate-user = {path = "../pointercrate-user"}
pointercrate-user-pages = {path = "../pointercrate-user-pages"}
pointercrate-core = {path = "../pointercrate-core"}
pointercrate-core-api = {path = "../pointercrate-core-api"}
pointercrate-core-pages = {path = "../pointercrate-core-pages"}
pointercrate-core-macros = {path = "../pointercrate-core-macros"}
serde_urlencoded = "0.7.0"
log = "0.4.29"
base64 = "0.22.1"
nonzero_ext = "0.3.0"
governor = "0.10.4"
# Dependencies needed only for oauth2
reqwest = { version = "0.13.2", optional = true, features = ["json"] }
chrono = { version = "0.4.44", optional = true }
[features]
legacy_accounts = ["pointercrate-user/legacy_accounts"]
oauth2 = ["pointercrate-user-pages/oauth2", "pointercrate-user/oauth2", "chrono", "reqwest"]