Another Swift LMDB Wrapper

Hello, fellow Swifters…

I'm here to share a little side project that I created with the help of a robot… myself supervising along the way :robot:

Yes, it's another LMDB wrapper but this one has some niceties like:

  • C library fully annotated with LLVM API Notes for safe interoperability wrappers
  • Thin wrapper using spans / RawSpan and 0-copy semantics
  • Strict memory safety checked
  • ~Copyable ~Escapable DB transaction API with optional closure based read/writes
  • Support for binary parsable and encodable key/values
  • Exhaustive tests including exit tests and compilation failure tests for ~Escapable flows
  • DocC documented with additional articles

We are currently testing it within the Swift Bitcoin project with pretty encouraging results both performance and readability-wise.

As always any feedback is both welcome and appreciated.

Keep on Swifting​:victory_hand: