100 lines
1.9 KiB
TOML
100 lines
1.9 KiB
TOML
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
|
#
|
|
# When uploading crates to the registry Cargo will automatically
|
|
# "normalize" Cargo.toml files for maximal compatibility
|
|
# with all versions of Cargo and also rewrite `path` dependencies
|
|
# to registry (e.g., crates.io) dependencies.
|
|
#
|
|
# If you are reading this file be aware that the original Cargo.toml
|
|
# will likely look very different (and much more reasonable).
|
|
# See Cargo.toml.orig for the original contents.
|
|
|
|
[package]
|
|
edition = "2021"
|
|
name = "suggest"
|
|
version = "0.1.0"
|
|
exclude = [
|
|
"/android",
|
|
"/ios",
|
|
]
|
|
description = "Manages sponsored and web suggestions for Firefox Suggest"
|
|
readme = "README.md"
|
|
license = "MPL-2.0"
|
|
|
|
[[bin]]
|
|
name = "debug_ingestion_sizes"
|
|
required-features = ["benchmark_api"]
|
|
|
|
[[bench]]
|
|
name = "benchmark_all"
|
|
harness = false
|
|
required-features = ["benchmark_api"]
|
|
|
|
[dependencies]
|
|
anyhow = "1.0"
|
|
chrono = "0.4"
|
|
once_cell = "1.5"
|
|
parking_lot = ">=0.11,<=0.12"
|
|
serde_json = "1"
|
|
thiserror = "1"
|
|
uniffi = "0.27.1"
|
|
|
|
[dependencies.error-support]
|
|
path = "../support/error"
|
|
|
|
[dependencies.interrupt-support]
|
|
path = "../support/interrupt"
|
|
|
|
[dependencies.remote_settings]
|
|
path = "../remote_settings"
|
|
|
|
[dependencies.rusqlite]
|
|
version = "0.31.0"
|
|
features = [
|
|
"functions",
|
|
"bundled",
|
|
]
|
|
|
|
[dependencies.serde]
|
|
version = "1"
|
|
features = ["derive"]
|
|
|
|
[dependencies.sql-support]
|
|
path = "../support/sql"
|
|
|
|
[dependencies.tempfile]
|
|
version = "3.2.0"
|
|
optional = true
|
|
|
|
[dependencies.url]
|
|
version = "2.1"
|
|
features = ["serde"]
|
|
|
|
[dependencies.viaduct]
|
|
path = "../viaduct"
|
|
|
|
[dependencies.viaduct-reqwest]
|
|
path = "../support/viaduct-reqwest"
|
|
optional = true
|
|
|
|
[dev-dependencies]
|
|
criterion = "0.5"
|
|
expect-test = "1.4"
|
|
hex = "0.4"
|
|
|
|
[dev-dependencies.env_logger]
|
|
version = "0.10"
|
|
default-features = false
|
|
|
|
[dev-dependencies.rc_crypto]
|
|
path = "../support/rc_crypto"
|
|
|
|
[build-dependencies.uniffi]
|
|
version = "0.27.1"
|
|
features = ["build"]
|
|
|
|
[features]
|
|
benchmark_api = [
|
|
"tempfile",
|
|
"viaduct-reqwest",
|
|
]
|