Castkit is a lightweight, type-safe Ruby DSL for defining, validating, and serializing structured data objects. Inspired by DTO patterns, it supports nested types, access control, custom serializers, and more.
Provides conversion helpers to serialize and deserialize between ActiveRecord models and Castkit DataObjects. Supports nested DataObjects, eager loading, and ActiveRecord-safe hydration.