[package]
edition = "2021"
name = "gflights"
version = "0.3.1"
build = "build.rs"
exclude = [
".claude/",
".devcontainer/",
".github/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Unofficial async Rust client for the Google Flights web API — search flights, price graphs, and booking offers."
readme = "README.md"
keywords = [
"google-flights",
"flights",
"travel",
"api",
"scraping",
]
categories = [
"web-programming::http-client",
"api-bindings",
]
license = "MIT"
repository = "https://github.com/nas-/google-flights-rs"
[lib]
name = "gflights"
path = "src/lib.rs"
[[bin]]
name = "gflights"
path = "src/bin/main.rs"
[[example]]
name = "cheapest_dates"
path = "examples/cheapest_dates.rs"
[[example]]
name = "date_grid"
path = "examples/date_grid.rs"
[[example]]
name = "deals"
path = "examples/deals.rs"
[[example]]
name = "explore"
path = "examples/explore.rs"
[[example]]
name = "flights"
path = "examples/flights.rs"
[[example]]
name = "graph"
path = "examples/graph.rs"
[[example]]
name = "multi_city"
path = "examples/multi_city.rs"
[[example]]
name = "offer"
path = "examples/offer.rs"
[[test]]
name = "live_api"
path = "tests/live_api.rs"
[[test]]
name = "negative"
path = "tests/negative.rs"
[[test]]
name = "wire"
path = "tests/wire.rs"
[[bench]]
name = "parse"
path = "benches/parse.rs"
harness = false
[dependencies.anyhow]
version = "1"
[dependencies.base64]
version = "0.22"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.futures]
version = "0.3"
[dependencies.governor]
version = "0.7"
[dependencies.percent-encoding]
version = "2"
[dependencies.prost]
version = "0.13"
[dependencies.prost-types]
version = "0.13"
[dependencies.regex]
version = "1"
[dependencies.reqwest]
version = "0.12"
features = [
"rustls-tls",
"charset",
"http2",
"socks",
]
default-features = false
[dependencies.rustyline]
version = "15"
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.serde_path_to_error]
version = "0.1"
[dependencies.serde_repr]
version = "0.1"
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[build-dependencies.prost-build]
version = "0.13"
[build-dependencies.protoc-bin-vendored]
version = "3"
[profile.dev]
opt-level = 0
debug = 2