Cargo Features

universal-tool-core has no features set by default.

[dependencies]
universal-tool-core = { version = "0.2.5", features = ["cli", "mcp", "rest", "openapi"] }
cli

Enables cli of universal-tool-macros and atty, clap, clap_complete, console ^0.15, csv, dialoguer ^0.11, indicatif ^0.17, serde_yaml, and tabled ^0.15

clap:

Interface-specific dependencies (optional)

Affects universal-tool-core::cli

mcp

Enables async-trait, rmcp ^0.6.4, tokio, and tokio-util, mcp of universal-tool-macros

Affects universal-tool-core::mcp

rest

Enables axum ^0.7, tokio, tower, and tower-http, rest of universal-tool-macros

Affects universal-tool-core::rest

openapi

Enables utoipa ^4 and utoipa-swagger-ui ^6.0.0