[package]
name = "api"
version = "0.1.0"
authors = ["Jonni Liljamo <jonni@liljamo.com>"]
edition = "2021"
description = "API for a deck building game"
readme = "README.md"
repository = "https://git.src.quest/~skye/deck-builder/"
license = "GPL-3.0-only"
publish = false
[dependencies]
laurelin_shared = { package = "shared", path = "../shared" }
log = "0.4.17"
pretty_env_logger = "0.4.0"
diesel_migrations = "2.0.0"
[dependencies.serde]
version = "1.0.152"
default-features = false
features = [ "derive" ]
[dependencies.chrono]
version = "0.4.23"
default-features = false
features = [ "alloc", "std", "serde" ]
[dependencies.uuid]
# this is the only version that works with diesel,
# due to some issues with the Cargo resolver...
version = "0.8.2"
features = [ "std", "v4", "serde" ]
[dependencies.actix-web]
version = "4.3.0"
default-features = false
features = ["macros", "compress-gzip"]
[dependencies.diesel]
version = "2.0.3"
default-features = false
features = ["with-deprecated", "32-column-tables", "postgres", "r2d2", "chrono", "uuid"]