Skip to content

Commit

Permalink
Docs update (#3)
Browse files Browse the repository at this point in the history
* Information about adding a dependency

* changelog added
  • Loading branch information
ilyshav authored Jan 6, 2021
1 parent a3ab5be commit 4fa0000
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
### Version 0.1.2
First public release. Has no changes compared to 0.1.0 and 0.1.1.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Cassandra 4 io

![CI](https://github.com/ringcentral/cassandra4io/workflows/CI/badge.svg?branch=main)

This is lightweight cats-effect and fs2 IO wrapper for latest datastax 4.x driver.

Why 4.x?
Expand All @@ -15,7 +17,15 @@ optimizations, less allocations, metrics improvements, and fully compatible with


## How to use
Cassandra4io is currently available only for Scala 2.13.

### Add a dependency to your project
```scala
resolvers += Resolver.bintrayRepo("ringcentral", "cassandra4io")
libraryDependencies += ("com.ringcentral" %% "cassandra4io" % "0.1.2")
```

### Create a connection to Cassandra
```scala
import com.ringcentral.cassandra4io.CassandraSession

Expand All @@ -34,7 +44,7 @@ def makeSession[F[_]: Async: ContextShift]: Resource[F, CassandraSession[F]] =
CassandraSession.connect(builder)
```

## Typed cql
### Write some requests

package `com.ringcentral.cassandra4io.cql` introduces typed way to deal with cql queries

Expand Down

0 comments on commit 4fa0000

Please sign in to comment.