shirabe 0.1.0

Headless browser automation — CDP engine + HTTP debug API
Documentation
# 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 = "2024"
rust-version = "1.85"
name = "shirabe"
version = "0.1.0"
authors = ["langyo <langyo.china@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Headless browser automation — CDP engine + HTTP debug API"
readme = "README.md"
keywords = [
    "browser",
    "cdp",
    "chrome",
    "headless",
    "automation",
]
categories = [
    "web-programming",
    "api-bindings",
    "development-tools",
]
license-file = "LICENSE"
repository = "https://github.com/celestia-island/shirabe"

[package.metadata.docs.rs]
all-features = true

[features]
auto-fetch = []
default = ["auto-fetch"]
foreign-engine = ["dep:libloading"]
runtime-fetch = [
    "dep:sha2",
    "dep:zip",
]

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

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

[dependencies.anyhow]
version = "^1"

[dependencies.axum]
version = "^0.8"

[dependencies.base64]
version = "^0.22"

[dependencies.chrono]
version = "^0.4"

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

[dependencies.futures]
version = "^0.3"

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

[dependencies.libloading]
version = "^0.8"
optional = true

[dependencies.reqwest]
version = "^0.13"
features = [
    "json",
    "blocking",
    "rustls-no-provider",
]
default-features = false

[dependencies.rustls]
version = "^0.23"
features = [
    "ring",
    "std",
    "tls12",
    "logging",
]
default-features = false

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

[dependencies.serde_json]
version = "^1"

[dependencies.sha2]
version = "^0.10"
optional = true

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

[dependencies.tokio-tungstenite]
version = "^0.27"
features = ["rustls-tls-webpki-roots"]

[dependencies.tower-http]
version = "^0.6"
features = [
    "cors",
    "compression-gzip",
]

[dependencies.tracing]
version = "^0.1"

[dependencies.tracing-subscriber]
version = "^0.3"
features = ["env-filter"]

[dependencies.zip]
version = "^2"
optional = true

[dev-dependencies.serial_test]
version = "^3"

[build-dependencies.anyhow]
version = "^1"

[build-dependencies.reqwest]
version = "^0.13"
features = [
    "blocking",
    "rustls-no-provider",
]
default-features = false

[build-dependencies.rustls]
version = "^0.23"
features = [
    "ring",
    "std",
    "tls12",
    "logging",
]
default-features = false

[build-dependencies.sha2]
version = "^0.10"

[build-dependencies.zip]
version = "^2"