Installation
toctoc
is composed by multiple modules:
toctoc-core
: defines the basic abstractionstoctoc-slick-postgresql
: provides slick-specific implementations for Postgres databasestoctoc-slick-mysql
: provides slick-specific implementations for MySql databasestoctoc-circe
: provides Circe encoders/decoders for core toctoc types
You can cherry-pick the modules according to the needs of your project. For example:
val V = new {
val toctoc = "1.0.0"
}
libraryDependencies ++= List(
"io.buildo" %% "toctoc-core" % V.toctoc,
"io.buildo" %% "toctoc-slick-postgresql" % V.toctoc
)
Snapshot versions
We publish a snapshot version on every merge on master.
The latest snapshot version is 1.0.0+6-1e3780d5-SNAPSHOT
and you can use it to
try the latest unreleased features. For example:
val V = new {
val toctoc = "1.0.0+6-1e3780d5-SNAPSHOT"
}
resolvers += Resolver.sonatypeRepo("snapshots")
libraryDependencies ++= List(
"io.buildo" %% "toctoc-core" % V.toctoc,
"io.buildo" %% "toctoc-slick-postgresql" % V.toctoc
)