Revision control

Copy as Markdown

[package]
name = "suggest"
version = "0.1.0"
edition = "2021"
description = "Manages sponsored and web suggestions for Firefox Suggest"
readme = "README.md"
license = "MPL-2.0"
exclude = ["/android", "/ios"]
[dependencies]
anyhow = "1.0"
chrono = "0.4"
interrupt-support = { path = "../support/interrupt" }
once_cell = "1.5"
parking_lot = ">=0.11,<=0.12"
remote_settings = { path = "../remote_settings" }
rusqlite = { workspace = true, features = ["functions", "bundled"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
error-support = { path = "../support/error" }
sql-support = { path = "../support/sql" }
viaduct = { path = "../viaduct" }
viaduct-reqwest = { path = "../support/viaduct-reqwest", optional=true }
tempfile = { version = "3.2.0", optional = true }
thiserror = "1"
uniffi = { workspace = true }
url = { version = "2.1", features = ["serde"] }
[dev-dependencies]
criterion = "0.5"
env_logger = { version = "0.10", default-features = false }
expect-test = "1.4"
hex = "0.4"
rc_crypto = { path = "../support/rc_crypto" }
[build-dependencies]
uniffi = { workspace = true, features = ["build"] }
[features]
# Required for the benchmarks to work, wasted bytes otherwise.
benchmark_api = ["tempfile", "viaduct-reqwest"]
[[bench]]
name = "benchmark_all"
harness = false
required-features = ["benchmark_api"]
[[bin]]
name = "debug_ingestion_sizes"
required-features = ["benchmark_api"]