-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
41 lines (36 loc) · 1.34 KB
/
Cargo.toml
File metadata and controls
41 lines (36 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[package]
name = "stagehand_sdk"
version = "0.4.0"
edition = "2024"
description = "Rust SDK for Stagehand - AI-powered browser automation with Browserbase"
license = "Apache-2.0"
repository = "https://github.com/browserbase/stagehand-rust"
keywords = ["browser", "automation", "ai", "browserbase", "stagehand"]
categories = ["web-programming", "api-bindings"]
readme = "README.md"
[features]
default = ["tokio-runtime"]
tokio-runtime = ["tokio", "tokio-stream"]
async-std-runtime = ["async-std"]
[dependencies]
# Runtime-agnostic
serde = { version = "1", features = ["derive"] }
serde_json = "1"
futures = "0.3"
futures-util = "0.3.31"
async-channel = "2"
reqwest = { version = "0.12", features = ["json", "stream"] }
bytes = "1"
eventsource-client = "0.15.1"
dotenvy = "0.15"
async-trait = "0.1.89"
# Tokio runtime (optional, default)
tokio = { version = "1", features = ["sync", "rt", "macros", "rt-multi-thread"], optional = true }
tokio-stream = { version = "0.1", optional = true }
# Async-std runtime (optional)
async-std = { version = "1", features = ["attributes"], optional = true }
[dev-dependencies]
# Used only by opt-in examples / integration tests.
chromiumoxide = { version = "0.8.0", features = ["tokio-runtime"] }
# TLS support for WSS connections to Browserbase
async-tungstenite = { version = "0.32", features = ["tokio-native-tls", "tokio-runtime"] }