Skip to main content

Crate arri_repr

Crate arri_repr 

Source
Expand description

§Arri Schema Representation Library

This crate provides all the types and Rust representations required for working with the Arri schema. It serves as the foundational library for defining and manipulating schema elements, metadata, properties, and other constructs used in Arri schemas.

The primary purpose of this crate is to enable seamless integration and schema building for projects that rely on the Arri schema format. If you’re looking for the crate that utilizes these representations to build schemas, you are probably looking for the ronky crate.

§Features

  • Comprehensive type definitions for Arri schemas.
  • Utilities for serialization and metadata handling.
  • Handles all serialization and deserialization of objects and schemas. (WIP)

§Usage

Import the necessary schema types and utilities from this crate to define, manipulate, serialize, or deserialize Arri schemas in your Rust projects.

Modules§

type_utils

Structs§

ElementsSchema
Represents the schema for elements in arri
EmptySchema
Represents an empty schema in the Arri system.
EnumSchema
Represents a schema for enumerations in the Arri system.
MetadataSchema
Represents metadata schema for Arri.
PropertiesSchema
Represents a schema for properties in an Arri schema.
RefSchema
Represents a reference schema in an Arri schema.
Serializer
A serializer for building JSON-like string representations.
TaggedUnionSchema
Represents a schema for a tagged union in an Arri schema.
TypeSchema
Represents a schema for a type in an Arri schema.
ValuesSchema
Represents a schema for values in an Arri schema.

Enums§

EnumTransformation
Enum representing various string transformation types.
Types

Traits§

Exportable
A trait for types that can be exported into Arri schemas.
Serializable
A trait for types that can be serialized into a string representation.