# 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"
rust-version = "1.80"
name = "bouncy-cli"
version = "0.1.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Tiny Rust headless browser for scraping (CLI binary)."
readme = false
license = "MIT"
repository = "https://github.com/maziarzamani/bouncy"

[features]
default = ["tui"]
tui = [
    "dep:ratatui",
    "dep:crossterm",
    "dep:indexmap",
]

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

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

[dependencies.anyhow]
version = "1"

[dependencies.bouncy-cdp]
version = "0.1.2"

[dependencies.bouncy-extract]
version = "0.1.2"

[dependencies.bouncy-fetch]
version = "0.1.2"

[dependencies.bouncy-js]
version = "0.1.2"

[dependencies.bytes]
version = "1"

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

[dependencies.crossterm]
version = "0.29"
optional = true

[dependencies.futures-util]
version = "0.3"

[dependencies.indexmap]
version = "2"
optional = true

[dependencies.ratatui]
version = "0.30"
optional = true

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

[dependencies.serde_json]
version = "1"

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

[dependencies.url]
version = "2"

[dev-dependencies.bytes]
version = "1"

[dev-dependencies.http-body-util]
version = "0.1"

[dev-dependencies.hyper]
version = "1"
features = [
    "client",
    "http1",
    "http2",
    "server",
]
default-features = false

[dev-dependencies.hyper-util]
version = "0.1"
features = [
    "client",
    "client-legacy",
    "http1",
    "http2",
    "tokio",
]
default-features = false

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