@@ -37,7 +37,6 @@ base64 = { version = "0.21", optional = true }
37
37
reqwest = { version = " 0.12" , default-features = false , features = [
38
38
" json" ,
39
39
" stream" ,
40
- " rustls-tls" ,
41
40
], optional = true }
42
41
sse-stream = { version = " 0.1.3" , optional = true }
43
42
url = { version = " 2.4" , optional = true }
@@ -62,7 +61,9 @@ default = ["base64", "macros", "server"]
62
61
client = []
63
62
server = [" transport-async-rw" , " dep:schemars" ]
64
63
macros = [" dep:rmcp-macros" , " dep:paste" ]
65
- transport-sse = [" dep:reqwest" , " dep:sse-stream" , " dep:url" ]
64
+ __transport-sse = [" dep:reqwest" , " dep:sse-stream" , " dep:url" ]
65
+ transport-sse = [" __transport-sse" , " reqwest?/rustls-tls" ]
66
+ transport-sse-tls-no-provider = [" __transport-sse" , " reqwest?/rustls-tls-no-provider" ]
66
67
transport-async-rw = [" tokio/io-util" , " tokio-util/codec" ]
67
68
transport-io = [" transport-async-rw" , " tokio/io-std" ]
68
69
transport-child-process = [" transport-async-rw" , " tokio/process" ]
@@ -74,7 +75,9 @@ transport-sse-server = [
74
75
]
75
76
# transport-ws = ["transport-io", "dep:tokio-tungstenite"]
76
77
tower = [" dep:tower-service" ]
77
- auth = [" dep:oauth2" , " dep:reqwest" , " dep:url" ]
78
+ __auth = [" dep:oauth2" , " dep:reqwest" , " dep:url" ]
79
+ auth = [" __auth" , " reqwest?/rustls-tls" ]
80
+ auth-tls-no-provider = [" auth" , " reqwest?/rustls-tls-no-provider" ]
78
81
79
82
[dev-dependencies ]
80
83
tokio = { version = " 1" , features = [" full" ] }
0 commit comments