stagehand_sdk 0.4.0

Rust SDK for Stagehand - AI-powered browser automation with Browserbase
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"
name = "stagehand_sdk"
version = "0.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust SDK for Stagehand - AI-powered browser automation with Browserbase"
readme = "README.md"
keywords = [
    "browser",
    "automation",
    "ai",
    "browserbase",
    "stagehand",
]
categories = [
    "web-programming",
    "api-bindings",
]
license = "Apache-2.0"
repository = "https://github.com/browserbase/stagehand-rust"

[features]
async-std-runtime = ["async-std"]
default = ["tokio-runtime"]
tokio-runtime = [
    "tokio",
    "tokio-stream",
]

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

[[example]]
name = "basic"
path = "examples/basic.rs"

[[example]]
name = "chromiumoxide_page_example"
path = "examples/chromiumoxide_page_example.rs"

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

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

[dependencies.async-channel]
version = "2"

[dependencies.async-std]
version = "1"
features = ["attributes"]
optional = true

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

[dependencies.bytes]
version = "1"

[dependencies.dotenvy]
version = "0.15"

[dependencies.eventsource-client]
version = "0.15.1"

[dependencies.futures]
version = "0.3"

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

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "stream",
]

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

[dependencies.serde_json]
version = "1"

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

[dependencies.tokio-stream]
version = "0.1"
optional = true

[dev-dependencies.async-tungstenite]
version = "0.32"
features = [
    "tokio-native-tls",
    "tokio-runtime",
]

[dev-dependencies.chromiumoxide]
version = "0.8.0"
features = ["tokio-runtime"]