Skip to content

Commit

Permalink
addend mention about -lts artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
rssh committed Sep 7, 2024
1 parent f4cc609 commit 1bb861b
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions docs/BasicUsage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,11 @@ JavaScript and Native targets are also supported.
**Note**: :red:`%%%` automatically determines whether we are in a Scala/JVM or a Scala.js or a Scala.Native project (see |Scala.js Cross-Building|_).


If you use lts version of scala (i.e. scala-3.3.3) then you can use lts build of dotty-cps-async with name `dotty-cps-async-lts`:
If you use lts version of scala (i.e. `scala-3.3.3`) then you can use lts build of dotty-cps-async with name `dotty-cps-async-lts`:

.. code-block:: scala
libraryDependencies += "com.github.rssh" %% "dotty-cps-async" % "0.9.22"
libraryDependencies += "com.github.rssh" %% "dotty-cps-async-lts" % "0.9.22"
Compiler Plugin
Expand Down Expand Up @@ -59,8 +55,15 @@ To enable one, add `dotty-cps-async-loom` module to the dependencies:

.. code-block:: scala
// for 3.5.0 or later
libraryDependencies += "com.github.rssh" %% "dotty-cps-async-loom" % "0.9.22"
or

.. code-block:: scala
// for 3.3.3
libraryDependencies += "com.github.rssh" %% "dotty-cps-async-loom-lts" % "0.9.22"
Basic Usage
Expand Down

0 comments on commit 1bb861b

Please sign in to comment.