This is a long read, but well worth it: one of several ongoing ways in which I think we will be seeing Scala's compile times fall dramatically over the next couple of years! (Using Magnolia instead of shapeless might've had much the same benefit, but that's not the point, here!)https://twitter.com/scala_lang/status/1003639318836105217 …
It should only require this at compile time to run the macro... its runtime dependencies should be about three classes. But let me know if I've made a mistake in the build which includes it, and I'll get it fixed for the next release!
-
-
A good trick is to use both of them (scala-reflect and scala-compiler) with the "provided" scope: https://github.com/milessabin/shapeless/blob/master/build.sbt#L239-L240 …
-
While the best option would be just using a CompileTime scope for all macros at the place of usage https://github.com/typelevel/cats/pull/1889/files …
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
scalac-profiling
Learn what's slowing down compilation in your project, and remove it! Speed up all the things!