[package] name = "example-places-autocomplete" version = "0.1.0" authors = ["sync-team@mozilla.com"] license = "MPL-2.0" edition = "2021" publish = false [[example]] name = "places-autocomplete" path = "src/autocomplete.rs" [dev-dependencies] places = { path = "../../components/places" } log = "0.4" url = "2" anyhow = "1.0" interrupt-support = { path = "../../components/support/interrupt" } sql-support = { path = "../../components/support/sql" } types = { path = "../../components/support/types" } clap = {version = "4.2", default-features = false, features = ["std", "derive"]} tempfile = "3.1" rand = "0.8" find-places-db = { path = "../../components/support/find-places-db" } rusqlite = { version = "0.37.0", features = ["functions", "bundled"] } # While we don't have a replacement for termion on Windows yet (and thus # our example doesn't work on Windows), it does get further in the compilation # such that "cargo test" etc shows errors in our code rather than in termion. [target.'cfg(not(windows))'.dev-dependencies] termion = "4"