fuzzysearch/fuzzysearch-common/Cargo.toml
2021-12-12 18:14:52 -05:00

44 lines
1.3 KiB
TOML

[package]
name = "fuzzysearch-common"
version = "0.1.0"
authors = ["Syfaro <syfaro@huefox.com>"]
edition = "2018"
[features]
default = ["trace", "download"]
queue = ["faktory", "tokio", "serde_json"]
trace = ["opentelemetry", "opentelemetry-jaeger", "tracing-opentelemetry", "opentelemetry-http", "hyper", "prometheus", "tokio", "reqwest"]
download = ["tokio"]
[dependencies]
anyhow = "1"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json", "time"] }
tracing-log = "0.1"
tokio = { version = "1", features = ["rt", "fs"], optional = true }
futures = "0.3"
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1", optional = true }
base64 = "0.13"
image = "0.23"
img_hash = "3"
hex = "0.4"
chrono = { version = "0.4", features = ["serde"] }
tempfile = { version = "3", optional = true }
faktory = { version = "0.11", optional = true }
opentelemetry = { version = "0.16.0", features = ["rt-tokio"], optional = true }
opentelemetry-jaeger = { version = "0.15", features = ["rt-tokio"], optional = true }
tracing-opentelemetry = { version = "0.16", optional = true }
opentelemetry-http = { version = "0.5", optional = true }
hyper = { version = "0.14", features = ["server", "http2", "tcp"], optional = true }
prometheus = { version = "0.13", optional = true }
reqwest = { version = "0.11", optional = true }