backie/Cargo.toml

73 lines
1.5 KiB
TOML
Raw Normal View History

2021-05-30 08:35:00 +00:00
[package]
name = "fang"
version = "0.9.0"
authors = ["Ayrat Badykov <ayratin555@gmail.com>" , "Pepe Márquez <pepe.marquezromero@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"
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
[lib]
doctest = false
[features]
default = ["blocking", "asynk"]
blocking = ["diesel", "diesel-derive-enum", "dotenv"]
asynk = ["bb8-postgres", "postgres-types", "tokio", "async-trait", "async-recursion"]
2021-05-30 08:35:00 +00:00
[dependencies]
cron = "0.11"
2021-06-06 08:44:46 +00:00
chrono = "0.4"
hex = "0.4"
2021-11-30 07:31:11 +00:00
log = "0.4"
serde = "1"
serde_derive = "1.0.141"
serde_json = "1"
sha2 = "0.10"
2022-06-04 19:24:56 +00:00
thiserror = "1.0"
typed-builder = "0.10"
typetag = "0.2"
uuid = { version = "1.1", features = ["v4"] }
[dependencies.diesel]
version = "2.0"
features = ["postgres", "serde_json", "chrono", "uuid", "r2d2"]
optional = true
[dependencies.diesel-derive-enum]
version = "2.0.0-rc.0"
features = ["postgres"]
optional = true
[dependencies.dotenv]
version = "0.15"
optional = true
[dependencies.bb8-postgres]
version = "0.8"
features = ["with-serde_json-1" , "with-uuid-1" , "with-chrono-0_4"]
optional = true
[dependencies.postgres-types]
version = "0.X.X"
features = ["derive"]
optional = true
[dependencies.tokio]
version = "1.20"
features = ["rt", "time", "macros"]
optional = true
[dependencies.async-trait]
version = "0.1"
optional = true
[dependencies.async-recursion]
version = "1"
optional = true