chore: move examples out of various places into a top-level dir (#10)

This commit is contained in:
Kalvin C 2025-03-03 11:50:34 -08:00 • committed by GitHub
commit 6609aa6aa8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,33 @@
[package]
name = "mcp-client-examples"
version = "0.1.0"
edition = "2021"
publish = false
[dependencies]
mcp-client = { path = "../../crates/mcp-client" }
mcp-core = { path = "../../crates/mcp-core" }
tokio = { version = "1", features = ["full"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
rand = "0.8"
futures = "0.3"
anyhow = "1.0"
[[example]]
name = "clients"
path = "src/clients.rs"
[[example]]
name = "sse"
path = "src/sse.rs"
[[example]]
name = "stdio"
path = "src/stdio.rs"
[[example]]
name = "stdio_integration"
path = "src/stdio_integration.rs"