2023-03-31 23:25:20 +02:00
|
|
|
[package]
|
|
|
|
name = "bitque-data"
|
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["Adrian Wozniak <adrian.wozniak@ita-prog.pl>"]
|
|
|
|
edition = "2018"
|
2023-04-04 17:14:31 +02:00
|
|
|
description = "BITQUE (Simplified JIRA in Rust) shared data types"
|
2023-03-31 23:25:20 +02:00
|
|
|
repository = "https://gitlab.com/adrian.wozniak/bitque"
|
|
|
|
license = "MPL-2.0"
|
|
|
|
#license-file = "../LICENSE"
|
|
|
|
|
|
|
|
[lib]
|
|
|
|
name = "bitque_data"
|
|
|
|
path = "./src/lib.rs"
|
|
|
|
|
|
|
|
[features]
|
|
|
|
backend = ["diesel", "actix", "diesel-derive-newtype"]
|
2023-04-03 16:08:53 +02:00
|
|
|
frontend = ['derive_enum_primitive']
|
2023-03-31 23:25:20 +02:00
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
actix = { version = "0.13.0", optional = true }
|
|
|
|
chrono = { version = "*", features = ["serde"] }
|
|
|
|
diesel = { version = "2.0.3", features = ["postgres", "numeric", "uuid", "r2d2"], optional = true }
|
|
|
|
diesel-derive-enum = { version = "2.0.1", features = ["postgres"] }
|
2023-04-03 16:08:53 +02:00
|
|
|
derive_enum_primitive = { workspace = true, optional = true }
|
2023-03-31 23:25:20 +02:00
|
|
|
diesel-derive-more = { version = "1.1.3" }
|
|
|
|
diesel-derive-newtype = { version = "2.0.0-rc.0", optional = true }
|
|
|
|
serde = { version = "*" }
|
|
|
|
serde_json = { version = "*" }
|
|
|
|
strum = { version = "0.24.1", features = ['derive', 'strum_macros', 'std'] }
|
|
|
|
uuid = { version = "1.3.0", features = ["serde"] }
|