From 491fe4fe4394d17c9dabac5a3237af65a4114dca Mon Sep 17 00:00:00 2001 From: Mark Adair Date: Fri, 12 Sep 2025 15:40:49 +0100 Subject: [PATCH 1/2] Add tls-no-provider feature --- crates/rust-mcp-sdk/Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/rust-mcp-sdk/Cargo.toml b/crates/rust-mcp-sdk/Cargo.toml index 48ea665..50d5e7f 100644 --- a/crates/rust-mcp-sdk/Cargo.toml +++ b/crates/rust-mcp-sdk/Cargo.toml @@ -67,6 +67,7 @@ hyper-server = [ "rust-mcp-transport/sse", ] ssl = ["axum-server/tls-rustls"] +tls-no-provider = ["axum-server/tls-rustls-no-provider"] macros = ["rust-mcp-macros/sdk"] # enables mcp protocol version 2025_06_18 From a1af996c1766e0ec55a415208d14dcb4a774bb8b Mon Sep 17 00:00:00 2001 From: Mark Adair Date: Mon, 15 Sep 2025 14:01:41 +0100 Subject: [PATCH 2/2] Update README.md file. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 1581d1d..507b55e 100644 --- a/README.md +++ b/README.md @@ -419,6 +419,7 @@ The `rust-mcp-sdk` crate provides several features that can be enabled or disabl - `hyper-server`: This feature enables the **sse** transport for MCP servers, supporting multiple simultaneous client connections out of the box. - `ssl`: This feature enables TLS/SSL support for the **sse** transport when used with the `hyper-server`. - `macros`: Provides procedural macros for simplifying the creation and manipulation of MCP Tool structures. +- `tls-no-provider`: Enables TLS without a crypto provider. This is useful if you are already using a different crypto provider than the aws-lc default. #### MCP Protocol Versions with Corresponding Features