feat: add progress notification handling and related structures (#282)
* feat: add progress notification handling and related structures also fix some lifetime bugs of tool macro * fix: fmt
This commit is contained in:
parent
893969ac77
commit
8e1490bcd8
1 changed files with 298 additions and 18 deletions
|
|
@ -71,7 +71,7 @@ chrono = { version = "0.4.38", default-features = false, features = ["serde", "c
|
|||
|
||||
[features]
|
||||
default = ["base64", "macros", "server"]
|
||||
client = []
|
||||
client = ["dep:tokio-stream"]
|
||||
server = ["transport-async-rw", "dep:schemars"]
|
||||
macros = ["dep:rmcp-macros", "dep:paste"]
|
||||
|
||||
|
|
@ -191,3 +191,8 @@ path = "tests/test_message_protocol.rs"
|
|||
name = "test_message_schema"
|
||||
required-features = ["server", "client", "schemars"]
|
||||
path = "tests/test_message_schema.rs"
|
||||
|
||||
[[test]]
|
||||
name = "test_progress_subscriber"
|
||||
required-features = ["server", "client", "macros"]
|
||||
path = "tests/test_progress_subscriber.rs"
|
||||
Loading…
Reference in a new issue