cursor-sdk 0.1.0

Async Rust client for Cursor's Cloud Agents 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"
name = "cursor-sdk"
version = "0.1.0"
authors = ["Damien Stanton <damien.stanton@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async Rust client for Cursor's Cloud Agents API"
readme = false
keywords = [
    "cursor",
    "ai",
    "agents",
    "llm",
    "async",
]
categories = [
    "api-bindings",
    "asynchronous",
    "web-programming::http-client",
]
license = "MIT"
repository = "https://github.com/damienstanton/cursor-cookbook-rs"

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

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

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

[dependencies.eventsource-stream]
version = "0.2.3"

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

[dependencies.reqwest]
version = "0.12.24"
features = [
    "charset",
    "http2",
    "json",
    "rustls-tls",
    "stream",
]
default-features = false

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

[dependencies.serde_json]
version = "1.0.145"

[dependencies.thiserror]
version = "2.0.17"

[dependencies.tokio]
version = "1.48.0"
features = [
    "macros",
    "rt-multi-thread",
    "time",
]

[dev-dependencies.tokio]
version = "1.48.0"
features = [
    "macros",
    "rt-multi-thread",
    "time",
]

[dev-dependencies.wiremock]
version = "0.6.5"