-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature: refactor scala rpc runtime (#441)
* wip * logging update * cleanup
- Loading branch information
Showing
25 changed files
with
818 additions
and
915 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
version = "3.7.11" | ||
runner.dialect = scala3Future | ||
project.git = true | ||
project.excludePaths = ["glob:**.sbt", "glob:**sbtgen.sc"] | ||
|
||
maxColumn = 170 | ||
|
||
importSelectors = singleLine | ||
spaces.inImportCurlyBraces = false | ||
|
||
literals.hexDigits = "Upper" | ||
|
||
align.tokens."+" = ["<-", "->", {code: "=", owner: ".*"}, {code: "=>", owner: "Case"}] | ||
align.tokenCategory { | ||
Equals = Assign | ||
LeftArrow = Assign | ||
RightArrow = Assign | ||
} | ||
|
||
align.arrowEnumeratorGenerator = false | ||
align.ifWhileOpenParen = false | ||
align.openParenCallSite = false | ||
align.openParenDefnSite = false | ||
align.stripMargin = true | ||
align.inInterpolation = false | ||
|
||
newlines.beforeCurlyLambdaParams = multiline | ||
newlines.afterCurlyLambdaParams = never | ||
newlines.implicitParamListModifierPrefer = after | ||
newlines.avoidAfterYield = true | ||
newlines.alwaysBeforeMultilineDef = false | ||
newlines.inInterpolation = allow | ||
|
||
indent.defnSite = 2 | ||
indent.callSite = 2 | ||
indent.extendSite = 2 | ||
|
||
assumeStandardLibraryStripMargin = true | ||
docstrings = ScalaDoc | ||
docstrings.wrap = false | ||
docstrings.blankFirstLine = keep | ||
docstrings.forceBlankLineBefore = false | ||
lineEndings = unix | ||
|
||
danglingParentheses.callSite = true | ||
danglingParentheses.defnSite = true | ||
danglingParentheses.ctrlSite = false | ||
danglingParentheses.exclude = [] | ||
verticalAlignMultilineOperators = true | ||
|
||
includeCurlyBraceInSelectChains = false | ||
includeNoParensInSelectChains = false | ||
|
||
verticalMultiline.atDefnSite = true | ||
verticalMultiline.arityThreshold = 100 | ||
verticalMultiline.newlineAfterOpenParen = false | ||
|
||
optIn.configStyleArguments = true | ||
optIn.breaksInsideChains = true | ||
optIn.breakChainOnFirstMethodDot = true | ||
optIn.selfAnnotationNewline = true | ||
optIn.annotationNewlines = true | ||
|
||
rewrite.rules = [AsciiSortImports, RedundantBraces, RedundantParens] | ||
rewrite.redundantBraces.methodBodies = false // remove braces only in interpolations | ||
rewrite.redundantBraces.maxLines = -1 // remove braces only in interpolations | ||
rewrite.redundantBraces.generalExpressions = false // remove braces only in interpolations | ||
rewrite.redundantBraces.includeUnitMethods = false | ||
rewrite.redundantBraces.stringInterpolation = true | ||
rewrite.redundantBraces.parensForOneLineApply = true | ||
rewrite.trailingCommas.style = multiple |
19 changes: 0 additions & 19 deletions
19
...-v1-runtime-rpc-http4s/src/main/scala-2/izumi/idealingua/runtime/rpc/http4s/package.scala
This file was deleted.
Oops, something went wrong.
31 changes: 0 additions & 31 deletions
31
...-v1-runtime-rpc-http4s/src/main/scala-3/izumi/idealingua/runtime/rpc/http4s/package.scala
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
88 changes: 0 additions & 88 deletions
88
...runtime-rpc-http4s/src/main/scala/izumi/idealingua/runtime/rpc/http4s/Http4sContext.scala
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.