typelevel / vault

Type-safe, persistent storage for values of arbitrary types

Home Page:https://typelevel.org/vault/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vault Maven Central Continuous Integration

Vault is a tiny library that provides a single data structure called vault.

Inspiration was drawn from HeinrichApfelmus/vault and the original blog post

A vault is a type-safe, persistent storage for values of arbitrary types. Like Ref, it should be capable of storing values of any type in it, but unlike Ref, behave like a persistent, first-class data structure.

It is analogous to a bank vault, where you can access different bank boxes with different keys; hence the name.

Microsite

Head on over to the microsite

Quick Start

To use vault in an existing SBT project with Scala 2.12 or a later version, add the following dependencies to your build.sbt depending on your needs:

libraryDependencies ++= Seq(
  "org.typelevel" %% "vault" % "<version>"
)

About

Type-safe, persistent storage for values of arbitrary types

https://typelevel.org/vault/

License:MIT License


Languages

Language:Scala 100.0%