rust

package
v0.8.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 13, 2026 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Overview

Package rust implements a native Rust code generator.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(ctx context.Context, model *api.API, outdir string, cfg *parser.ModelConfig) error

Generate generates Rust code from the model.

func GenerateStorage

func GenerateStorage(ctx context.Context, outdir string, storageModel *api.API, storageConfig *parser.ModelConfig, controlModel *api.API, controlConfig *parser.ModelConfig) error

GenerateStorage generates Rust code for the storage service.

func PackageName

func PackageName(api *api.API, packageNameOverride string) string

PackageName returns the package name for the API.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL