Crate tycho[][src]

Tycho Binary Format

The tycho binary format is a minimal, self-describing and traversable data format designed around rust and the serde data model.

Features

  • partial - Partial Reading/Traversal
  • serde_support - Serde serialisation and deserialisation
  • serde_optimise - Serde structure optimisation (default)
  • async_tokio - Async reading support with tokio
  • compression - Compression (gzip)

Modules

collections

Wrappers around HashMap and Vec mapping to a respective type within tycho.

error

Error types returned from tycho marshall/unmarshall/serialise/deserialize processes.

ident

Type prefixes/identities used within the marshall and unmarshall processes - Returned in errors.

Enums

Element

A element tag, used to build tycho data structures.

Number

A numerical value tag, used when creating tycho data.

Value

A primitive terminating type, used when creating tycho data.

Traits

Ident

Trait for converting a value or element into an Ident.

ValueType

Identities for a value.

Functions

marshall

Marshall an element to a byte buffer or writable object.

marshall_vec

Marshall an element into a vec of bytes.

unmarshall

Unmarshall an element from a readable object.

unmarshall_vec

Unmarshall an element from a vec of bytes.