giiita / refuel

Lightweight dependency injection engine and DI-driven tools.

Version Matrix


CircleCI Gitter chat Maven Central

Latest version of macro Latest version of container Latest version of util Latest version of json Latest version of http Latest version of auth Latest version of cipher Latest version of cipher

Refuel is a simple and lightweight DI framework
Provides DI, utility, JSON parser, HTTPClient, etc. suitable for layered architecture.
You can replace second or third party injections from anywhere and easily handle multi-project configuration dependencies.


DI container provides powerful injection with macro.
Just by Mixining a specific trait, it will be loaded automatically into DI container.
It is also possible to easily change dependencies from test cases or allow access only from arbitrary scopes.


Rich type class interfaces.
Provides extended functions such as date and time, period, and collection.


You can handle JSON most easily with macro. Even without warming up, the conversion works fast and requires little declaration of serialize / deserialize codecs.


Http server client with Akka-HTTP.
In future, we plan to implement test stub control by dependency injection..


Can use a SAML service provider that supports akka http.
At this time, there is no Identity provider feature available.


The wrapper library that supports the interconversion of RSA / AES encryption methods.


Supports building an OAuth authorization server for Akka HTTP.

All authorization endpoints, token endpoints, and other grant flows are compliant with the OAuth 2.0 / 2.1 specification, and can be implemented mostly by implementing the prepared IF without having to think too much about the flow.