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,22 @@
[package]
name = "mcp-server-examples"
version = "0.1.0"
edition = "2021"
publish = false
[dependencies]
mcp-server = { path = "../../crates/mcp-server" }
mcp-core = { path = "../../crates/mcp-core" }
mcp-macros = { path = "../../crates/mcp-macros" }
tokio = { version = "1", features = ["full"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
anyhow = "1.0"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
tracing-appender = "0.2"
futures = "0.3"
[[example]]
name = "counter-server"
path = "src/counter_server.rs"