twitter / finagle

A fault tolerant, protocol-agnostic RPC system
https://twitter.github.io/finagle
Apache License 2.0
8.78k stars 1.45k forks source link

Add Scala 3 support to build and CI matrix #949

Open felixbr opened 1 year ago

felixbr commented 1 year ago

Hi, this is early work on supporting a native Scala 3 build for Finagle.

The changes I've made are close to the current setup in twitter/util (including my PR there for Scala 3 CI).

Right now this only adds Scala 3 to finagle-init as a PoC because other modules are still blocked on twitter/util as far as I know.

I'm aware that many Finagle modules are already usable with Scala 3 projects using the cross-compilation (= .cross(CrossVersion.for3Use2_13)) feature. This works decently well for applications but is not a suitable solution for libraries which build on Finagle or more complex cross-building setups.

Note: Currently this branches from release not from develop because the latter seems to be unstable. I will rebase onto develop before converting the draft into a real PR ready to be merged.

xin301x commented 1 year ago

这是来自QQ邮箱的假期自动回复邮件。   您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。