Initial layout for an async Rust port of the Python claude-agent-sdk. Sets up Cargo.toml on 2024 edition, MIT LICENSE matching the upstream Python SDK's text with the Sulkta Coop copyright appended, a workspace .gitignore, and a README laying out the v0.1 scope and the Python -> Rust mapping table. No source modules yet — those land in the following commits.
39 lines
1 KiB
TOML
39 lines
1 KiB
TOML
[package]
|
|
name = "claude-agent-sdk"
|
|
version = "0.0.1"
|
|
edition = "2024"
|
|
license = "MIT"
|
|
description = "Async Rust SDK for the Claude Agent CLI (subprocess-based, mirrors the Python claude-agent-sdk)."
|
|
repository = "https://gitea.sulkta.com/Sulkta-Coop/claude-agent-sdk-rust"
|
|
readme = "README.md"
|
|
keywords = ["claude", "anthropic", "agent", "sdk", "async"]
|
|
categories = ["api-bindings", "asynchronous"]
|
|
rust-version = "1.85"
|
|
|
|
[dependencies]
|
|
tokio = { version = "1", features = ["full"] }
|
|
tokio-stream = "0.1"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
thiserror = "2"
|
|
tracing = "0.1"
|
|
futures-core = "0.3"
|
|
async-stream = "0.3"
|
|
|
|
[dev-dependencies]
|
|
anyhow = "1"
|
|
tokio = { version = "1", features = ["macros", "rt-multi-thread", "test-util"] }
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
futures-util = "0.3"
|
|
|
|
[[example]]
|
|
name = "basic"
|
|
path = "examples/basic.rs"
|
|
|
|
[[example]]
|
|
name = "with_options"
|
|
path = "examples/with_options.rs"
|
|
|
|
[[example]]
|
|
name = "interactive"
|
|
path = "examples/interactive.rs"
|