scaffold the crate
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 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.
This commit is contained in:
commit
539c03c58b
4 changed files with 206 additions and 0 deletions
39
Cargo.toml
Normal file
39
Cargo.toml
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
[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://git.sulkta.com/Sulkta-OSS/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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue