fuzzysearch/fuzzysearch-common/Cargo.toml

44 lines
1.3 KiB
TOML
Raw Normal View History

2020-12-07 23:41:32 +00:00
[package]
name = "fuzzysearch-common"
version = "0.1.0"
authors = ["Syfaro <syfaro@huefox.com>"]
edition = "2018"
2021-02-21 06:26:29 +00:00
[features]
default = ["trace"]
2021-02-21 06:26:29 +00:00
video = ["ffmpeg-next", "tempfile"]
queue = ["faktory", "tokio", "serde_json"]
trace = ["opentelemetry", "opentelemetry-jaeger", "tracing-opentelemetry", "opentelemetry-http", "hyper", "prometheus", "tokio", "reqwest"]
2021-02-21 06:26:29 +00:00
2020-12-07 23:41:32 +00:00
[dependencies]
anyhow = "1"
tracing = "0.1"
2021-04-22 01:46:10 +00:00
tracing-subscriber = "0.2"
tracing-log = "0.1"
tokio = { version = "1", features = ["rt"], optional = true }
futures = "0.3"
2020-12-07 23:41:32 +00:00
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1", optional = true }
2020-12-07 23:41:32 +00:00
base64 = "0.13"
2020-12-07 23:41:32 +00:00
image = "0.23"
img_hash = "3"
hex = "0.4"
2020-12-07 23:41:32 +00:00
2021-02-21 06:26:29 +00:00
ffmpeg-next = { version = "4", optional = true }
tempfile = { version = "3", optional = true }
faktory = { version = "0.11", optional = true }
opentelemetry = { version = "0.15.0", features = ["rt-tokio"], optional = true }
opentelemetry-jaeger = { version = "0.14", features = ["tokio"], optional = true }
tracing-opentelemetry = { version = "0.14", optional = true }
opentelemetry-http = { version = "0.4", optional = true }
hyper = { version = "0.14", features = ["server", "http2", "tcp"], optional = true }
prometheus = { version = "0.12", optional = true }
reqwest = { version = "0.11", optional = true }