jakudlaty / tsid

TSID generator for rust

Home Page:https://crates.io/crates/tsid

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add serde support

jakudlaty opened this issue · comments

Allow to serialize TSID

  • serialize as string for Json purposes
  • serialize as binary for database usages (for example mongo bson)
  • Deserialize from binary and from base 32 representation https://www.crockford.com/base32.html