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]
2021-08-22 05:37:36 +00:00
default = ["trace", "download"]
2021-02-21 06:26:29 +00:00
queue = ["faktory", "tokio", "serde_json"]
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"] }
tracing-log = "0.1"
2021-08-22 05:37:36 +00:00
tokio = { version = "1", features = ["rt", "fs"], 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"
2021-12-12 23:14:52 +00:00
chrono = { version = "0.4", features = ["serde"] }
2020-12-07 23:41:32 +00:00
2021-02-21 06:26:29 +00:00
tempfile = { version = "3", optional = true }
faktory = { version = "0.11", optional = true }
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 }
hyper = { version = "0.14", features = ["server", "http2", "tcp"], optional = true }
2021-12-09 04:45:17 +00:00
prometheus = { version = "0.13", optional = true }
reqwest = { version = "0.11", optional = true }