-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
40 lines (35 loc) · 1 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
[package]
name = "uc_api"
version = "0.12.1"
authors = ["Markus Zehnder <[email protected]>"]
license = "Apache-2.0"
description = "Unfolded Circle API model"
edition = "2021"
repository = "https://github.com/unfoldedcircle/api-model-rs"
rust-version = "1.70"
[dependencies]
# JSON (de)serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_with = "3"
chrono = { version = "0.4", features = ["serde"] }
# Helpful macros for working with enums and strings
strum = "0.26"
strum_macros = "0.26"
derive_more = "0.99"
validator = "0.16"
validator_derive = "0.16"
regex = "1"
lazy_static = "1"
[dependencies.sqlx]
# ATTENTION: 0.6.x versions are broken! Compilation takes forever and uses massive amounts of RAM. At 30 GB I killed it...
# Issue: https://github.com/launchbadge/sqlx/issues/1921
# Possible PR: https://github.com/launchbadge/sqlx/pull/1946
# Next update attempt is with 0.8.x
version = "0.5"
default-features = false
features = [
"chrono",
"json",
]
optional = true