# 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 = "loadr-browser"
version = "1.0.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Headless-Chrome browser protocol for loadr (navigation timing + Web Vitals)"
readme = false
license-file = "LICENSE"
repository = "https://loadr.io"

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

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

[dependencies.async-trait]
version = "0.1"

[dependencies.bytes]
version = "1"

[dependencies.chromiumoxide]
version = "0.9.1"
features = ["bytes"]

[dependencies.futures]
version = "0.3"

[dependencies.loadr-config]
version = "1.0.0"

[dependencies.loadr-core]
version = "1.0.0"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1.52"
features = ["full"]

[dependencies.tracing]
version = "0.1"

[dev-dependencies.indexmap]
version = "2"
features = ["serde"]

[dev-dependencies.parking_lot]
version = "0.12"

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "json",
]
