[package]
edition = "2021"
name = "writ-client"
version = "1.0.0"
authors = ["The Writ Project Authors"]
build = false
include = [
"src/**/*",
"tests/**/*",
"Cargo.toml",
"README.md",
"LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Official Rust SDK for Writ — drive the local writ-agentd daemon and Writ Cloud (scrape, map, crawl) from one client"
homepage = "https://github.com/usewrit/writ-sdks/tree/main/rust"
documentation = "https://docs.rs/writ-client"
readme = "README.md"
keywords = [
"writ",
"automation",
"browser",
"sdk",
]
categories = ["api-bindings"]
license = "MIT"
repository = "https://github.com/usewrit/writ-sdks"
[lib]
name = "writ_client"
path = "src/lib.rs"
[[test]]
name = "cloud"
path = "tests/cloud.rs"
[[test]]
name = "live_smoke"
path = "tests/live_smoke.rs"
[[test]]
name = "sdk"
path = "tests/sdk.rs"
[dependencies.bytes]
version = "1"
[dependencies.futures-core]
version = "0.3"
[dependencies.futures-util]
version = "0.3"
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"stream",
"multipart",
]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "1"
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"net",
"io-util",
"time",
]