[package] name = "shopless-database" version = "0.10.1" authors = ["Markus Ast "] description = "Database types of shopless." license = "MIT OR Apache-2.0" edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] chrono = "0.4" num-traits = "0.2" rust_decimal = "1.6" serde = "1.0" serde_json = "1.0" shopless-types = { version = "0.10", path = "../shopless-types", features = ["sqlx"] } sqlx = { version = "0.4", default-features = false, features = ["postgres", "uuid", "chrono", "json", "tls", "macros"] } uuid = { version = "0.8", features = ["v4"] } [dev-dependencies] shopless-migration = { path = "../shopless-migration" } tokio = { version = "0.2", features = ["rt-threaded", "macros"] } [features] default = ["runtime-tokio"] runtime-async-std = ["sqlx/runtime-async-std-rustls"] runtime-tokio = ["sqlx/runtime-tokio-rustls"]