vault


License

License

MIT
GroupId

GroupId

io.chrisdavenport
ArtifactId

ArtifactId

vault_2.13
Last Version

Last Version

2.1.0-M12
Release Date

Release Date

Type

Type

jar
Description

Description

vault
vault
Project URL

Project URL

https://github.com/ChristopherDavenport/vault
Project Organization

Project Organization

io.chrisdavenport
Source Code Management

Source Code Management

https://github.com/ChristopherDavenport/vault

Download vault_2.13

How to add to project

<!-- https://jarcasting.com/artifacts/io.chrisdavenport/vault_2.13/ -->
<dependency>
    <groupId>io.chrisdavenport</groupId>
    <artifactId>vault_2.13</artifactId>
    <version>2.1.0-M12</version>
</dependency>
// https://jarcasting.com/artifacts/io.chrisdavenport/vault_2.13/
implementation 'io.chrisdavenport:vault_2.13:2.1.0-M12'
// https://jarcasting.com/artifacts/io.chrisdavenport/vault_2.13/
implementation ("io.chrisdavenport:vault_2.13:2.1.0-M12")
'io.chrisdavenport:vault_2.13:jar:2.1.0-M12'
<dependency org="io.chrisdavenport" name="vault_2.13" rev="2.1.0-M12">
  <artifact name="vault_2.13" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.chrisdavenport', module='vault_2.13', version='2.1.0-M12')
)
libraryDependencies += "io.chrisdavenport" % "vault_2.13" % "2.1.0-M12"
[io.chrisdavenport/vault_2.13 "2.1.0-M12"]

Dependencies

compile (4)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.13.3
org.typelevel : cats-core_2.13 jar 2.3.1
org.typelevel : cats-effect_2.13 jar 3.0.0-M5
io.chrisdavenport : unique_2.13 jar 2.1.0-M5

test (2)

Group / Artifact Type Version
org.typelevel : cats-laws_2.13 jar 2.3.1
org.typelevel : discipline-specs2_2.13 jar 1.1.3

Project Modules

There are no modules declared in this project.

vault Maven Central

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.11 or a later version, add the following dependencies to your build.sbt depending on your needs:

libraryDependencies ++= Seq(
  "io.chrisdavenport" %% "vault" % "<version>",
)
io.chrisdavenport

typelevel.scala

Let the Scala compiler work for you.

Versions

Version
2.1.0-M12
2.1.0-M10
2.1.0-M9
2.1.0-M8
2.1.0-M7
2.1.0-M6
2.1.0-M5
2.1.0-M1
2.0.0
2.0.0-RC2
2.0.0-RC1
2.0.0-M2