New
v0.2.0
Welcome to a new release of Gears!
Highlights
- We now ship artifacts for both Scala JVM and Scala Native! Adding Gears to your project is now as simple as
using dep "ch.epfl.lamp::gears::0.2.0"! - Alongside the shipped artifacts,
gearsnow no longer require a snapshot/locally published version ofscala-native. We use 0.5.1 directly. - A lot of the internal designs were brought up-to-date with the Gears book, including (but not limited to):
- Previously,
Asyncwas the only requirement to createFutures. Now, we require a super-capability ofAsync, namedAsync.Spawn. This can be acquired byAsync.group(or directly from the Async contexts ofAsync.blockingandFuture.apply). Writing functions that spawns Futures are slightly more involving: This guarantees that futures do not escape the function scope, and hence don't become "dangling" once the function returns. See #46 and the for more details.
- Previously,