forked from tyrchen/claude-agent-sdk-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
71 lines (58 loc) · 1.46 KB
/
Cargo.toml
File metadata and controls
71 lines (58 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[package]
name = "claude-agent-sdk-rs"
version = "0.6.3"
authors = ["Tyr Chen <tyr.chen@gmail.com>"]
edition = "2024"
rust-version = "1.90"
license = "MIT"
documentation = "https://docs.rs/claude-agent-sdk-rs"
repository = "https://github.com/tyrchen/claude-agent-sdk-rs"
homepage = "https://github.com/tyrchen/claude-agent-sdk-rs"
description = "Rust SDK for Claude Code CLI with bidirectional streaming, hooks, custom tools, and plugin support - 100% feature parity with Python SDK"
readme = "README.md"
categories = ["development-tools", "api-bindings", "asynchronous"]
keywords = ["claude", "ai", "agent", "llm", "sdk"]
include = ["src/**/*.rs", "Cargo.toml", "LICENSE", "README.md"]
[dependencies]
# Async runtime
tokio = { version = "1.49", features = [
"macros",
"rt-multi-thread",
"process",
"io-util",
"sync",
"time",
] }
# Async traits
async-trait = "0.1"
futures = "0.3"
pin-project = "1.1"
async-stream = "0.3"
# Fast lock-free channel
flume = "0.12"
# Concurrent hash map
dashmap = "6"
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# Error handling
thiserror = "2.0"
anyhow = "1.0"
# Path utilities
path-absolutize = "3.1"
# Logging
tracing = "0.1"
# UUID generation
uuid = { version = "1.20", features = ["v4"] }
typed-builder = "0.23.2"
# Macro utilities
paste = "1.0"
[dev-dependencies]
tokio-test = "0.4"
mockall = "0.14"
[features]
default = []
testing = ["rand"]
[dependencies.rand]
version = "0.8"
optional = true