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]
|
2021-08-22 05:37:36 +00:00
|
|
|
default = ["trace", "download"]
|
2021-02-21 06:26:29 +00:00
|
|
|
|
2021-04-21 20:58:32 +00:00
|
|
|
queue = ["faktory", "tokio", "serde_json"]
|
2021-08-11 01:28:32 +00:00
|
|
|
trace = ["opentelemetry", "opentelemetry-jaeger", "tracing-opentelemetry", "opentelemetry-http", "hyper", "prometheus", "tokio", "reqwest"]
|
2021-08-22 05:37:36 +00:00
|
|
|
download = ["tokio"]
|
2021-02-21 06:26:29 +00:00
|
|
|
|
2020-12-07 23:41:32 +00:00
|
|
|
[dependencies]
|
|
|
|
anyhow = "1"
|
|
|
|
tracing = "0.1"
|
2021-12-09 04:45:17 +00:00
|
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter", "json", "time"] }
|
2021-08-11 01:28:32 +00:00
|
|
|
tracing-log = "0.1"
|
|
|
|
|
2021-08-22 05:37:36 +00:00
|
|
|
tokio = { version = "1", features = ["rt", "fs"], optional = true }
|
2021-08-11 01:28:32 +00:00
|
|
|
futures = "0.3"
|
2020-12-07 23:41:32 +00:00
|
|
|
|
|
|
|
serde = { version = "1", features = ["derive"] }
|
2021-08-11 01:28:32 +00:00
|
|
|
serde_json = { version = "1", optional = true }
|
2020-12-07 23:41:32 +00:00
|
|
|
|
2021-08-11 01:28:32 +00:00
|
|
|
base64 = "0.13"
|
2020-12-07 23:41:32 +00:00
|
|
|
image = "0.23"
|
|
|
|
img_hash = "3"
|
2021-08-21 22:28:54 +00:00
|
|
|
hex = "0.4"
|
2020-12-07 23:41:32 +00:00
|
|
|
|
2021-02-21 06:26:29 +00:00
|
|
|
tempfile = { version = "3", optional = true }
|
2021-04-21 20:58:32 +00:00
|
|
|
|
|
|
|
faktory = { version = "0.11", optional = true }
|
2021-08-11 01:28:32 +00:00
|
|
|
|
2021-12-09 04:45:17 +00:00
|
|
|
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 }
|
2021-08-11 01:28:32 +00:00
|
|
|
|
|
|
|
hyper = { version = "0.14", features = ["server", "http2", "tcp"], optional = true }
|
2021-12-09 04:45:17 +00:00
|
|
|
prometheus = { version = "0.13", optional = true }
|
2021-08-11 01:28:32 +00:00
|
|
|
reqwest = { version = "0.11", optional = true }
|