Cargo Features
[dependencies]
mcp-host = { version = "0.1.13", default-features = false, features = ["stdio", "http", "macros", "full"] }
- default = stdio
-
The
stdiofeature is set by default whenevermcp-hostis added withoutsomewhere in the dependency tree.default-features = false - stdio default full?
-
Transport layer
Affects
transport::stdio… - http full? = async-stream, rama, rama-http-backend, tokio-stream
-
Affects
transport::http… - macros full? = mcp-host-macros
-
Procedural macros
Affects
mcp-host::macros,registry::router… - full = http, macros, stdio
-
Convenience bundles
Features from optional dependencies
In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- rama http?
-
Enables rama
HTTP transport via rama (from ore-ecosystem)
- rama-http-backend http?
- tokio-stream http?
- async-stream http?
- mcp-host-macros macros?