<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/a-kind-introduction-sekwt0bnj" -->

---
title: A Kind Introduction | daily.dev
description: Wingback, a B2B SaaS company, open-sourced a Rust library called 'kind' that solves the problem of typed identifiers. Using PhantomData and a derive macro, it...
canonical: https://daily.dev/posts/a-kind-introduction-sekwt0bnj
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: A Kind Introduction | daily.dev
og:description: Wingback, a B2B SaaS company, open-sourced a Rust library called 'kind' that solves the problem of typed identifiers. Using PhantomData and a derive macro, it...
og:url: https://daily.dev/posts/a-kind-introduction-sekwt0bnj
og:image: https://api.daily.dev/og/posts/SeKWt0BnJ.png
og:image:alt: A Kind Introduction
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# A Kind Introduction

**[Dystroy](https://daily.dev/sources/dystroy)** · 7 min read · 0 upvotes · 0 comments

## Summary

Wingback, a B2B SaaS company, open-sourced a Rust library called 'kind' that solves the problem of typed identifiers. Using PhantomData and a derive macro, it creates zero-cost typed IDs like Id<Customer> that prevent identifier misuse at compile time. In JSON/REST APIs, IDs are automatically prefixed (e.g., 'Cust_uuid'), making them human-readable and self-documenting. The library integrates with serde for serialization and sqlx for database queries, requires no boilerplate, and also provides an Ided<T> wrapper to distinguish objects with and without IDs.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://dystroy.org/blog/a-kind-introduction/>

## Similar posts on daily.dev

- [Parse, don't Validate and Type-Driven Design in Rust — ramblings of @harudagondi](https://daily.dev/posts/parse-don-t-validate-and-type-driven-design-in-rust-ramblings-of-harudagondi-je8owvusb) · Hacker News · 0 upvotes · 0 comments
- [Practical Rust API Design](https://daily.dev/posts/practical-rust-api-design-qwmqrnfyi) · corrode · 51 upvotes · 7 comments

---

Tags: [#rust](https://daily.dev/tags/rust)

[View this post on daily.dev](https://daily.dev/posts/a-kind-introduction-sekwt0bnj)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"A Kind Introduction","url":"https://daily.dev/posts/a-kind-introduction-sekwt0bnj","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/a-kind-introduction-sekwt0bnj"},"datePublished":"2026-03-31T12:30:26.381Z","dateModified":"2026-03-31T12:53:15.013Z","description":"Wingback, a B2B SaaS company, open-sourced a Rust library called 'kind' that solves the problem of typed identifiers. Using PhantomData and a derive macro, it...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/86c1779588c59bfe6f5411be43dd3635?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/86c1779588c59bfe6f5411be43dd3635?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Dystroy","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Dystroy","logo":"https://media.daily.dev/image/upload/s--n2ffxB54--/f_auto,q_auto/v1774960093/logos/dystroy?_a=BAMAMiWQ0","url":"https://daily.dev/sources/dystroy"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/a-kind-introduction-sekwt0bnj","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"rust","timeRequired":"PT7M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Dystroy","item":"https://daily.dev/sources/dystroy"},{"@type":"ListItem","position":3,"name":"A Kind Introduction"}]}
```

