generate_cargo_toml
Create a Cargo.toml for a Rust project by specifying package name, edition, and crate type, with options for dependencies, features, and build profiles.
Instructions
Generate a Cargo.toml with dependencies, features, and build profiles
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"package_name": "<package_name>"
},
"name": "generate_cargo_toml"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | API key for authentication | |
| edition | No | Rust edition | |
| crate_type | No | Type of crate | |
| package_name | Yes | Crate name |