From d9033f82ebb5b2e1a6e195cad94f13850886be8d Mon Sep 17 00:00:00 2001 From: ryanstull Date: Wed, 28 Dec 2022 02:32:45 -0500 Subject: [PATCH] Updating README --- README.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 3903d13..68cdb36 100644 --- a/README.md +++ b/README.md @@ -16,17 +16,22 @@ The purpose of this macro is to provide a quick, easy, readable/writable, and ef | Null-safe navigator | ✔️ | ⚠️ | ⚠️ | | Try-catch NPE | ✔️ | ✔️ | ⚠️ | | Monocle Optional (lenses)| ✔️ | 💀 | ⛔ | -| thoughtworks NullSafe DSL| ✔️ | ✔️ | ⚠ | +| thoughtworks NullSafe DSL| ✔️ | ✔️ | ⚠️ | -Key: ✔️ = Good, ⚠️ = Sub-optimal, ⛔ = Bad +Key: ✔️ = Good, ⚠️ = Sub-optimal, ⛔ = Bad, 💀 = Horrible ## How to use Add the dependency: -`libraryDependencies += "com.ryanstull" %% "scalanullsafe" % "1.2.6"` +[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.ryanstull/scalanullsafe_2.13/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.ryanstull/scalanullsafe_2.13) -Example use: +```sbt +libraryDependencies += "com.ryanstull" %% "scalanullsafe" % "1.2.6" +``` +* Since macros are only used at compile time, if your build tool has a way to specify compile-time-only dependencies, you can use that for this library + +### Example use: ```scala import com.ryanstull.nullsafe._