# 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 = "flyr-cli"
version = "1.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Search Google Flights from the terminal"
readme = "README.md"
keywords = [
    "flights",
    "google-flights",
    "travel",
    "cli",
    "scraper",
]
categories = ["command-line-utilities"]
license = "GPL-3.0"
repository = "https://github.com/guitaripod/flyr"

[lib]
name = "flyr"
path = "src/lib.rs"

[[bin]]
name = "flyr"
path = "src/main.rs"

[[test]]
name = "cli_test"
path = "tests/cli_test.rs"

[[test]]
name = "parse_test"
path = "tests/parse_test.rs"

[[test]]
name = "proto_test"
path = "tests/proto_test.rs"

[[test]]
name = "query_test"
path = "tests/query_test.rs"

[dependencies.base64]
version = "0.22"

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.comfy-table]
version = "7"

[dependencies.open]
version = "5"

[dependencies.scraper]
version = "0.25"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
]

[dependencies.wreq]
version = "6.0.0-rc"
features = [
    "cookies",
    "gzip",
    "brotli",
    "deflate",
    "socks",
    "query",
]

[dependencies.wreq-util]
version = "3.0.0-rc"

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.predicates]
version = "3"
