2021-05-30 08:35:00 +00:00
|
|
|
[package]
|
|
|
|
name = "fang"
|
2022-07-01 06:03:27 +00:00
|
|
|
version = "0.6.0"
|
2021-05-30 08:35:00 +00:00
|
|
|
authors = ["Ayrat Badykov <ayratin555@gmail.com>"]
|
2021-06-24 10:15:10 +00:00
|
|
|
description = "Background job processing library for Rust"
|
|
|
|
repository = "https://github.com/ayrat555/fang"
|
2022-07-17 06:10:32 +00:00
|
|
|
edition = "2021"
|
2021-05-30 08:35:00 +00:00
|
|
|
license = "MIT"
|
2021-06-24 10:15:10 +00:00
|
|
|
readme = "README.md"
|
2022-07-01 06:03:27 +00:00
|
|
|
rust-version = "1.62"
|
2021-05-30 08:35:00 +00:00
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
2022-07-20 16:08:02 +00:00
|
|
|
[features]
|
2022-07-23 14:24:22 +00:00
|
|
|
default = ["blocking", "asynk"]
|
2022-07-20 16:08:02 +00:00
|
|
|
blocking = ["diesel", "diesel-derive-enum", "dotenv"]
|
|
|
|
asynk = ["bb8-postgres", "postgres-types", "tokio", "async-trait", "typed-builder"]
|
|
|
|
|
2021-05-30 08:35:00 +00:00
|
|
|
[dependencies]
|
2021-06-06 08:44:46 +00:00
|
|
|
chrono = "0.4"
|
2021-11-30 07:31:11 +00:00
|
|
|
log = "0.4"
|
2022-06-04 19:24:56 +00:00
|
|
|
serde = { version = "1", features = ["derive"] }
|
2022-07-20 16:08:02 +00:00
|
|
|
serde_json = "1"
|
2022-06-04 19:24:56 +00:00
|
|
|
thiserror = "1.0"
|
2022-07-20 16:08:02 +00:00
|
|
|
typetag = "0.2"
|
|
|
|
uuid = { version = "0.8", features = ["v4"] }
|
|
|
|
|
|
|
|
|
|
|
|
[dependencies.diesel]
|
|
|
|
version = "1.4"
|
|
|
|
features = ["postgres", "serde_json", "chrono", "uuidv07", "r2d2"]
|
|
|
|
optional = true
|
|
|
|
|
|
|
|
[dependencies.diesel-derive-enum]
|
|
|
|
version = "1"
|
|
|
|
features = ["postgres"]
|
|
|
|
optional = true
|
|
|
|
|
|
|
|
[dependencies.dotenv]
|
|
|
|
version = "0.15"
|
|
|
|
optional = true
|
|
|
|
|
|
|
|
[dependencies.bb8-postgres]
|
|
|
|
version = "0.8"
|
|
|
|
features = ["with-serde_json-1" , "with-uuid-0_8" , "with-chrono-0_4"]
|
|
|
|
optional = true
|
|
|
|
|
|
|
|
[dependencies.postgres-types]
|
|
|
|
version = "0.X.X"
|
|
|
|
features = ["derive"]
|
|
|
|
optional = true
|
|
|
|
|
|
|
|
[dependencies.tokio]
|
|
|
|
version = "1.20"
|
|
|
|
features = ["full"]
|
|
|
|
optional = true
|
|
|
|
|
|
|
|
[dependencies.async-trait]
|
|
|
|
version = "0.1"
|
|
|
|
optional = true
|
|
|
|
|
|
|
|
[dependencies.typed-builder]
|
|
|
|
version = "0.10"
|
|
|
|
optional = true
|