# 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 = "roder-ext-cursor"
version = "0.1.1"
authors = ["Pandelis Zembashis"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Agentic software development tools and SDKs for Roder."
readme = "README.md"
license = "MIT"
repository = "https://github.com/RoderAI/roder"

[package.metadata.roder.distribution]
id = "cursor"
category = "inference-engine"
display_name = "Cursor"
description = "Cursor Composer direct AgentService inference provider."
default_in_profiles = [
    "full",
    "research-headless",
]
required_env = []
optional_env = [
    "CURSOR_API_KEY",
    "RODER_CURSOR_API_KEY",
    "CURSOR_ACCESS_TOKEN",
    "CURSOR_AUTH_TOKEN",
    "RODER_CURSOR_AGENT_SERVICE_URL",
    "RODER_CURSOR_BACKEND_BASE_URL",
]
conflicts_with = []
required_capabilities = [
    "network.agentn.global.api5.cursor.sh",
    "network.api2.cursor.sh",
]
extension_path = "::CursorExtension::new"
docs_url = "https://cursor.com"

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

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

[dependencies.anyhow]
version = "1.0.102"

[dependencies.async-stream]
version = "0.3.6"

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

[dependencies.base64]
version = "0.22.1"

[dependencies.bytes]
version = "1.11.1"

[dependencies.dirs]
version = "6.0.0"

[dependencies.futures]
version = "0.3.32"

[dependencies.reqwest]
version = "0.13.3"
features = [
    "form",
    "http2",
    "json",
    "rustls",
    "system-proxy",
    "json",
    "stream",
]
default-features = false

[dependencies.roder-api]
version = "0.1.0"

[dependencies.semver]
version = "1.0.28"

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

[dependencies.serde_json]
version = "1.0.149"
features = ["preserve_order"]

[dependencies.tokio]
version = "1.52.3"
features = [
    "fs",
    "io-std",
    "io-util",
    "macros",
    "net",
    "process",
    "rt-multi-thread",
    "signal",
    "sync",
    "time",
]
default-features = false

[dependencies.uuid]
version = "1.23.1"
features = ["v4"]

[dev-dependencies.h2]
version = "0.4.14"

[dev-dependencies.http]
version = "1.4.0"
