| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
name = "suggest" |
| 15 |
version = "0.1.0" |
| 16 |
build = false |
| 17 |
exclude = [ |
| 18 |
"/android", |
| 19 |
"/ios", |
| 20 |
] |
| 21 |
autolib = false |
| 22 |
autobins = false |
| 23 |
autoexamples = false |
| 24 |
autotests = false |
| 25 |
autobenches = false |
| 26 |
description = "Manages sponsored and web suggestions for Firefox Suggest" |
| 27 |
readme = "README.md" |
| 28 |
license = "MPL-2.0" |
| 29 |
|
| 30 |
[features] |
| 31 |
benchmark_api = [ |
| 32 |
"tempfile", |
| 33 |
"viaduct-reqwest", |
| 34 |
] |
| 35 |
|
| 36 |
[lib] |
| 37 |
name = "suggest" |
| 38 |
path = "src/lib.rs" |
| 39 |
bench = false |
| 40 |
|
| 41 |
[[bin]] |
| 42 |
name = "debug_ingestion_sizes" |
| 43 |
path = "src/bin/debug_ingestion_sizes.rs" |
| 44 |
bench = false |
| 45 |
required-features = ["benchmark_api"] |
| 46 |
|
| 47 |
[[bench]] |
| 48 |
name = "benchmark_all" |
| 49 |
path = "benches/benchmark_all.rs" |
| 50 |
harness = false |
| 51 |
required-features = ["benchmark_api"] |
| 52 |
|
| 53 |
[dependencies] |
| 54 |
anyhow = "1.0" |
| 55 |
chrono = "0.4" |
| 56 |
extend = "1.1" |
| 57 |
once_cell = "1.5" |
| 58 |
parking_lot = ">=0.11,<=0.12" |
| 59 |
rmp-serde = "1.3" |
| 60 |
serde_json = "1" |
| 61 |
thiserror = "1" |
| 62 |
unicase = "2.6" |
| 63 |
unicode-normalization = "0.1" |
| 64 |
|
| 65 |
[dependencies.error-support] |
| 66 |
path = "../support/error" |
| 67 |
|
| 68 |
[dependencies.interrupt-support] |
| 69 |
path = "../support/interrupt" |
| 70 |
|
| 71 |
[dependencies.remote_settings] |
| 72 |
path = "../remote_settings" |
| 73 |
|
| 74 |
[dependencies.rusqlite] |
| 75 |
version = "0.33.0" |
| 76 |
features = [ |
| 77 |
"functions", |
| 78 |
"bundled", |
| 79 |
"load_extension", |
| 80 |
"collation", |
| 81 |
] |
| 82 |
|
| 83 |
[dependencies.serde] |
| 84 |
version = "1" |
| 85 |
features = ["derive"] |
| 86 |
|
| 87 |
[dependencies.sql-support] |
| 88 |
path = "../support/sql" |
| 89 |
|
| 90 |
[dependencies.tempfile] |
| 91 |
version = "3.2.0" |
| 92 |
optional = true |
| 93 |
|
| 94 |
[dependencies.uniffi] |
| 95 |
version = "0.29.0" |
| 96 |
|
| 97 |
[dependencies.url] |
| 98 |
version = "2.1" |
| 99 |
features = ["serde"] |
| 100 |
|
| 101 |
[dependencies.viaduct] |
| 102 |
path = "../viaduct" |
| 103 |
|
| 104 |
[dependencies.viaduct-reqwest] |
| 105 |
path = "../support/viaduct-reqwest" |
| 106 |
optional = true |
| 107 |
|
| 108 |
[dev-dependencies] |
| 109 |
criterion = "0.5" |
| 110 |
expect-test = "1.4" |
| 111 |
hex = "0.4" |
| 112 |
itertools = "0.14" |
| 113 |
|
| 114 |
[dev-dependencies.error-support] |
| 115 |
path = "../support/error" |
| 116 |
features = ["testing"] |
| 117 |
|
| 118 |
[dev-dependencies.rc_crypto] |
| 119 |
path = "../support/rc_crypto" |
| 120 |
|
| 121 |
[build-dependencies.uniffi] |
| 122 |
version = "0.29.0" |
| 123 |
features = ["build"] |