docs.rs failed to build firecracker-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Firecracker Rust Client SDK
Rust SDK for the Firecracker microVM API.
Crates
| Crate | Description |
|---|---|
firecracker |
Facade — re-exports api + sdk |
fc-api |
Low-level typed client, generated from Swagger spec via progenitor |
fc-sdk |
High-level typestate wrapper: VmBuilder → Vm lifecycle |
Quick Start
use ;
let vm = new
.boot_source
.machine_config
.start
.await?;
vm.pause.await?;
vm.resume.await?;
vm.snapshot.await?;
For operations not covered by the SDK, use the generated API client directly:
use Client;
let client = vm.client;
client.describe_instance.send.await?;
Building
Requires Node.js (for npx swagger2openapi during code generation).
License
MIT OR Apache-2.0