rust

Generate a typed Rust client crate from a Vovk API using vovk-rust templates.

52|Updated Jul 12, 2023
One-click install
npx skills add https://github.com/finom/vovk --skill rust-finom
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rust
Source: https://github.com/finom/vovk/tree/main/packages/claude-plugin/skills/rust
Command: npx skills add https://github.com/finom/vovk --skill rust-finom

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The rust skill automates generating a typed Rust client crate from a Vovk API, enabling seamless integration, type safety, and easy publishing to crates.io.

Core Features & Use Cases

  • Generate a Rust client from Vovk schema using rs / rsSrc templates.
  • Produce a ready-to-publish crate with HTTP requests via reqwest, serde for (de)serialization, and optional streaming support.
  • Use in Rust services, CLI tools, or embedded crates, and publish to crates.io.

Quick Start

Generate a Rust client crate from the Vovk API using vovk-rust templates.

Frequently Asked Questions about rust

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a Rust client from a Vovk API?

To generate a typed Rust client from a Vovk API, use the vovk-rust templates via the rs or rsSrc template options to produce a ready-to-publish crate with type safety.

What dependencies does the generated Rust SDK use for HTTP requests and serialization?

The generated Rust SDK uses reqwest for async HTTP requests and serde for serialization and deserialization, ensuring typed data handling and optional JSON Lines streaming support.

Can I publish the generated Rust client crate to crates.io?

Yes, the generated Rust client crate is designed to be ready for crates.io publishing workflows, allowing you to easily distribute your typed Vovk API SDK.

How do I configure origins and client behavior for a Vovk Rust client?

Configure the generated Rust client's origins and behavior by modifying the vovk.config.mjs file, which controls how the async call shapes and streaming options operate.

Is it possible to embed a generated Vovk Rust client inside another crate or CLI tool?

Yes, the generated Rust client can be embedded directly into Rust services, CLI tools, or standalone libraries, providing type-safe API interactions without requiring a separate runtime.

Does the Rust client generator support JSON Lines streaming?

Yes, the generated Rust client supports optional JSON Lines streaming alongside standard async call shapes, managed through the vovk.config.mjs configuration file.