{"tool":"cargo","tool_display":"Cargo","intent":"check-with-features","intent_display":"check with features","title":"Cargo Command: check with features","command_string":"cargo c -F <feature1,feature2>","raw_command_string":"cargo {{[c|check]}} {{[-F|--features]}} {{feature1,feature2}}","description":"Exact CLI syntax to check with features using Cargo.","usage_scenario":"When developing features that conditionally change application logic, ensuring all paths compile when all specified features are enabled.","scenario_context":"Use this command to validate your project's features before compilation.","simulated_output":"Checking for the following features:\n\n feature1      : enabled\n feature2      : enabled\n\n Finished dev [unoptimized + debuginfo] target(s) in 0.20s","how_to_steps":["Run: cargo check --features feature1,feature2","Verify: Ensure Cargo displays enabled features in the output."],"inferred_category":"Package Management","canonical_url":"https://www.syntaxstandard.com/cargo/check-with-features"}