[package]
edition = "2021"
name = "faktory"
version = "0.13.1"
authors = ["Jon Gjengset <jon@thesquareplanet.com>"]
build = false
exclude = [
".github",
"docker",
".gitignore",
"Makefile",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "API bindings for the language-agnostic Faktory work server"
readme = "README.md"
keywords = [
"faktory",
"api-bindings",
"work-server",
"job-server",
]
categories = [
"api-bindings",
"asynchronous",
"network-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/jonhoo/faktory-rs.git"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
binaries = [
"dep:clap",
"tokio/macros",
]
default = []
ent = []
native_tls = [
"dep:pin-project",
"dep:tokio-native-tls",
]
rustls = [
"dep:pin-project",
"dep:tokio-rustls",
"dep:rustls-native-certs",
]
[lib]
name = "faktory"
path = "src/lib.rs"
[[bin]]
name = "loadtest"
path = "src/bin/loadtest.rs"
required-features = ["binaries"]
[[example]]
name = "run"
path = "examples/run.rs"
[[example]]
name = "run_to_completion"
path = "examples/run_to_completion.rs"
[[test]]
name = "consumer"
path = "tests/consumer.rs"
[[test]]
name = "producer"
path = "tests/producer.rs"
[[test]]
name = "real"
path = "tests/real/main.rs"
[[test]]
name = "tls"
path = "tests/tls/main.rs"
[dependencies.async-trait]
version = "0.1.77"
[dependencies.chrono]
version = "0.4"
features = [
"serde",
"clock",
]
default-features = false
[dependencies.clap]
version = "4.4.10"
optional = true
[dependencies.derive_builder]
version = "0.12.0"
[dependencies.fnv]
version = "1.0.5"
[dependencies.hostname]
version = "0.3"
[dependencies.pin-project]
version = "1.1.4"
optional = true
[dependencies.rand]
version = "0.8"
[dependencies.rustls-native-certs]
version = "0.7.1"
optional = true
[dependencies.semver]
version = "1.0.23"
features = ["serde"]
[dependencies.serde]
version = "1.0"
[dependencies.serde_derive]
version = "1.0"
[dependencies.serde_json]
version = "1.0"
[dependencies.sha2]
version = "0.10.0"
[dependencies.thiserror]
version = "1.0.30"
[dependencies.tokio]
version = "1.35.1"
features = [
"sync",
"io-util",
"macros",
"net",
"rt-multi-thread",
"time",
]
[dependencies.tokio-native-tls]
version = "0.3.1"
optional = true
[dependencies.tokio-rustls]
version = "0.25.0"
optional = true
[dependencies.tracing]
version = "0.1"
[dependencies.url]
version = "2"
[dev-dependencies.rustls-pki-types]
version = "1.0.1"
[dev-dependencies.testcontainers]
version = "0.24.0"
features = ["reusable-containers"]
[dev-dependencies.tokio]
version = "1.35.1"
features = [
"rt",
"macros",
]
[dev-dependencies.tokio-test]
version = "0.4.3"
[dev-dependencies.tokio-util]
version = "0.7.11"
[dev-dependencies.tracing-subscriber]
version = "0.3.18"
[dev-dependencies.x509-parser]
version = "0.15.1"
[target."cfg(any())".dependencies.native-tls]
version = "0.2.4"
optional = true
[target."cfg(any())".dependencies.num-bigint]
version = "0.4.2"
[target."cfg(any())".dependencies.oid-registry]
version = "0.6.1"
[target."cfg(any())".dependencies.openssl]
version = "0.10.60"
optional = true
[target."cfg(any())".dependencies.rustls-pki-types]
version = "1.0.1"
optional = true
[target."cfg(any())".dependencies.serde]
version = "1.0.186"
[target."cfg(any())".dependencies.serde_repr]
version = "0.1.5"
optional = true