fuzzysearch/Cargo.toml
Syfaro 3ade5aeba9
Add ability to search by URL, rate limit headers (#2)
* Initial progress on searching by URL.

* Avoid rejections for error messages.

* Handle some more rejections.

* Fix build issues.

* Remove detailed error messages.

* Fix issue with built Docker image.

* Add rate limit headers to all responses.

* Remove unneeded dependency.

* Limit URLs to 10MB.
2021-01-21 21:21:16 -05:00

49 lines
724 B
TOML

[package]
name = "fuzzysearch"
version = "0.1.0"
authors = ["Syfaro <syfaro@huefox.com>"]
edition = "2018"
[dependencies]
tracing = "0.1"
tracing-subscriber = "0.2"
tracing-futures = "0.2"
opentelemetry = "0.6"
opentelemetry-jaeger = "0.5"
tracing-opentelemetry = "0.5"
tokio = { version = "1", features = ["full"] }
async-stream = "0.3"
futures = "0.3"
chrono = "0.4"
bytes = "1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
warp = "0.3"
reqwest = "0.11"
hyper = "0.14"
tokio-postgres = "0.7"
bb8 = "0.7"
bb8-postgres = "0.7"
img_hash = "3"
image = "0.23"
hamming = "0.1"
bk-tree = "0.3"
[profile.dev]
opt-level = 2
debug = true
[profile.release]
lto = true
codegen-units = 1
opt-level = 3