rust-sdk/examples/servers/src
Rohit Ghumare 82b04a31f5
feat: deprecate roots, sampling, and logging (SEP-2577) (#884)
SEP-2577 deprecates the Roots, Sampling, and Logging features. The
deprecation is advisory: the features stay fully functional and there is
no wire-level change. Mark the corresponding Rust APIs as deprecated so
downstream users get compiler warnings and migration guidance.

- Forward attributes through the service `method!` macros and deprecate
  `Peer::create_message`, `Peer::list_roots`, `Peer::set_level`, and
  `Peer::notify_logging_message`.
- Forward per-field attributes through the capability `builder!` macro and
  deprecate the generated `enable_roots`, `enable_sampling`, and
  `enable_logging` builders, plus the hand-written
  `enable_roots_list_changed`, `enable_sampling_tools`, and
  `enable_sampling_context`.
- Document the deprecation on the capability types and fields, and in the
  README feature sections.
- Allow `deprecated` at the crate's own call sites so the build stays
  warning-clean, and refresh the message schema snapshots.
2026-06-04 08:43:39 -04:00
..
common fix(examples): accept stringified prompt argument values (#859) 2026-05-28 11:32:35 -04:00
html feat!: remove SSE transport support (#562) 2025-12-01 20:40:13 -05:00
calculator_stdio.rs feat(macros): auto-generate get_info and default router (#785) 2026-04-08 15:06:26 -04:00
cimd_auth_streamhttp.rs chore: fix all clippy warnings across workspace (#746) 2026-03-11 14:12:00 -04:00
completion_stdio.rs chore: add #[non_exhaustive] and mutation methods to improve compatibility (#715) 2026-03-03 10:38:01 -05:00
complex_auth_streamhttp.rs chore: add #[non_exhaustive] to remaining public structs (#768) 2026-03-26 10:23:58 -04:00
counter_hyper_streamable_http.rs feat: allow failable service creation in streamable HTTP tower service (#244) 2025-06-16 01:13:35 +08:00
counter_stdio.rs fix(examples): add servers in examples's readme (#229) 2025-05-26 21:00:49 +08:00
counter_streamhttp.rs chore: add #[non_exhaustive] to remaining public structs (#768) 2026-03-26 10:23:58 -04:00
elicitation_enum_inference.rs chore: fix all clippy warnings across workspace (#746) 2026-03-11 14:12:00 -04:00
elicitation_stdio.rs chore: add #[non_exhaustive] and mutation methods to improve compatibility (#715) 2026-03-03 10:38:01 -05:00
memory_stdio.rs fix(examples): add servers in examples's readme (#229) 2025-05-26 21:00:49 +08:00
progress_demo.rs feat!: remove SSE transport support (#562) 2025-12-01 20:40:13 -05:00
prompt_stdio.rs chore: add #[non_exhaustive] and mutation methods to improve compatibility (#715) 2026-03-03 10:38:01 -05:00
sampling_stdio.rs feat: deprecate roots, sampling, and logging (SEP-2577) (#884) 2026-06-04 08:43:39 -04:00
simple_auth_streamhttp.rs feat!: remove SSE transport support (#562) 2025-12-01 20:40:13 -05:00
structured_output.rs feat: Add prompt support (#351) 2025-08-21 11:22:19 +08:00
task_stdio.rs feat: add task-based stdio examples (#839) 2026-05-13 09:22:29 -04:00