Streamlined definition and usage of branded types in Rust.
-
Updated
Apr 13, 2024 - Rust
Streamlined definition and usage of branded types in Rust.
Your C# is the contract. Roslyn-derived OpenAPI 3.1 from ASP.NET endpoints or contract-first definitions — typed TS clients via the OpenAPI ecosystem
Branded, strongly-typed identifiers for Go. Phantom types prevent mixing entity IDs at compile time. Zero-allocation, stdlib-only, with full serialization (JSON, SQL, Text, Binary, Gob).
A DX-friendly entity ID toolkit: prefixed, self-describing IDs with branded TypeScript types, Zod schemas, a prefix registry and a matching Postgres generator. Isomorphic and ESM-only; ~3 KB until you import the schemas.
Type-safe branded primitives with zero runtime overhead — distinguish different kinds of numbers, strings, and booleans at compile time.
Yet another tagging and branding library. Safety, dx, and perf conscious!
Value-object helpers for TypeScript: branded types, a constructor and a companion, kept as plain data.
Advance patterns of typescript that ensures your application type safety and enhances your application security.
Modular Monolith do ERP Bem Comum (Fase 1: módulo Contratos). Node 24 + TS 6 + ESM/NodeNext + Drizzle/MySQL. CLI primária em PT-BR. Domínio puro funcional (zero throw, zero class, Result<T,E>, branded types). Source of truth: handbook/.
To associate your repository with the branded-types topic, visit your repo's landing page and select "manage topics."