2
2
3
3
This Scala standard module contains the package
4
4
` scala.collection.parallel ` , with all of the parallel collections that
5
- used to be part of the Scala standard library.
5
+ used to be part of the Scala standard library (in Scala 2.10 through 2.12) .
6
6
7
- For Scala 2.13, this module is a separate JAR that can be
7
+ For Scala 2.13 and Scala 3 , this module is a separate JAR that can be
8
8
omitted from projects that do not use parallel collections.
9
9
10
10
## Maintenance status
@@ -19,7 +19,7 @@ To depend on scala-parallel-collections in sbt, add this to your `build.sbt`:
19
19
20
20
``` scala
21
21
libraryDependencies +=
22
- " org.scala-lang.modules" %% " scala-parallel-collections" % " 1.0.0-RC1 "
22
+ " org.scala-lang.modules" %% " scala-parallel-collections" % " 1.0.0"
23
23
```
24
24
25
25
In your code, adding this import:
@@ -36,7 +36,7 @@ Here is the [full Scaladoc](https://static.javadoc.io/org.scala-lang.modules/sca
36
36
37
37
### Cross-building: dependency
38
38
39
- This module is published only for the Scala 2.13.x series, so in a
39
+ This module is published only for the Scala 2.13 and 3.0 series, so in a
40
40
cross-built project, the dependency should take this form:
41
41
42
42
``` scala
@@ -45,7 +45,7 @@ libraryDependencies ++= {
45
45
case Some ((2 , major)) if major <= 12 =>
46
46
Seq ()
47
47
case _ =>
48
- Seq (" org.scala-lang.modules" %% " scala-parallel-collections" % " 1.0.0-RC1 " )
48
+ Seq (" org.scala-lang.modules" %% " scala-parallel-collections" % " 1.0.0" )
49
49
}
50
50
}
51
51
```
@@ -57,7 +57,7 @@ community build, etc).
57
57
### Cross-building: source compatibility
58
58
59
59
Using ` .par ` is problematic in a cross-built project, since in Scala
60
- 2.13 the ` CollectionConverters._ ` import shown above is necessary, but
60
+ 2.13+ the ` CollectionConverters._ ` import shown above is necessary, but
61
61
in earlier Scala versions, that import will not compile.
62
62
63
63
You may able to avoid the problem by directly constructing your
0 commit comments