docs: add a simple chat client for example (#119)
1. optimize the readme in root 2. add example Signed-off-by: jokemanfire <hu.dingyang@zte.com.cn>
This commit is contained in:
parent
31da5ff02d
commit
2125698fdc
1 changed files with 733 additions and 12 deletions
20
examples/simple-chat-client/Cargo.toml
Normal file
20
examples/simple-chat-client/Cargo.toml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
[package]
|
||||
name = "simple-chat-client"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
tokio = { version = "1", features = ["full"] }
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
reqwest = { version = "0.11", features = ["json"] }
|
||||
anyhow = "1.0"
|
||||
thiserror = "1.0"
|
||||
async-trait = "0.1"
|
||||
futures = "0.3"
|
||||
toml = "0.8"
|
||||
rmcp = { git = "https://github.com/modelcontextprotocol/rust-sdk", features = [
|
||||
"client",
|
||||
"transport-child-process",
|
||||
"transport-sse",
|
||||
], no-default-features = true }
|
||||
Loading…
Reference in a new issue