Skip to content

Conversation

Copy link

Copilot AI commented Jan 28, 2026

Example builds were failing because manifests relied on workspace dependency inheritance without a valid workspace root and because several examples referenced non-existent path deps. The update establishes a proper workspace and aligns dependency versions so cargo check can resolve all examples.

  • Workspace + dependency alignment

    • Added root workspace dependency entries for RustAPI crates.
    • Converted example Cargo.toml dependencies to workspace = true.
    • Standardized doc snippets to RustAPI 0.1 versions.
  • microservices-advanced handler compatibility

    • Wrapped product list response in a schema-friendly struct.
    • Replaced raw string response with a typed response struct.
#[derive(Serialize, Schema)]
struct ProductList {
    products: Vec<Product>,
}

async fn get_products() -> Json<ProductList> {
    Json(ProductList { products: vec![/* ... */] })
}

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: Tuntii <121901995+Tuntii@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix manifest parsing errors in examples Normalize RustAPI workspace deps and fix microservices-advanced handlers Jan 28, 2026
Copilot AI requested a review from Tuntii January 28, 2026 02:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants