rust

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2025 License: Apache-2.0 Imports: 21 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(model *api.API, outdir string, cfg *config.Config) error

Generate generates Rust code from the model.

func GenerateStorage

func GenerateStorage(outdir string, storageModel *api.API, storageConfig *config.Config, controlModel *api.API, controlConfig *config.Config) 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