Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

AVSystem commons library for Scala

License

NotificationsYou must be signed in to change notification settings

CapeSepias/scala-commons

 
 

Repository files navigation

Build StatusMaven Central

API reference

NOTE This library is available to the public but it's mostly used internally at AVSystem. Therefore, API may frequently change in an incompatible way.

Modules and features

  • commons-core - basic language utilities and generic features not associated with any particular library of framework:
    • GenCodec: format-agnostic, typeclass based serialization framework with automatic typeclassderivation for case classes and sealed hierarchies
      • built-in serialization formats include JSON (raw string),CBOR and BSON (incommons-mongo).
    • Typesafe RPC/proxy framework used in particular byUdash Framework forclient-server communication
    • Better enumeration support for Scala -ValueEnum,SealedEnumCompanion,NamedEnumCompanion,OrderedEnum
    • Java interoperability utilities -JavaInterop
    • Google Guava interoperability utilities (dependency on Guava is optional)
    • Various Scala language-level utilities
    • Lightweight alternatives for ScalaOption -Opt - guarantees nonulls,OptArg,NOpt,OptRef (implemented as value classes)
  • commons-redis -Scala driver for Redis
  • commons-akka - Akka utilities, primarilyAkkaRPCFrameworkwhich supports methods returning MonixObservables
  • commons-macros contains implementations of macros used in other modules and reusable macro utilities:
    • MacroCommons trait with several convenience functions for implementing macros
    • TypeClassDerivation - implements infrastructure for automatic type class derivation
  • commons-analyzer - static analyzer for Scala code, i.e. a compiler plugin that enforces various (mostly unrelated) rules and conventions on source code
  • commons-jetty - Jetty server utilities
  • commons-mongo - MongoDB utilities for Scala & Java MongoDB drivers, integration withGenCodec
  • commons-hocon - Utilities for working withHOCON
    • HoconInput - anInput implementation forGenCodec that can read Lightbend Config (com.typesafe.config.Config)
    • An AST (HTree) and a lexer/parser for HOCON (HLexer,HParser)
  • commons-spring - Spring framework utilities:
    • HoconBeanDefinitionReader - an utility that allows you to define Spring application context usingHOCON format

Development

  • Introduce your changes
  • Write some unit tests
  • Bump the version number inversion.sbt file
  • Submit a pull request

Test on local environment

  • Publish the artifact locally
    • Usesbt publishLocal for projects managed by Ivy (e.g. SBT projects)
    • Orsbt publishM2 for projects managed by maven
  • Update avsystem-commons dependency version in your project and refreshyour project dependencies

About

AVSystem commons library for Scala

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Scala100.0%

[8]ページ先頭

©2009-2025 Movatter.jp