Scala3 migration guide
I'm trying to migrate a project which uses ficus to Scala3. I'm getting a compile-time error:
[error] -- [E008] Not Found Error: /Users/bwbecker/uw/cs135/scala/lintR/src/main/scala/cs135/config/Config.scala:9:33
[error] 9 |import net.ceedubs.ficus.readers.ArbitraryTypeReader._
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] |value ArbitraryTypeReader is not a member of net.ceedubs.ficus.readers, but could be made available as an extension method.
I see that ficus/src/main/scala-3/net/ceedubs/ficus/readers/ArbitraryTypeReader.scala is only four lines long, one of which is //TODO. So I'm guessing that ficus isn't really ready for Scala3 even though there is a Scala3 release on Maven.
Can someone confirm or provide guidance on how to proceed?
This lib is no longer actively maintained. The easiest way might be helping the project migrating away from focus to another replacement lib.
Thanks for the head's up. I wondered, but didn't see anything to that effect so was still hopeful.
Do you have any recommendations for alternatives? A quick look through Scaladex suggests
- https://index.scala-lang.org/2m/ciris-hocon
- https://scalameta.org/metaconfig/
- https://github.com/pureconfig/pureconfig
I use pureconfig
Thanks!