[package] name = "df_st_db" version = "0.3.0-development-2" #:version authors = ["ralpha "] edition = "2018" description = "Database store and query implementation for the DF Storyteller project." documentation = "https://docs.dfstoryteller.com/" readme = "../README.md" homepage = "https://dfstoryteller.com/" repository = "https://gitlab.com/df_storyteller/df-storyteller" license = "AGPL-3.0-or-later" keywords = ["dwarf","fortress","storyteller"] categories = ["command-line-utilities","encoding","games","web-programming"] [badges] gitlab = { repository = "https://gitlab.com/df_storyteller/df-storyteller", branch = "master" } [dependencies] diesel = { version = "1.4.4", features = ["r2d2"] } diesel_migrations = "1.4" anyhow = "1.0" r2d2 = "0.8" log = "0.4" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" indicatif = "0.15" indexmap = "1.4" rand = "0.7" rand_chacha = "0.2" [dependencies.df_st_core] path = "../df_st_core" version = "0.3.0-development-2" #:version [dependencies.df_st_derive] path = "../df_st_derive" version = "0.3.0-development-2" #:version [target.'cfg(windows)'.dependencies] # This eliminates steps for windows users to install SQLite. # This is done because installing SQLite on Windows is to complicated. libsqlite3-sys = { version = "0.18", features = ["bundled"]} [features] default = ["sqlite"] sqlite = ["diesel/sqlite"] postgres = ["diesel/postgres"]