yyds-types 0.1.0

Common type system for the yyds ecosystem, providing DsValue and zero-copy data layout
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Core Types System

`yyds-types` provides the core type system for the YYDS ecosystem.

## Features

- **DsValue**: A unified multi-modal value type supporting 16 basic and complex data types.
- **Zero-Copy Layout**: Binary header-based zero-copy data access, allowing field reads without full deserialization.
- **DsError**: A unified error model supporting error propagation and mapping across components.
- **SDR Levels**: Software-Defined Redundancy levels (Single, Double, Truth) for controlling data replica strategies.

## Core Components

- `lib.rs`: Defines the `DsValue` enum and basic conversion logic.
- `layout.rs`: Implements binary layout encoding/decoding, supporting efficient memory-mapped access.