Skip to content

Commit aaefd29

Browse files
senamakelmedullabot
andcommitted
feat(tinymcp): gate tinybus_module re-export behind module feature
The re-export of `McpService`, `ModuleConfig`, and `ServerDetail` from `tinybus_module` is now conditionally compiled behind the `module` feature flag, preventing unused dependencies from being pulled in when the feature is not enabled. Auto-committed-on: dragonfly Co-authored-by: Medulla <medulla@tinyhumans.ai>
1 parent 97e9877 commit aaefd29

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎crates/tinymcp/src/lib.rs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ pub use config_servers::{
8181
};
8282
pub use error::{Error, Result};
8383
pub use registry::{AuthDetection, Connections, OAuthFlow, Store, Supervisor, SupervisorConfig};
84+
#[cfg(feature = "module")]
8485
pub use tinybus_module::{McpService, ModuleConfig, ServerDetail};
8586
pub use transport::http::{McpHttpClient, McpHttpClientBuilder};
8687
pub use transport::stdio::McpStdioClient;

0 commit comments

Comments
 (0)